#D31B4E

#d31b4e ≈ Raspberry

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

#d31b4e 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.59% green and 30.59% blue; printed in CMYK it uses 0% cyan, 87.2% magenta, 63.03% yellow and 17.25% black. Its hue angle is 343.37°, with 77.31% saturation and 46.67% 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.2:1 (WCAG AA). The closest named color is Raspberry (#e30b5c), ΔE 4.05.

Description generated from the measured properties of this color.

Conversions of #d31b4e 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.1518

Readable text 5.2:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.04:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6d6d6d ≈ 0.003% of males
Achromatomaly #a05762 ≈ 0.001% of males
Protanopia #57554e ≈ 1.01% of males
Deuteranopia #847a49 ≈ 1.27% of males
Tritanopia #e80034 ≈ 0.0001% of males
Protanomaly #99454e ≈ 1.08% of males
Deuteranomaly #aa614b ≈ 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-d31b4e {
  color: #d31b4e;
}
Background
.bg-d31b4e {
  background-color: #d31b4e;
  color: #ffffff;
}
Border
.border-d31b4e {
  border: 2px solid #d31b4e;
}
CSS variables
:root {
  --color-primary: #d31b4e;
  --color-primary-rgb: 211 27 78;
  --color-primary-hsl: 343 77% 47%;
}
Gradient
.gradient-d31b4e {
  background: linear-gradient(135deg, #d31b4e, #d3441b);
}
Colored shadow
.shadow-d31b4e {
  box-shadow: 0 8px 24px rgb(211 27 78 / 0.35);
}

Raspberry
#d31b4e  rgb(211, 27, 78)  hsl(343, 77%, 47%)  Raspberry
#1bd3a0  rgb(27, 211, 160)  hsl(163, 77%, 47%)  Caribbean Green
#4ed31b  rgb(78, 211, 27)  hsl(103, 77%, 47%)  Lime Green
#1b4ed3  rgb(27, 78, 211)  hsl(223, 77%, 47%)  Sapphire