#CB0F99

#cb0f99 ≈ Medium Violet Red

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

#cb0f99 is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 79.61% red, 5.88% green and 60% blue; printed in CMYK it uses 0% cyan, 92.61% magenta, 24.63% yellow and 20.39% black. Its hue angle is 315.96°, with 86.24% saturation and 42.75% 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.16:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 3.79.

Description generated from the measured properties of this color.

Conversions of #cb0f99 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.1534

Readable text 5.16:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.07:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6d6d6d ≈ 0.003% of males
Achromatomaly #9c5681 ≈ 0.001% of males
Protanopia #315b9c ≈ 1.01% of males
Deuteranopia #6c7795 ≈ 1.27% of males
Tritanopia #d90f5a ≈ 0.0001% of males
Protanomaly #8b489b ≈ 1.08% of males
Deuteranomaly #9b5f97 ≈ 4.63% of males
Tritanomaly #d30f78 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Violet Red
#cb0f99  rgb(203, 15, 153)  hsl(316, 86%, 43%)  Medium Violet Red
#0fcb41  rgb(15, 203, 65)  hsl(136, 86%, 43%)  Lime Green
#99cb0f  rgb(153, 203, 15)  hsl(76, 86%, 43%)  Yellow Green
#0f99cb  rgb(15, 153, 203)  hsl(196, 86%, 43%)  Bondi Blue