#B31A62#B31A62
#B31A62 is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.7% C 0.191 H 359.4°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).
Color values
| HEX | #B31A62 |
|---|---|
| RGB | rgb(179, 26, 98) |
| HSL | hsl(332, 75%, 40%) |
| HSV | hsv(332, 85%, 70%) |
| CMYK | cmyk(0%, 85.5%, 45.3%, 29.8%) |
| CIE-LAB | lab(39.93, 62.00, -1.04) |
| CIE-LCH | lch(39.93, 62.01, 359.04°) |
| OKLab | oklab(50.73% 0.1909 -0.002) |
| OKLCH | oklch(50.73% 0.191 359.4) |
| XYZ | xyz(21.1662, 11.2073, 12.6016) |
| Luminance | 0.1120 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 3.97
Deep Pink
#CB0162
ΔE00 4.78
Deep Magenta
#A0025C
ΔE00 4.97
Magenta (survey)
#C20078
ΔE00 4.99
Dark Fuchsia
#9D0759
ΔE00 5.24
Purplish Red
#B0054B
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B31A62 #1AB36B
analogous
#B31AAE #B31A62 #B31F1A
triadic
#B31A62 #62B31A #1A62B3
tetradic
#B31A62 #AEB31A #1AB36B #1F1AB3
square
#B31A62 #AEB31A #1AB36B #1F1AB3
split-complementary
#B31A62 #1AB31F #1AAEB3
monochromatic
#480A27 #7E1245 #B31A62 #E02A80 #E860A0
Accessibility & contrast
On white
6.48
#B31A62 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#B31A62 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B31A62
6.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B31A62 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B31A62 | 1.00 | 6.48 | 3.24 | 6.48 |
| #FFFFFF | 6.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#424C64
Deuteranopia (green-blind)
#6B685F
Tritanopia (blue-blind)
#C3003D
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #b31a62; /* rgb */ color: rgb(179, 26, 98); /* oklch */ color: oklch(50.7% 0.191 359.4);
Tailwind
colors: {
custom: {
50: '#d06b8e',
500: '#b31a62',
950: '#000000',
},
}SCSS
$custom: #b31a62; $custom-light: #d06b8e; $custom-dark: #000000;
JSON
{
"hex": "#b31a62",
"rgb": {
"r": 179,
"g": 26,
"b": 98
},
"hsl": {
"h": 331.765,
"s": 74.634,
"l": 40.196
},
"oklch": {
"l": 0.50727,
"c": 0.19093,
"h": 359.4
},
"luminance": 0.11204
}Semantic roles & 50–950 ramp
primary
#B31A62
secondary
#5DCC98
accent
#F19937
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15080C
muted
#837B7D