#DC158D

#dc158d ≈ Medium Violet Red

  • rose
  • Lightness: medium
  • Saturation: vivid
  • Balanced

#dc158d is a color from the rose family, with medium lightness and vivid saturation. In the RGB model it is made of 86.27% red, 8.24% green and 55.29% blue; printed in CMYK it uses 0% cyan, 90.45% magenta, 35.91% yellow and 13.73% black. Its hue angle is 323.82°, with 82.57% saturation and 47.25% lightness in HSL. It sits between warm and cool, and is often associated with romance, playfulness and affection. Designers typically use it for food and restaurant brands, sales and promotions and call-to-action buttons. White text on this color reaches a contrast ratio of 4.63:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 4.53.

Description generated from the measured properties of this color.

Conversions of #dc158d 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.1768

Readable text 4.63:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.54:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #757575 ≈ 0.003% of males
Achromatomaly #a85d7f ≈ 0.001% of males
Protanopia #475f90 ≈ 1.01% of males
Deuteranopia #7e8189 ≈ 1.27% of males
Tritanopia #ed0054 ≈ 0.0001% of males
Protanomaly #9a4c8f ≈ 1.08% of males
Deuteranomaly #ac668b ≈ 4.63% of males
Tritanomaly #e7006f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-dc158d {
  color: #dc158d;
}
Background
.bg-dc158d {
  background-color: #dc158d;
  color: #ffffff;
}
Border
.border-dc158d {
  border: 2px solid #dc158d;
}
CSS variables
:root {
  --color-primary: #dc158d;
  --color-primary-rgb: 220 21 141;
  --color-primary-hsl: 324 83% 47%;
}
Gradient
.gradient-dc158d {
  background: linear-gradient(135deg, #dc158d, #dc1529);
}
Colored shadow
.shadow-dc158d {
  box-shadow: 0 8px 24px rgb(220 21 141 / 0.35);
}

Medium Violet Red
#dc158d  rgb(220, 21, 141)  hsl(324, 83%, 47%)  Medium Violet Red
#15dc64  rgb(21, 220, 100)  hsl(144, 83%, 47%)  Malachite
#8ddc15  rgb(141, 220, 21)  hsl(84, 83%, 47%)  Yellow Green
#158ddc  rgb(21, 141, 220)  hsl(204, 83%, 47%)  Bleu de France