#CE02B2

#ce02b2 ≈ Medium Violet Red

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

#ce02b2 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 69.8% blue; printed in CMYK it uses 0% cyan, 99.03% magenta, 13.59% yellow and 19.22% black. Its hue angle is 308.24°, 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.91:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 8.06.

Description generated from the measured properties of this color.

Conversions of #ce02b2 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.1638

Readable text 4.91:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.28:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #717171 ≈ 0.003% of males
Achromatomaly #9f588f ≈ 0.001% of males
Protanopia #0b5fb6 ≈ 1.01% of males
Deuteranopia #637aae ≈ 1.27% of males
Tritanopia #d92468 ≈ 0.0001% of males
Protanomaly #894bb4 ≈ 1.08% of males
Deuteranomaly #9a60b0 ≈ 4.63% of males
Tritanomaly #d51b8c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Violet Red
#ce02b2  rgb(206, 2, 178)  hsl(308, 98%, 41%)  Medium Violet Red
#02ce1e  rgb(2, 206, 30)  hsl(128, 98%, 41%)  Lime Green
#b2ce02  rgb(178, 206, 2)  hsl(68, 98%, 41%)  Pear
#02b2ce  rgb(2, 178, 206)  hsl(188, 98%, 41%)  Moonstone Blue