#B12957#B12957
#B12957 is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.1% C 0.174 H 5.9°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).
Color values
| HEX | #B12957 |
|---|---|
| RGB | rgb(177, 41, 87) |
| HSL | hsl(340, 62%, 43%) |
| HSV | hsv(340, 77%, 69%) |
| CMYK | cmyk(0%, 76.8%, 50.8%, 30.6%) |
| CIE-LAB | lab(40.61, 56.55, 6.86) |
| CIE-LCH | lch(40.61, 56.96, 6.92°) |
| OKLab | oklab(51.05% 0.1727 0.0179) |
| OKLCH | oklch(51.05% 0.174 5.9) |
| XYZ | xyz(20.6465, 11.6240, 10.1714) |
| Luminance | 0.1162 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.39
Raspberry (survey)
#B00149
ΔE00 3.76
Light Burgundy
#A8415B
ΔE00 4.07
Deep Pink
#CB0162
ΔE00 4.80
Violet Red
#A50055
ΔE00 5.72
Dark Rose
#B5485D
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B12957 #29B183
analogous
#B1299B #B12957 #B13F29
triadic
#B12957 #57B129 #2957B1
tetradic
#B12957 #9BB129 #29B183 #3F29B1
square
#B12957 #9BB129 #29B183 #3F29B1
split-complementary
#B12957 #29B13F #299BB1
monochromatic
#4E1226 #7F1D3F #B12957 #D44474 #DF7599
Accessibility & contrast
On white
6.32
#B12957 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.32
#B12957 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B12957
6.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B12957 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B12957 | 1.00 | 6.32 | 3.32 | 6.32 |
| #FFFFFF | 6.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B4F58
Deuteranopia (green-blind)
#6F6954
Tritanopia (blue-blind)
#C1013D
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #b12957; /* rgb */ color: rgb(177, 41, 87); /* oklch */ color: oklch(51.1% 0.174 5.9);
Tailwind
colors: {
custom: {
50: '#ce7086',
500: '#b12957',
950: '#000000',
},
}SCSS
$custom: #b12957; $custom-light: #ce7086; $custom-dark: #000000;
JSON
{
"hex": "#b12957",
"rgb": {
"r": 177,
"g": 41,
"b": 87
},
"hsl": {
"h": 339.706,
"s": 62.385,
"l": 42.745
},
"oklch": {
"l": 0.51055,
"c": 0.17366,
"h": 5.9
},
"luminance": 0.11621
}Semantic roles & 50–950 ramp
primary
#B12957
secondary
#6FC7A9
accent
#E5AE42
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080B
muted
#837B7C