#B31462#B31462
#B31462 is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.4% C 0.195 H 359.0°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).
Color values
| HEX | #B31462 |
|---|---|
| RGB | rgb(179, 20, 98) |
| HSL | hsl(331, 80%, 39%) |
| HSV | hsv(331, 89%, 70%) |
| CMYK | cmyk(0%, 88.8%, 45.3%, 29.8%) |
| CIE-LAB | lab(39.53, 63.15, -1.63) |
| CIE-LCH | lch(39.53, 63.17, 358.53°) |
| OKLab | oklab(50.43% 0.1947 -0.0035) |
| OKLCH | oklch(50.43% 0.195 359) |
| XYZ | xyz(21.0469, 10.9688, 12.5618) |
| Luminance | 0.1097 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 3.70
Deep Magenta
#A0025C
ΔE00 4.58
Magenta (survey)
#C20078
ΔE00 4.85
Dark Fuchsia
#9D0759
ΔE00 4.90
Deep Pink
#CB0162
ΔE00 5.04
Purplish Red
#B0054B
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B31462 #14B365
analogous
#B314B2 #B31462 #B31614
triadic
#B31462 #62B314 #1462B3
tetradic
#B31462 #B2B314 #14B365 #1614B3
square
#B31462 #B2B314 #14B365 #1614B3
split-complementary
#B31462 #14B316 #14B2B3
monochromatic
#450826 #7C0E44 #B31462 #E61E80 #EC559F
Accessibility & contrast
On white
6.58
#B31462 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#B31462 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B31462
6.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B31462 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B31462 | 1.00 | 6.58 | 3.19 | 6.58 |
| #FFFFFF | 6.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#404A64
Deuteranopia (green-blind)
#6A675F
Tritanopia (blue-blind)
#C3003B
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #b31462; /* rgb */ color: rgb(179, 20, 98); /* oklch */ color: oklch(50.4% 0.195 359.0);
Tailwind
colors: {
custom: {
50: '#d06a8e',
500: '#b31462',
950: '#000000',
},
}SCSS
$custom: #b31462; $custom-light: #d06a8e; $custom-dark: #000000;
JSON
{
"hex": "#b31462",
"rgb": {
"r": 179,
"g": 20,
"b": 98
},
"hsl": {
"h": 330.566,
"s": 79.899,
"l": 39.02
},
"oklch": {
"l": 0.50435,
"c": 0.19468,
"h": 359
},
"luminance": 0.10966
}Semantic roles & 50–950 ramp
primary
#B31462
secondary
#54CF93
accent
#F69631
background
#FDF6F8
surface
#FBECF0
border
#D4C7CB
text
#15080C
muted
#837A7D