#B31F63#B31F63
#B31F63 is a mid, vivid pink. Relative luminance 0.115; OKLCH L 51.0% C 0.188 H 359.4°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).
Color values
| HEX | #B31F63 |
|---|---|
| RGB | rgb(179, 31, 99) |
| HSL | hsl(332, 70%, 41%) |
| HSV | hsv(332, 83%, 70%) |
| CMYK | cmyk(0%, 82.7%, 44.7%, 29.8%) |
| CIE-LAB | lab(40.36, 60.95, -1.04) |
| CIE-LCH | lch(40.36, 60.96, 359.02°) |
| OKLab | oklab(51.05% 0.1876 -0.002) |
| OKLCH | oklch(51.05% 0.188 359.4) |
| XYZ | xyz(21.3343, 11.4674, 12.8920) |
| Luminance | 0.1147 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 4.34
Deep Pink
#CB0162
ΔE00 4.66
Magenta (survey)
#C20078
ΔE00 4.95
Deep Magenta
#A0025C
ΔE00 5.30
Dark Fuchsia
#9D0759
ΔE00 5.56
Purplish Red
#B0054B
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B31F63 #1FB36F
analogous
#B31FAD #B31F63 #B3251F
triadic
#B31F63 #63B31F #1F63B3
tetradic
#B31F63 #ADB31F #1FB36F #251FB3
square
#B31F63 #ADB31F #1FB36F #251FB3
split-complementary
#B31F63 #1FB325 #1FADB3
monochromatic
#4B0D29 #7F1646 #B31F63 #DC3381 #E568A1
Accessibility & contrast
On white
6.38
#B31F63 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#B31F63 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B31F63
6.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B31F63 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B31F63 | 1.00 | 6.38 | 3.29 | 6.38 |
| #FFFFFF | 6.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#444D65
Deuteranopia (green-blind)
#6C6960
Tritanopia (blue-blind)
#C3003F
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #b31f63; /* rgb */ color: rgb(179, 31, 99); /* oklch */ color: oklch(51.0% 0.188 359.4);
Tailwind
colors: {
custom: {
50: '#d06d8f',
500: '#b31f63',
950: '#000000',
},
}SCSS
$custom: #b31f63; $custom-light: #d06d8f; $custom-dark: #000000;
JSON
{
"hex": "#b31f63",
"rgb": {
"r": 179,
"g": 31,
"b": 99
},
"hsl": {
"h": 332.432,
"s": 70.476,
"l": 41.176
},
"oklch": {
"l": 0.5105,
"c": 0.18757,
"h": 359.4
},
"luminance": 0.11465
}Semantic roles & 50–950 ramp
primary
#B31F63
secondary
#64CA9B
accent
#ED9B3B
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15080C
muted
#837B7D