#CF239E

#cf239e ≈ Medium Violet Red

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

#cf239e is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 81.18% red, 13.73% green and 61.96% blue; printed in CMYK it uses 0% cyan, 83.09% magenta, 23.67% yellow and 18.82% black. Its hue angle is 317.09°, with 71.07% saturation and 47.45% 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 brand accents. White text on this color reaches a contrast ratio of 4.79:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 4.83.

Description generated from the measured properties of this color.

Conversions of #cf239e into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#cc3399
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.1694

Readable text 4.79:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.39:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #727272 ≈ 0.003% of males
Achromatomaly #a05d86 ≈ 0.001% of males
Protanopia #3a61a1 ≈ 1.01% of males
Deuteranopia #717c9a ≈ 1.27% of males
Tritanopia #dd2361 ≈ 0.0001% of males
Protanomaly #8f4fa0 ≈ 1.08% of males
Deuteranomaly #9f649c ≈ 4.63% of males
Tritanomaly #d7237e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cf239e {
  color: #cf239e;
}
Background
.bg-cf239e {
  background-color: #cf239e;
  color: #ffffff;
}
Border
.border-cf239e {
  border: 2px solid #cf239e;
}
CSS variables
:root {
  --color-primary: #cf239e;
  --color-primary-rgb: 207 35 158;
  --color-primary-hsl: 317 71% 47%;
}
Gradient
.gradient-cf239e {
  background: linear-gradient(135deg, #cf239e, #cf2348);
}
Colored shadow
.shadow-cf239e {
  box-shadow: 0 8px 24px rgb(207 35 158 / 0.35);
}

Medium Violet Red
#cf239e  rgb(207, 35, 158)  hsl(317, 71%, 47%)  Medium Violet Red
#23cf54  rgb(35, 207, 84)  hsl(137, 71%, 47%)  Malachite
#9ecf23  rgb(158, 207, 35)  hsl(77, 71%, 47%)  Yellow Green
#239ecf  rgb(35, 158, 207)  hsl(197, 71%, 47%)  Carolina Blue