#DB158A

#db158a ≈ Medium Violet Red

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

#db158a is a color from the rose family, with medium lightness and vivid saturation. In the RGB model it is made of 85.88% red, 8.24% green and 54.12% blue; printed in CMYK it uses 0% cyan, 90.41% magenta, 36.99% yellow and 14.12% black. Its hue angle is 324.55°, with 82.5% saturation and 47.06% 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.68:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 4.36.

Description generated from the measured properties of this color.

Conversions of #db158a 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.1743

Readable text 4.68:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.49:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #747474 ≈ 0.003% of males
Achromatomaly #a75c7d ≈ 0.001% of males
Protanopia #475e8c ≈ 1.01% of males
Deuteranopia #7e8086 ≈ 1.27% of males
Tritanopia #ed0053 ≈ 0.0001% of males
Protanomaly #9a4b8c ≈ 1.08% of males
Deuteranomaly #ab6688 ≈ 4.63% of males
Tritanomaly #e6006d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Violet Red
#db158a  rgb(219, 21, 138)  hsl(325, 83%, 47%)  Medium Violet Red
#15db66  rgb(21, 219, 102)  hsl(145, 83%, 47%)  Malachite
#8adb15  rgb(138, 219, 21)  hsl(85, 83%, 47%)  Yellow Green
#158adb  rgb(21, 138, 219)  hsl(205, 83%, 47%)  Bleu de France