#CD159B

#cd159b ≈ Medium Violet Red

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

#cd159b 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 60.78% blue; printed in CMYK it uses 0% cyan, 89.76% magenta, 24.39% yellow and 19.61% black. Its hue angle is 316.3°, 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.03:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 4.1.

Description generated from the measured properties of this color.

Conversions of #cd159b 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.1588

Readable text 5.03:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.18:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6f6f6f ≈ 0.003% of males
Achromatomaly #9d5883 ≈ 0.001% of males
Protanopia #335d9e ≈ 1.01% of males
Deuteranopia #6e7997 ≈ 1.27% of males
Tritanopia #db155c ≈ 0.0001% of males
Protanomaly #8d4a9d ≈ 1.08% of males
Deuteranomaly #9d6099 ≈ 4.63% of males
Tritanomaly #d5157a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Violet Red
#cd159b  rgb(205, 21, 155)  hsl(316, 81%, 44%)  Medium Violet Red
#15cd47  rgb(21, 205, 71)  hsl(136, 81%, 44%)  Lime Green
#9bcd15  rgb(155, 205, 21)  hsl(76, 81%, 44%)  Yellow Green
#159bcd  rgb(21, 155, 205)  hsl(196, 81%, 44%)  Carolina Blue