#D31A4E

#d31a4e ≈ Raspberry

  • rose
  • Lightness: medium
  • Saturation: strong
  • Warm

#d31a4e is a color from the rose family, with medium lightness and strong saturation. In the RGB model it is made of 82.75% red, 10.2% green and 30.59% blue; printed in CMYK it uses 0% cyan, 87.68% magenta, 63.03% yellow and 17.25% black. Its hue angle is 343.14°, with 78.06% saturation and 46.47% lightness in HSL. It is a warm color, often associated with romance, playfulness and affection. Designers typically use it for food and restaurant brands, sales and promotions and brand accents. White text on this color reaches a contrast ratio of 5.21:1 (WCAG AA). The closest named color is Raspberry (#e30b5c), ΔE 4.04.

Description generated from the measured properties of this color.

Conversions of #d31a4e into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#cc3366
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.1514

Readable text 5.21:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.03:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6c6c6c ≈ 0.003% of males
Achromatomaly #a05762 ≈ 0.001% of males
Protanopia #57554e ≈ 1.01% of males
Deuteranopia #847a49 ≈ 1.27% of males
Tritanopia #e80033 ≈ 0.0001% of males
Protanomaly #99444e ≈ 1.08% of males
Deuteranomaly #a9614b ≈ 4.63% of males
Tritanomaly #e00040 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d31a4e {
  color: #d31a4e;
}
Background
.bg-d31a4e {
  background-color: #d31a4e;
  color: #ffffff;
}
Border
.border-d31a4e {
  border: 2px solid #d31a4e;
}
CSS variables
:root {
  --color-primary: #d31a4e;
  --color-primary-rgb: 211 26 78;
  --color-primary-hsl: 343 78% 46%;
}
Gradient
.gradient-d31a4e {
  background: linear-gradient(135deg, #d31a4e, #d3431a);
}
Colored shadow
.shadow-d31a4e {
  box-shadow: 0 8px 24px rgb(211 26 78 / 0.35);
}

Raspberry
#d31a4e  rgb(211, 26, 78)  hsl(343, 78%, 46%)  Raspberry
#1ad39f  rgb(26, 211, 159)  hsl(163, 78%, 46%)  Caribbean Green
#4ed31a  rgb(78, 211, 26)  hsl(103, 78%, 46%)  Lime Green
#1a4ed3  rgb(26, 78, 211)  hsl(223, 78%, 46%)  Sapphire