#B31546#B31546
#B31546 is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.7% C 0.188 H 11.6°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).
Color values
| HEX | #B31546 |
|---|---|
| RGB | rgb(179, 21, 70) |
| HSL | hsl(341, 79%, 39%) |
| HSV | hsv(341, 88%, 70%) |
| CMYK | cmyk(0%, 88.3%, 60.9%, 29.8%) |
| CIE-LAB | lab(38.84, 60.85, 15.27) |
| CIE-LCH | lch(38.84, 62.74, 14.09°) |
| OKLab | oklab(49.69% 0.1839 0.0377) |
| OKLCH | oklch(49.69% 0.188 11.6) |
| XYZ | xyz(19.9662, 10.5653, 6.7812) |
| Luminance | 0.1056 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Raspberry (survey)
#B00149
ΔE00 2.51
Purplish Red
#B0054B
ΔE00 2.81
Rouge
#AB1239
ΔE00 3.43
Rose Red
#BE013C
ΔE00 3.92
Ruby
#CA0147
ΔE00 4.50
Cranberry
#9E003A
ΔE00 4.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B31546 #15B382
analogous
#B31595 #B31546 #B33315
triadic
#B31546 #46B315 #1546B3
tetradic
#B31546 #95B315 #15B382 #3315B3
square
#B31546 #95B315 #15B382 #3315B3
split-complementary
#B31546 #15B333 #1595B3
monochromatic
#45081B #7C0F31 #B31546 #E5205D #EB5785
Accessibility & contrast
On white
6.75
#B31546 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#B31546 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B31546
6.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B31546 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B31546 | 1.00 | 6.75 | 3.11 | 6.75 |
| #FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#484747
Deuteranopia (green-blind)
#6F6642
Tritanopia (blue-blind)
#C4002D
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #b31546; /* rgb */ color: rgb(179, 21, 70); /* oklch */ color: oklch(49.7% 0.188 11.6);
Tailwind
colors: {
custom: {
50: '#d16979',
500: '#b31546',
950: '#000000',
},
}SCSS
$custom: #b31546; $custom-light: #d16979; $custom-dark: #000000;
JSON
{
"hex": "#b31546",
"rgb": {
"r": 179,
"g": 21,
"b": 70
},
"hsl": {
"h": 341.392,
"s": 79,
"l": 39.216
},
"oklch": {
"l": 0.49687,
"c": 0.18775,
"h": 11.6
},
"luminance": 0.10562
}Semantic roles & 50–950 ramp
primary
#B31546
secondary
#56CEA9
accent
#F5B932
background
#FDF6F7
surface
#FBECED
border
#D4C7C8
text
#150709
muted
#837A7B