#CD03A3

#cd03a3 ≈ Medium Violet Red

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

#cd03a3 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 80.39% red, 1.18% green and 63.92% blue; printed in CMYK it uses 0% cyan, 98.54% magenta, 20.49% yellow and 19.61% black. Its hue angle is 312.48°, with 97.12% saturation and 40.78% 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.08:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 5.56.

Description generated from the measured properties of this color.

Conversions of #cd03a3 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.1569

Readable text 5.08:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.14:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6e6e6e ≈ 0.003% of males
Achromatomaly #9d5787 ≈ 0.001% of males
Protanopia #255ca6 ≈ 1.01% of males
Deuteranopia #69789f ≈ 1.27% of males
Tritanopia #da145f ≈ 0.0001% of males
Protanomaly #8a48a5 ≈ 1.08% of males
Deuteranomaly #9b5fa1 ≈ 4.63% of males
Tritanomaly #d50f80 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Violet Red
#cd03a3  rgb(205, 3, 163)  hsl(312, 97%, 41%)  Medium Violet Red
#03cd2d  rgb(3, 205, 45)  hsl(132, 97%, 41%)  Lime Green
#a3cd03  rgb(163, 205, 3)  hsl(72, 97%, 41%)  Yellow Green
#03a3cd  rgb(3, 163, 205)  hsl(192, 97%, 41%)  Bondi Blue