#CF059F

#cf059f ≈ Medium Violet Red

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

#cf059f is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 81.18% red, 1.96% green and 62.35% blue; printed in CMYK it uses 0% cyan, 97.58% magenta, 23.19% yellow and 18.82% black. Its hue angle is 314.26°, with 95.28% saturation and 41.57% 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 5.03:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 4.79.

Description generated from the measured properties of this color.

Conversions of #cf059f 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.1588

Readable text 5.03:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.18:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6f6f6f ≈ 0.003% of males
Achromatomaly #9f5785 ≈ 0.001% of males
Protanopia #2c5ca2 ≈ 1.01% of males
Deuteranopia #6d799b ≈ 1.27% of males
Tritanopia #dd0c5d ≈ 0.0001% of males
Protanomaly #8d48a1 ≈ 1.08% of males
Deuteranomaly #9e609d ≈ 4.63% of males
Tritanomaly #d7097d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cf059f {
  color: #cf059f;
}
Background
.bg-cf059f {
  background-color: #cf059f;
  color: #ffffff;
}
Border
.border-cf059f {
  border: 2px solid #cf059f;
}
CSS variables
:root {
  --color-primary: #cf059f;
  --color-primary-rgb: 207 5 159;
  --color-primary-hsl: 314 95% 42%;
}
Gradient
.gradient-cf059f {
  background: linear-gradient(135deg, #cf059f, #cf053a);
}
Colored shadow
.shadow-cf059f {
  box-shadow: 0 8px 24px rgb(207 5 159 / 0.35);
}

Medium Violet Red
#cf059f  rgb(207, 5, 159)  hsl(314, 95%, 42%)  Medium Violet Red
#05cf35  rgb(5, 207, 53)  hsl(134, 95%, 42%)  Lime Green
#9fcf05  rgb(159, 207, 5)  hsl(74, 95%, 42%)  Yellow Green
#059fcf  rgb(5, 159, 207)  hsl(194, 95%, 42%)  Bondi Blue