#CD159D

#cd159d ≈ Medium Violet Red

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

#cd159d is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 80.39% red, 8.24% green and 61.57% blue; printed in CMYK it uses 0% cyan, 89.76% magenta, 23.41% yellow and 19.61% black. Its hue angle is 315.65°, with 81.42% saturation and 44.31% 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.01:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 4.46.

Description generated from the measured properties of this color.

Conversions of #cd159d 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.1595

Readable text 5.01:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.19:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6f6f6f ≈ 0.003% of males
Achromatomaly #9e5884 ≈ 0.001% of males
Protanopia #325da0 ≈ 1.01% of males
Deuteranopia #6d7999 ≈ 1.27% of males
Tritanopia #db185d ≈ 0.0001% of males
Protanomaly #8c4a9f ≈ 1.08% of males
Deuteranomaly #9d609b ≈ 4.63% of males
Tritanomaly #d5177c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cd159d {
  color: #cd159d;
}
Background
.bg-cd159d {
  background-color: #cd159d;
  color: #ffffff;
}
Border
.border-cd159d {
  border: 2px solid #cd159d;
}
CSS variables
:root {
  --color-primary: #cd159d;
  --color-primary-rgb: 205 21 157;
  --color-primary-hsl: 316 81% 44%;
}
Gradient
.gradient-cd159d {
  background: linear-gradient(135deg, #cd159d, #cd1541);
}
Colored shadow
.shadow-cd159d {
  box-shadow: 0 8px 24px rgb(205 21 157 / 0.35);
}

Medium Violet Red
#cd159d  rgb(205, 21, 157)  hsl(316, 81%, 44%)  Medium Violet Red
#15cd45  rgb(21, 205, 69)  hsl(136, 81%, 44%)  Lime Green
#9dcd15  rgb(157, 205, 21)  hsl(76, 81%, 44%)  Yellow Green
#159dcd  rgb(21, 157, 205)  hsl(196, 81%, 44%)  Bondi Blue