#B31948#B31948
#B31948 is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.9% C 0.186 H 11.1°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).
Color values
| HEX | #B31948 |
|---|---|
| RGB | rgb(179, 25, 72) |
| HSL | hsl(342, 75%, 40%) |
| HSV | hsv(342, 86%, 70%) |
| CMYK | cmyk(0%, 86%, 59.8%, 29.8%) |
| CIE-LAB | lab(39.16, 60.20, 14.42) |
| CIE-LCH | lch(39.16, 61.90, 13.47°) |
| OKLab | oklab(49.94% 0.1822 0.0358) |
| OKLCH | oklch(49.94% 0.186 11.1) |
| XYZ | xyz(20.1098, 10.7499, 7.1457) |
| Luminance | 0.1075 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Raspberry (survey)
#B00149
ΔE00 2.43
Purplish Red
#B0054B
ΔE00 2.66
Rouge
#AB1239
ΔE00 3.85
Rose Red
#BE013C
ΔE00 4.24
Ruby
#CA0147
ΔE00 4.54
Cranberry
#9E003A
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B31948 #19B384
analogous
#B31995 #B31948 #B33719
triadic
#B31948 #48B319 #1948B3
tetradic
#B31948 #95B319 #19B384 #3719B3
square
#B31948 #95B319 #19B384 #3719B3
split-complementary
#B31948 #19B337 #1995B3
monochromatic
#480A1D #7D1232 #B31948 #E12861 #E85E88
Accessibility & contrast
On white
6.67
#B31948 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.15
#B31948 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B31948
6.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B31948 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B31948 | 1.00 | 6.67 | 3.15 | 6.67 |
| #FFFFFF | 6.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#484849
Deuteranopia (green-blind)
#6F6744
Tritanopia (blue-blind)
#C4002F
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #b31948; /* rgb */ color: rgb(179, 25, 72); /* oklch */ color: oklch(49.9% 0.186 11.1);
Tailwind
colors: {
custom: {
50: '#d16a7a',
500: '#b31948',
950: '#000000',
},
}SCSS
$custom: #b31948; $custom-light: #d16a7a; $custom-dark: #000000;
JSON
{
"hex": "#b31948",
"rgb": {
"r": 179,
"g": 25,
"b": 72
},
"hsl": {
"h": 341.688,
"s": 75.49,
"l": 40
},
"oklch": {
"l": 0.49935,
"c": 0.18565,
"h": 11.1
},
"luminance": 0.10747
}Semantic roles & 50–950 ramp
primary
#B31948
secondary
#5BCCAA
accent
#F2B936
background
#FDF6F7
surface
#FBECED
border
#D4C7C8
text
#150809
muted
#837A7B