#CF0EA2

#cf0ea2 ≈ Medium Violet Red

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

#cf0ea2 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 81.18% red, 5.49% green and 63.53% blue; printed in CMYK it uses 0% cyan, 93.24% magenta, 21.74% yellow and 18.82% black. Its hue angle is 313.99°, with 87.33% saturation and 43.33% 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 4.96:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 5.31.

Description generated from the measured properties of this color.

Conversions of #cf0ea2 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.1619

Readable text 4.96:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.24:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #707070 ≈ 0.003% of males
Achromatomaly #9f5987 ≈ 0.001% of males
Protanopia #2c5ea5 ≈ 1.01% of males
Deuteranopia #6c7a9e ≈ 1.27% of males
Tritanopia #dc1760 ≈ 0.0001% of males
Protanomaly #8d4aa4 ≈ 1.08% of males
Deuteranomaly #9e61a0 ≈ 4.63% of males
Tritanomaly #d7147f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cf0ea2 {
  color: #cf0ea2;
}
Background
.bg-cf0ea2 {
  background-color: #cf0ea2;
  color: #ffffff;
}
Border
.border-cf0ea2 {
  border: 2px solid #cf0ea2;
}
CSS variables
:root {
  --color-primary: #cf0ea2;
  --color-primary-rgb: 207 14 162;
  --color-primary-hsl: 314 87% 43%;
}
Gradient
.gradient-cf0ea2 {
  background: linear-gradient(135deg, #cf0ea2, #cf0e41);
}
Colored shadow
.shadow-cf0ea2 {
  box-shadow: 0 8px 24px rgb(207 14 162 / 0.35);
}

Medium Violet Red
#cf0ea2  rgb(207, 14, 162)  hsl(314, 87%, 43%)  Medium Violet Red
#0ecf3b  rgb(14, 207, 59)  hsl(134, 87%, 43%)  Lime Green
#a2cf0e  rgb(162, 207, 14)  hsl(74, 87%, 43%)  Yellow Green
#0ea2cf  rgb(14, 162, 207)  hsl(194, 87%, 43%)  Bondi Blue