#CD028B

#cd028b ≈ Medium Violet Red

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

#cd028b is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 80.39% red, 0.78% green and 54.51% blue; printed in CMYK it uses 0% cyan, 99.02% magenta, 32.2% yellow and 19.61% black. Its hue angle is 319.51°, with 98.07% 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.28:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 1.34.

Description generated from the measured properties of this color.

Conversions of #cd028b 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.1489

Readable text 5.28:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.98:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6c6c6c ≈ 0.003% of males
Achromatomaly #9c5479 ≈ 0.001% of males
Protanopia #39578e ≈ 1.01% of males
Deuteranopia #717787 ≈ 1.27% of males
Tritanopia #dd0051 ≈ 0.0001% of males
Protanomaly #8e448d ≈ 1.08% of males
Deuteranomaly #9e5d89 ≈ 4.63% of males
Tritanomaly #d7006d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Violet Red
#cd028b  rgb(205, 2, 139)  hsl(320, 98%, 41%)  Medium Violet Red
#02cd44  rgb(2, 205, 68)  hsl(140, 98%, 41%)  Lime Green
#8bcd02  rgb(139, 205, 2)  hsl(80, 98%, 41%)  Yellow Green
#028bcd  rgb(2, 139, 205)  hsl(200, 98%, 41%)  Steel Blue