#B31A5E#B31A5E
#B31A5E is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.6% C 0.190 H 1.2°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).
Color values
| HEX | #B31A5E |
|---|---|
| RGB | rgb(179, 26, 94) |
| HSL | hsl(333, 75%, 40%) |
| HSV | hsv(333, 85%, 70%) |
| CMYK | cmyk(0%, 85.5%, 47.5%, 29.8%) |
| CIE-LAB | lab(39.80, 61.65, 1.32) |
| CIE-LCH | lch(39.80, 61.66, 1.22°) |
| OKLab | oklab(50.6% 0.1896 0.004) |
| OKLCH | oklch(50.6% 0.19 1.2) |
| XYZ | xyz(20.9820, 11.1336, 11.6317) |
| Luminance | 0.1113 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 3.85
Deep Pink
#CB0162
ΔE00 4.44
Purplish Red
#B0054B
ΔE00 4.53
Raspberry (survey)
#B00149
ΔE00 5.02
Deep Magenta
#A0025C
ΔE00 5.38
Dark Fuchsia
#9D0759
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B31A5E #1AB36F
analogous
#B31AAB #B31A5E #B3221A
triadic
#B31A5E #5EB31A #1A5EB3
tetradic
#B31A5E #ABB31A #1AB36F #221AB3
square
#B31A5E #ABB31A #1AB36F #221AB3
split-complementary
#B31A5E #1AB322 #1AABB3
monochromatic
#480A26 #7E1242 #B31A5E #E02A7B #E8609C
Accessibility & contrast
On white
6.51
#B31A5E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.23
#B31A5E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B31A5E
6.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B31A5E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B31A5E | 1.00 | 6.51 | 3.23 | 6.51 |
| #FFFFFF | 6.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#434B5F
Deuteranopia (green-blind)
#6C685B
Tritanopia (blue-blind)
#C3003B
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #b31a5e; /* rgb */ color: rgb(179, 26, 94); /* oklch */ color: oklch(50.6% 0.190 1.2);
Tailwind
colors: {
custom: {
50: '#d06b8b',
500: '#b31a5e',
950: '#000000',
},
}SCSS
$custom: #b31a5e; $custom-light: #d06b8b; $custom-dark: #000000;
JSON
{
"hex": "#b31a5e",
"rgb": {
"r": 179,
"g": 26,
"b": 94
},
"hsl": {
"h": 333.333,
"s": 74.634,
"l": 40.196
},
"oklch": {
"l": 0.50597,
"c": 0.18964,
"h": 1.2
},
"luminance": 0.11131
}Semantic roles & 50–950 ramp
primary
#B31A5E
secondary
#5DCC9B
accent
#F19E37
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15080C
muted
#837B7D