#CF00A4

#cf00a4 ≈ Medium Violet Red

  • magenta
  • Lightness: medium
  • Saturation: vivid
  • Balanced

#cf00a4 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 81.18% red, 0% green and 64.31% blue; printed in CMYK it uses 0% cyan, 100% magenta, 20.77% yellow and 18.82% black. Its hue angle is 312.46°, with 100% saturation and 40.59% 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.01:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 5.67.

Description generated from the measured properties of this color.

Conversions of #cf00a4 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.1595

Readable text 5.01:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.19:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6f6f6f ≈ 0.003% of males
Achromatomaly #9f5787 ≈ 0.001% of males
Protanopia #265da7 ≈ 1.01% of males
Deuteranopia #6a79a0 ≈ 1.27% of males
Tritanopia #dc1260 ≈ 0.0001% of males
Protanomaly #8c48a6 ≈ 1.08% of males
Deuteranomaly #9d5fa2 ≈ 4.63% of males
Tritanomaly #d70c81 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Violet Red
#cf00a4  rgb(207, 0, 164)  hsl(312, 100%, 41%)  Medium Violet Red
#00cf2b  rgb(0, 207, 43)  hsl(132, 100%, 41%)  Lime Green
#a4cf00  rgb(164, 207, 0)  hsl(72, 100%, 41%)  Yellow Green
#00a4cf  rgb(0, 164, 207)  hsl(192, 100%, 41%)  Bondi Blue