#B31E62#B31E62
#B31E62 is a mid, vivid pink. Relative luminance 0.114; OKLCH L 51.0% C 0.188 H 359.7°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).
Color values
| HEX | #B31E62 |
|---|---|
| RGB | rgb(179, 30, 98) |
| HSL | hsl(333, 71%, 41%) |
| HSV | hsv(333, 83%, 70%) |
| CMYK | cmyk(0%, 83.2%, 45.3%, 29.8%) |
| CIE-LAB | lab(40.24, 61.10, -0.58) |
| CIE-LCH | lch(40.24, 61.10, 359.46°) |
| OKLab | oklab(50.96% 0.188 -0.0008) |
| OKLCH | oklch(50.96% 0.188 359.7) |
| XYZ | xyz(21.2610, 11.3970, 12.6332) |
| Luminance | 0.1139 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 4.22
Deep Pink
#CB0162
ΔE00 4.60
Magenta (survey)
#C20078
ΔE00 5.13
Deep Magenta
#A0025C
ΔE00 5.29
Purplish Red
#B0054B
ΔE00 5.47
Dark Fuchsia
#9D0759
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B31E62 #1EB36F
analogous
#B31EAC #B31E62 #B3241E
triadic
#B31E62 #62B31E #1E62B3
tetradic
#B31E62 #ACB31E #1EB36F #241EB3
square
#B31E62 #ACB31E #1EB36F #241EB3
split-complementary
#B31E62 #1EB324 #1EACB3
monochromatic
#4A0C29 #7F1545 #B31E62 #DD3280 #E566A0
Accessibility & contrast
On white
6.40
#B31E62 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#B31E62 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B31E62
6.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B31E62 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B31E62 | 1.00 | 6.40 | 3.28 | 6.40 |
| #FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#444D64
Deuteranopia (green-blind)
#6C695F
Tritanopia (blue-blind)
#C3003E
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #b31e62; /* rgb */ color: rgb(179, 30, 98); /* oklch */ color: oklch(51.0% 0.188 359.7);
Tailwind
colors: {
custom: {
50: '#d06c8e',
500: '#b31e62',
950: '#000000',
},
}SCSS
$custom: #b31e62; $custom-light: #d06c8e; $custom-dark: #000000;
JSON
{
"hex": "#b31e62",
"rgb": {
"r": 179,
"g": 30,
"b": 98
},
"hsl": {
"h": 332.617,
"s": 71.292,
"l": 40.98
},
"oklch": {
"l": 0.50956,
"c": 0.18802,
"h": 359.7
},
"luminance": 0.11394
}Semantic roles & 50–950 ramp
primary
#B31E62
secondary
#62CB9B
accent
#EE9C3A
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15080C
muted
#837B7D