#CE0FA2

#ce0fa2 ≈ Medium Violet Red

  • magenta
  • Lightness: medium
  • Saturation: strong
  • Balanced

#ce0fa2 is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 80.78% red, 5.88% green and 63.53% blue; printed in CMYK it uses 0% cyan, 92.72% magenta, 21.36% yellow and 19.22% black. Its hue angle is 313.82°, with 86.43% 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.98:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 5.33.

Description generated from the measured properties of this color.

Conversions of #ce0fa2 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.1607

Readable text 4.98:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.21:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #707070 ≈ 0.003% of males
Achromatomaly #9e5887 ≈ 0.001% of males
Protanopia #2c5da5 ≈ 1.01% of males
Deuteranopia #6b7a9e ≈ 1.27% of males
Tritanopia #db1860 ≈ 0.0001% of males
Protanomaly #8c4aa4 ≈ 1.08% of males
Deuteranomaly #9d60a0 ≈ 4.63% of males
Tritanomaly #d61580 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Violet Red
#ce0fa2  rgb(206, 15, 162)  hsl(314, 86%, 43%)  Medium Violet Red
#0fce3b  rgb(15, 206, 59)  hsl(134, 86%, 43%)  Lime Green
#a2ce0f  rgb(162, 206, 15)  hsl(74, 86%, 43%)  Yellow Green
#0fa2ce  rgb(15, 162, 206)  hsl(194, 86%, 43%)  Bondi Blue