#CD028F

#cd028f ≈ Medium Violet Red

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

#cd028f 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 56.08% blue; printed in CMYK it uses 0% cyan, 99.02% magenta, 30.24% yellow and 19.61% black. Its hue angle is 318.33°, 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.25:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 1.98.

Description generated from the measured properties of this color.

Conversions of #cd028f 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.1501

Readable text 5.25:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6c6c6c ≈ 0.003% of males
Achromatomaly #9c557c ≈ 0.001% of males
Protanopia #365892 ≈ 1.01% of males
Deuteranopia #70778b ≈ 1.27% of males
Tritanopia #dc0053 ≈ 0.0001% of males
Protanomaly #8d4591 ≈ 1.08% of males
Deuteranomaly #9e5e8d ≈ 4.63% of males
Tritanomaly #d60070 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Violet Red
#cd028f  rgb(205, 2, 143)  hsl(318, 98%, 41%)  Medium Violet Red
#02cd40  rgb(2, 205, 64)  hsl(138, 98%, 41%)  Lime Green
#8fcd02  rgb(143, 205, 2)  hsl(78, 98%, 41%)  Yellow Green
#028fcd  rgb(2, 143, 205)  hsl(198, 98%, 41%)  Steel Blue