#B12857#B12857
#B12857 is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.0% C 0.175 H 5.8°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).
Color values
| HEX | #B12857 |
|---|---|
| RGB | rgb(177, 40, 87) |
| HSL | hsl(339, 63%, 43%) |
| HSV | hsv(339, 77%, 69%) |
| CMYK | cmyk(0%, 77.4%, 50.8%, 30.6%) |
| CIE-LAB | lab(40.50, 56.86, 6.70) |
| CIE-LCH | lch(40.50, 57.25, 6.72°) |
| OKLab | oklab(50.97% 0.1737 0.0175) |
| OKLCH | oklch(50.97% 0.175 5.8) |
| XYZ | xyz(20.6124, 11.5557, 10.1601) |
| Luminance | 0.1155 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.31
Raspberry (survey)
#B00149
ΔE00 3.69
Light Burgundy
#A8415B
ΔE00 4.21
Deep Pink
#CB0162
ΔE00 4.77
Violet Red
#A50055
ΔE00 5.57
Berry
#990F4B
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B12857 #28B182
analogous
#B1289C #B12857 #B13D28
triadic
#B12857 #57B128 #2857B1
tetradic
#B12857 #9CB128 #28B182 #3D28B1
square
#B12857 #9CB128 #28B182 #3D28B1
split-complementary
#B12857 #28B13D #289CB1
monochromatic
#4D1126 #7F1D3E #B12857 #D44274 #E07499
Accessibility & contrast
On white
6.34
#B12857 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.31
#B12857 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B12857
6.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B12857 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B12857 | 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)
#4B4E58
Deuteranopia (green-blind)
#6F6954
Tritanopia (blue-blind)
#C1003C
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #b12857; /* rgb */ color: rgb(177, 40, 87); /* oklch */ color: oklch(51.0% 0.175 5.8);
Tailwind
colors: {
custom: {
50: '#ce6f86',
500: '#b12857',
950: '#000000',
},
}SCSS
$custom: #b12857; $custom-light: #ce6f86; $custom-dark: #000000;
JSON
{
"hex": "#b12857",
"rgb": {
"r": 177,
"g": 40,
"b": 87
},
"hsl": {
"h": 339.416,
"s": 63.134,
"l": 42.549
},
"oklch": {
"l": 0.50973,
"c": 0.17462,
"h": 5.8
},
"luminance": 0.11553
}Semantic roles & 50–950 ramp
primary
#B12857
secondary
#6EC7A8
accent
#E6AE42
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080B
muted
#837B7C