#B31B63#B31B63
#B31B63 is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.8% C 0.191 H 359.0°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).
Color values
| HEX | #B31B63 |
|---|---|
| RGB | rgb(179, 27, 99) |
| HSL | hsl(332, 74%, 40%) |
| HSV | hsv(332, 85%, 70%) |
| CMYK | cmyk(0%, 84.9%, 44.7%, 29.8%) |
| CIE-LAB | lab(40.03, 61.88, -1.52) |
| CIE-LCH | lch(40.03, 61.89, 358.60°) |
| OKLab | oklab(50.81% 0.1906 -0.0032) |
| OKLCH | oklch(50.81% 0.191 359) |
| XYZ | xyz(21.2362, 11.2713, 12.8593) |
| Luminance | 0.1127 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 4.09
Magenta (survey)
#C20078
ΔE00 4.80
Deep Pink
#CB0162
ΔE00 4.85
Deep Magenta
#A0025C
ΔE00 4.97
Dark Fuchsia
#9D0759
ΔE00 5.27
Purplish Red
#B0054B
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B31B63 #1BB36B
analogous
#B31BAF #B31B63 #B31F1B
triadic
#B31B63 #63B31B #1B63B3
tetradic
#B31B63 #AFB31B #1BB36B #1F1BB3
square
#B31B63 #AFB31B #1BB36B #1F1BB3
split-complementary
#B31B63 #1BB31F #1BAFB3
monochromatic
#490B28 #7E1346 #B31B63 #DF2C81 #E761A1
Accessibility & contrast
On white
6.45
#B31B63 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.25
#B31B63 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B31B63
6.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B31B63 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B31B63 | 1.00 | 6.45 | 3.25 | 6.45 |
| #FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#424C65
Deuteranopia (green-blind)
#6B6860
Tritanopia (blue-blind)
#C3003E
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #b31b63; /* rgb */ color: rgb(179, 27, 99); /* oklch */ color: oklch(50.8% 0.191 359.0);
Tailwind
colors: {
custom: {
50: '#d06c8f',
500: '#b31b63',
950: '#000000',
},
}SCSS
$custom: #b31b63; $custom-light: #d06c8f; $custom-dark: #000000;
JSON
{
"hex": "#b31b63",
"rgb": {
"r": 179,
"g": 27,
"b": 99
},
"hsl": {
"h": 331.579,
"s": 73.786,
"l": 40.392
},
"oklch": {
"l": 0.50814,
"c": 0.19058,
"h": 359
},
"luminance": 0.11268
}Semantic roles & 50–950 ramp
primary
#B31B63
secondary
#5ECC98
accent
#F09937
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15080C
muted
#837B7D