#C400A4

#c400a4 ≈ Medium Violet Red

  • magenta
  • Lightness: low
  • Saturation: vivid
  • Balanced

#c400a4 is a color from the magenta family, with low lightness and vivid saturation. In the RGB model it is made of 76.86% red, 0% green and 64.31% blue; printed in CMYK it uses 0% cyan, 100% magenta, 16.33% yellow and 23.14% black. Its hue angle is 309.8°, with 100% saturation and 38.43% lightness in HSL. It sits between warm and cool, and is often associated with creativity, boldness and individuality. Designers typically use it for beauty and cosmetics, creative studios and call-to-action buttons. White text on this color reaches a contrast ratio of 5.41:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 6.48.

Description generated from the measured properties of this color.

Conversions of #c400a4 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#cc0099
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.1442

Readable text 5.41:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.88:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6a6a6a ≈ 0.003% of males
Achromatomaly #975385 ≈ 0.001% of males
Protanopia #1659a7 ≈ 1.01% of males
Deuteranopia #6073a0 ≈ 1.27% of males
Tritanopia #cf1c5f ≈ 0.0001% of males
Protanomaly #8345a6 ≈ 1.08% of males
Deuteranomaly #935aa2 ≈ 4.63% of males
Tritanomaly #cb1481 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-c400a4 {
  color: #c400a4;
}
Background
.bg-c400a4 {
  background-color: #c400a4;
  color: #ffffff;
}
Border
.border-c400a4 {
  border: 2px solid #c400a4;
}
CSS variables
:root {
  --color-primary: #c400a4;
  --color-primary-rgb: 196 0 164;
  --color-primary-hsl: 310 100% 38%;
}
Gradient
.gradient-c400a4 {
  background: linear-gradient(135deg, #c400a4, #c40042);
}
Colored shadow
.shadow-c400a4 {
  box-shadow: 0 8px 24px rgb(196 0 164 / 0.35);
}

Medium Violet Red
#c400a4  rgb(196, 0, 164)  hsl(310, 100%, 38%)  Medium Violet Red
#00c420  rgb(0, 196, 32)  hsl(130, 100%, 38%)  Lime Green
#a4c400  rgb(164, 196, 0)  hsl(70, 100%, 38%)  Yellow Green
#00a4c4  rgb(0, 164, 196)  hsl(190, 100%, 38%)  Bondi Blue