#B31652#B31652
#B31652 is a mid, vivid pink. Relative luminance 0.108; OKLCH L 50.0% C 0.189 H 6.3°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).
Color values
| HEX | #B31652 |
|---|---|
| RGB | rgb(179, 22, 82) |
| HSL | hsl(337, 78%, 39%) |
| HSV | hsv(337, 88%, 70%) |
| CMYK | cmyk(0%, 87.7%, 54.2%, 29.8%) |
| CIE-LAB | lab(39.19, 61.49, 8.08) |
| CIE-LCH | lch(39.19, 62.02, 7.49°) |
| OKLab | oklab(50.04% 0.1879 0.0208) |
| OKLCH | oklch(50.04% 0.189 6.3) |
| XYZ | xyz(20.4023, 10.7698, 8.9855) |
| Luminance | 0.1077 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 1.71
Raspberry (survey)
#B00149
ΔE00 2.14
Violet Red
#A50055
ΔE00 4.90
Deep Pink
#CB0162
ΔE00 4.95
Berry
#990F4B
ΔE00 5.66
Light Burgundy
#A8415B
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B31652 #16B377
analogous
#B316A1 #B31652 #B32916
triadic
#B31652 #52B316 #1652B3
tetradic
#B31652 #A1B316 #16B377 #2916B3
square
#B31652 #A1B316 #16B377 #2916B3
split-complementary
#B31652 #16B329 #16A1B3
monochromatic
#460920 #7C0F39 #B31652 #E4226C #EB5991
Accessibility & contrast
On white
6.66
#B31652 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.15
#B31652 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B31652
6.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B31652 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B31652 | 1.00 | 6.66 | 3.15 | 6.66 |
| #FFFFFF | 6.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#454953
Deuteranopia (green-blind)
#6D674E
Tritanopia (blue-blind)
#C40033
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #b31652; /* rgb */ color: rgb(179, 22, 82); /* oklch */ color: oklch(50.0% 0.189 6.3);
Tailwind
colors: {
custom: {
50: '#d16a82',
500: '#b31652',
950: '#000000',
},
}SCSS
$custom: #b31652; $custom-light: #d16a82; $custom-dark: #000000;
JSON
{
"hex": "#b31652",
"rgb": {
"r": 179,
"g": 22,
"b": 82
},
"hsl": {
"h": 337.07,
"s": 78.109,
"l": 39.412
},
"oklch": {
"l": 0.50038,
"c": 0.18908,
"h": 6.3
},
"luminance": 0.10767
}Semantic roles & 50–950 ramp
primary
#B31652
secondary
#57CEA0
accent
#F5AB33
background
#FDF6F7
surface
#FBECEE
border
#D4C7C9
text
#15080A
muted
#837A7C