#C400A5

#c400a5 ≈ Medium Violet Red

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

#c400a5 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.71% blue; printed in CMYK it uses 0% cyan, 100% magenta, 15.82% yellow and 23.14% black. Its hue angle is 309.49°, 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.4:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 6.64.

Description generated from the measured properties of this color.

Conversions of #c400a5 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.1445

Readable text 5.4:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.89:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6a6a6a ≈ 0.003% of males
Achromatomaly #975386 ≈ 0.001% of males
Protanopia #1459a8 ≈ 1.01% of males
Deuteranopia #6073a1 ≈ 1.27% of males
Tritanopia #cf1d60 ≈ 0.0001% of males
Protanomaly #8245a7 ≈ 1.08% of males
Deuteranomaly #935ba3 ≈ 4.63% of males
Tritanomaly #cb1581 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Violet Red
#c400a5  rgb(196, 0, 165)  hsl(309, 100%, 38%)  Medium Violet Red
#00c41f  rgb(0, 196, 31)  hsl(129, 100%, 38%)  Lime Green
#a5c400  rgb(165, 196, 0)  hsl(69, 100%, 38%)  Yellow Green
#00a5c4  rgb(0, 165, 196)  hsl(189, 100%, 38%)  Bondi Blue