#CE02AA

#ce02aa ≈ Medium Violet Red

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

#ce02aa is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 80.78% red, 0.78% green and 66.67% blue; printed in CMYK it uses 0% cyan, 99.03% magenta, 17.48% yellow and 19.22% black. Its hue angle is 310.59°, with 98.08% saturation and 40.78% 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 6.73.

Description generated from the measured properties of this color.

Conversions of #ce02aa 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 #9e588b ≈ 0.001% of males
Protanopia #1d5ead ≈ 1.01% of males
Deuteranopia #6779a6 ≈ 1.27% of males
Tritanopia #da1c63 ≈ 0.0001% of males
Protanomaly #8a49ac ≈ 1.08% of males
Deuteranomaly #9b5fa8 ≈ 4.63% of males
Tritanomaly #d51485 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ce02aa {
  color: #ce02aa;
}
Background
.bg-ce02aa {
  background-color: #ce02aa;
  color: #ffffff;
}
Border
.border-ce02aa {
  border: 2px solid #ce02aa;
}
CSS variables
:root {
  --color-primary: #ce02aa;
  --color-primary-rgb: 206 2 170;
  --color-primary-hsl: 311 98% 41%;
}
Gradient
.gradient-ce02aa {
  background: linear-gradient(135deg, #ce02aa, #ce0244);
}
Colored shadow
.shadow-ce02aa {
  box-shadow: 0 8px 24px rgb(206 2 170 / 0.35);
}

Medium Violet Red
#ce02aa  rgb(206, 2, 170)  hsl(311, 98%, 41%)  Medium Violet Red
#02ce26  rgb(2, 206, 38)  hsl(131, 98%, 41%)  Lime Green
#aace02  rgb(170, 206, 2)  hsl(71, 98%, 41%)  Yellow Green
#02aace  rgb(2, 170, 206)  hsl(191, 98%, 41%)  Bondi Blue