#C400A6

#c400a6 ≈ Medium Violet Red

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

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

Description generated from the measured properties of this color.

Conversions of #c400a6 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.1449

Readable text 5.39:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.9:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6a6a6a ≈ 0.003% of males
Achromatomaly #975386 ≈ 0.001% of males
Protanopia #1259a9 ≈ 1.01% of males
Deuteranopia #6073a2 ≈ 1.27% of males
Tritanopia #cf1e61 ≈ 0.0001% of males
Protanomaly #8246a8 ≈ 1.08% of males
Deuteranomaly #935ba4 ≈ 4.63% of males
Tritanomaly #cb1682 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Violet Red
#c400a6  rgb(196, 0, 166)  hsl(309, 100%, 38%)  Medium Violet Red
#00c41e  rgb(0, 196, 30)  hsl(129, 100%, 38%)  Lime Green
#a6c400  rgb(166, 196, 0)  hsl(69, 100%, 38%)  Yellow Green
#00a6c4  rgb(0, 166, 196)  hsl(189, 100%, 38%)  Bondi Blue