#B31746#B31746
#B31746 is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.8% C 0.187 H 11.8°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).
Color values
| HEX | #B31746 |
|---|---|
| RGB | rgb(179, 23, 70) |
| HSL | hsl(342, 77%, 40%) |
| HSV | hsv(342, 87%, 70%) |
| CMYK | cmyk(0%, 87.2%, 60.9%, 29.8%) |
| CIE-LAB | lab(38.97, 60.48, 15.45) |
| CIE-LCH | lch(38.97, 62.42, 14.33°) |
| OKLab | oklab(49.78% 0.1827 0.0381) |
| OKLCH | oklch(49.78% 0.187 11.8) |
| XYZ | xyz(20.0044, 10.6418, 6.7939) |
| Luminance | 0.1064 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Raspberry (survey)
#B00149
ΔE00 2.69
Purplish Red
#B0054B
ΔE00 2.98
Rouge
#AB1239
ΔE00 3.38
Rose Red
#BE013C
ΔE00 3.81
Ruby
#CA0147
ΔE00 4.41
Cranberry
#9E003A
ΔE00 4.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B31746 #17B384
analogous
#B31794 #B31746 #B33617
triadic
#B31746 #46B317 #1746B3
tetradic
#B31746 #94B317 #17B384 #3617B3
square
#B31746 #94B317 #17B384 #3617B3
split-complementary
#B31746 #17B336 #1794B3
monochromatic
#47091C #7D1031 #B31746 #E3245E #EA5B86
Accessibility & contrast
On white
6.71
#B31746 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.13
#B31746 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B31746
6.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B31746 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B31746 | 1.00 | 6.71 | 3.13 | 6.71 |
| #FFFFFF | 6.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#484847
Deuteranopia (green-blind)
#6F6742
Tritanopia (blue-blind)
#C4002D
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #b31746; /* rgb */ color: rgb(179, 23, 70); /* oklch */ color: oklch(49.8% 0.187 11.8);
Tailwind
colors: {
custom: {
50: '#d16a79',
500: '#b31746',
950: '#000000',
},
}SCSS
$custom: #b31746; $custom-light: #d16a79; $custom-dark: #000000;
JSON
{
"hex": "#b31746",
"rgb": {
"r": 179,
"g": 23,
"b": 70
},
"hsl": {
"h": 341.923,
"s": 77.228,
"l": 39.608
},
"oklch": {
"l": 0.49784,
"c": 0.18662,
"h": 11.8
},
"luminance": 0.10639
}Semantic roles & 50–950 ramp
primary
#B31746
secondary
#58CDAA
accent
#F4BA34
background
#FDF6F7
surface
#FBECED
border
#D4C7C8
text
#150709
muted
#837A7B