#B12858#B12858
#B12858 is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.0% C 0.175 H 5.3°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).
Color values
| HEX | #B12858 |
|---|---|
| RGB | rgb(177, 40, 88) |
| HSL | hsl(339, 63%, 43%) |
| HSV | hsv(339, 77%, 69%) |
| CMYK | cmyk(0%, 77.4%, 50.3%, 30.6%) |
| CIE-LAB | lab(40.53, 56.95, 6.11) |
| CIE-LCH | lch(40.53, 57.27, 6.12°) |
| OKLab | oklab(51% 0.1741 0.0161) |
| OKLCH | oklch(51% 0.175 5.3) |
| XYZ | xyz(20.6535, 11.5721, 10.3767) |
| Luminance | 0.1157 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.45
Raspberry (survey)
#B00149
ΔE00 3.86
Light Burgundy
#A8415B
ΔE00 4.27
Deep Pink
#CB0162
ΔE00 4.67
Violet Red
#A50055
ΔE00 5.42
Berry
#990F4B
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B12858 #28B181
analogous
#B1289D #B12858 #B13C28
triadic
#B12858 #58B128 #2858B1
tetradic
#B12858 #9DB128 #28B181 #3C28B1
square
#B12858 #9DB128 #28B181 #3C28B1
split-complementary
#B12858 #28B13C #289DB1
monochromatic
#4D1126 #7F1D3F #B12858 #D44275 #E0749A
Accessibility & contrast
On white
6.34
#B12858 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.31
#B12858 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B12858
6.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B12858 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B12858 | 1.00 | 6.34 | 3.31 | 6.34 |
| #FFFFFF | 6.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A4E59
Deuteranopia (green-blind)
#6F6955
Tritanopia (blue-blind)
#C1003D
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #b12858; /* rgb */ color: rgb(177, 40, 88); /* oklch */ color: oklch(51.0% 0.175 5.3);
Tailwind
colors: {
custom: {
50: '#ce6f86',
500: '#b12858',
950: '#000000',
},
}SCSS
$custom: #b12858; $custom-light: #ce6f86; $custom-dark: #000000;
JSON
{
"hex": "#b12858",
"rgb": {
"r": 177,
"g": 40,
"b": 88
},
"hsl": {
"h": 338.978,
"s": 63.134,
"l": 42.549
},
"oklch": {
"l": 0.51002,
"c": 0.17485,
"h": 5.3
},
"luminance": 0.11569
}Semantic roles & 50–950 ramp
primary
#B12858
secondary
#6EC7A8
accent
#E6AD42
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080B
muted
#837B7C