#CB048E

#cb048e ≈ Medium Violet Red

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

#cb048e is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 79.61% red, 1.57% green and 55.69% blue; printed in CMYK it uses 0% cyan, 98.03% magenta, 30.05% yellow and 20.39% black. Its hue angle is 318.39°, with 96.14% saturation and 40.59% 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.32:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 1.82.

Description generated from the measured properties of this color.

Conversions of #cb048e 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.1474

Readable text 5.32:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.95:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6b6b6b ≈ 0.003% of males
Achromatomaly #9b547b ≈ 0.001% of males
Protanopia #365791 ≈ 1.01% of males
Deuteranopia #6f768a ≈ 1.27% of males
Tritanopia #da0053 ≈ 0.0001% of males
Protanomaly #8c4490 ≈ 1.08% of males
Deuteranomaly #9c5d8c ≈ 4.63% of males
Tritanomaly #d4006f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cb048e {
  color: #cb048e;
}
Background
.bg-cb048e {
  background-color: #cb048e;
  color: #ffffff;
}
Border
.border-cb048e {
  border: 2px solid #cb048e;
}
CSS variables
:root {
  --color-primary: #cb048e;
  --color-primary-rgb: 203 4 142;
  --color-primary-hsl: 318 96% 41%;
}
Gradient
.gradient-cb048e {
  background: linear-gradient(135deg, #cb048e, #cb042b);
}
Colored shadow
.shadow-cb048e {
  box-shadow: 0 8px 24px rgb(203 4 142 / 0.35);
}

Medium Violet Red
#cb048e  rgb(203, 4, 142)  hsl(318, 96%, 41%)  Medium Violet Red
#04cb41  rgb(4, 203, 65)  hsl(138, 96%, 41%)  Lime Green
#8ecb04  rgb(142, 203, 4)  hsl(78, 96%, 41%)  Yellow Green
#048ecb  rgb(4, 142, 203)  hsl(198, 96%, 41%)  Steel Blue