#B12856#B12856
#B12856 is a mid, vivid pink. Relative luminance 0.115; OKLCH L 50.9% C 0.174 H 6.3°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).
Color values
| HEX | #B12856 |
|---|---|
| RGB | rgb(177, 40, 86) |
| HSL | hsl(340, 63%, 43%) |
| HSV | hsv(340, 77%, 69%) |
| CMYK | cmyk(0%, 77.4%, 51.4%, 30.6%) |
| CIE-LAB | lab(40.47, 56.78, 7.30) |
| CIE-LCH | lch(40.47, 57.24, 7.32°) |
| OKLab | oklab(50.94% 0.1734 0.019) |
| OKLCH | oklch(50.94% 0.174 6.3) |
| XYZ | xyz(20.5718, 11.5395, 9.9464) |
| Luminance | 0.1154 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.18
Raspberry (survey)
#B00149
ΔE00 3.54
Light Burgundy
#A8415B
ΔE00 4.16
Deep Pink
#CB0162
ΔE00 4.88
Violet Red
#A50055
ΔE00 5.73
Berry
#990F4B
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B12856 #28B183
analogous
#B1289B #B12856 #B13E28
triadic
#B12856 #56B128 #2856B1
tetradic
#B12856 #9BB128 #28B183 #3E28B1
square
#B12856 #9BB128 #28B183 #3E28B1
split-complementary
#B12856 #28B13E #289BB1
monochromatic
#4D1125 #7F1D3E #B12856 #D44273 #E07498
Accessibility & contrast
On white
6.35
#B12856 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.31
#B12856 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B12856
6.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B12856 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B12856 | 1.00 | 6.35 | 3.31 | 6.35 |
| #FFFFFF | 6.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B4E57
Deuteranopia (green-blind)
#6F6953
Tritanopia (blue-blind)
#C1003C
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #b12856; /* rgb */ color: rgb(177, 40, 86); /* oklch */ color: oklch(50.9% 0.174 6.3);
Tailwind
colors: {
custom: {
50: '#ce6f85',
500: '#b12856',
950: '#000000',
},
}SCSS
$custom: #b12856; $custom-light: #ce6f85; $custom-dark: #000000;
JSON
{
"hex": "#b12856",
"rgb": {
"r": 177,
"g": 40,
"b": 86
},
"hsl": {
"h": 339.854,
"s": 63.134,
"l": 42.549
},
"oklch": {
"l": 0.50945,
"c": 0.17441,
"h": 6.3
},
"luminance": 0.11537
}Semantic roles & 50–950 ramp
primary
#B12856
secondary
#6EC7A9
accent
#E6AF42
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080B
muted
#837B7C