#B12757#B12757
#B12757 is a mid, vivid pink. Relative luminance 0.115; OKLCH L 50.9% C 0.176 H 5.6°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).
Color values
| HEX | #B12757 |
|---|---|
| RGB | rgb(177, 39, 87) |
| HSL | hsl(339, 64%, 42%) |
| HSV | hsv(339, 78%, 69%) |
| CMYK | cmyk(0%, 78%, 50.8%, 30.6%) |
| CIE-LAB | lab(40.39, 57.17, 6.55) |
| CIE-LCH | lch(40.39, 57.54, 6.53°) |
| OKLab | oklab(50.89% 0.1747 0.0172) |
| OKLCH | oklch(50.89% 0.176 5.6) |
| XYZ | xyz(20.5791, 11.4891, 10.1490) |
| Luminance | 0.1149 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.23
Raspberry (survey)
#B00149
ΔE00 3.63
Light Burgundy
#A8415B
ΔE00 4.34
Deep Pink
#CB0162
ΔE00 4.74
Violet Red
#A50055
ΔE00 5.42
Berry
#990F4B
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B12757 #27B181
analogous
#B1279C #B12757 #B13C27
triadic
#B12757 #57B127 #2757B1
tetradic
#B12757 #9CB127 #27B181 #3C27B1
square
#B12757 #9CB127 #27B181 #3C27B1
split-complementary
#B12757 #27B13C #279CB1
monochromatic
#4D1126 #7F1C3E #B12757 #D54074 #E07299
Accessibility & contrast
On white
6.37
#B12757 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#B12757 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B12757
6.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B12757 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B12757 | 1.00 | 6.37 | 3.30 | 6.37 |
| #FFFFFF | 6.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A4E58
Deuteranopia (green-blind)
#6E6954
Tritanopia (blue-blind)
#C1003C
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #b12757; /* rgb */ color: rgb(177, 39, 87); /* oklch */ color: oklch(50.9% 0.176 5.6);
Tailwind
colors: {
custom: {
50: '#ce6f86',
500: '#b12757',
950: '#000000',
},
}SCSS
$custom: #b12757; $custom-light: #ce6f86; $custom-dark: #000000;
JSON
{
"hex": "#b12757",
"rgb": {
"r": 177,
"g": 39,
"b": 87
},
"hsl": {
"h": 339.13,
"s": 63.889,
"l": 42.353
},
"oklch": {
"l": 0.50893,
"c": 0.17557,
"h": 5.6
},
"luminance": 0.11486
}Semantic roles & 50–950 ramp
primary
#B12757
secondary
#6DC7A8
accent
#E7AD41
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080B
muted
#837B7C