#B12557#B12557
#B12557 is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.7% C 0.177 H 5.3°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).
Color values
| HEX | #B12557 |
|---|---|
| RGB | rgb(177, 37, 87) |
| HSL | hsl(339, 65%, 42%) |
| HSV | hsv(339, 79%, 69%) |
| CMYK | cmyk(0%, 79.1%, 50.8%, 30.6%) |
| CIE-LAB | lab(40.18, 57.76, 6.25) |
| CIE-LCH | lch(40.18, 58.10, 6.17°) |
| OKLab | oklab(50.74% 0.1767 0.0164) |
| OKLCH | oklch(50.74% 0.177 5.3) |
| XYZ | xyz(20.5152, 11.3612, 10.1276) |
| Luminance | 0.1136 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.11
Raspberry (survey)
#B00149
ΔE00 3.53
Light Burgundy
#A8415B
ΔE00 4.60
Deep Pink
#CB0162
ΔE00 4.71
Violet Red
#A50055
ΔE00 5.15
Berry
#990F4B
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B12557 #25B17F
analogous
#B1259D #B12557 #B13925
triadic
#B12557 #57B125 #2557B1
tetradic
#B12557 #9DB125 #25B17F #3925B1
square
#B12557 #9DB125 #25B17F #3925B1
split-complementary
#B12557 #25B139 #259DB1
monochromatic
#4C1025 #7E1A3E #B12557 #D63D74 #E16F98
Accessibility & contrast
On white
6.42
#B12557 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#B12557 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B12557
6.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B12557 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B12557 | 1.00 | 6.42 | 3.27 | 6.42 |
| #FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#494D58
Deuteranopia (green-blind)
#6E6954
Tritanopia (blue-blind)
#C1003B
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #b12557; /* rgb */ color: rgb(177, 37, 87); /* oklch */ color: oklch(50.7% 0.177 5.3);
Tailwind
colors: {
custom: {
50: '#ce6e86',
500: '#b12557',
950: '#000000',
},
}SCSS
$custom: #b12557; $custom-light: #ce6e86; $custom-dark: #000000;
JSON
{
"hex": "#b12557",
"rgb": {
"r": 177,
"g": 37,
"b": 87
},
"hsl": {
"h": 338.571,
"s": 65.421,
"l": 41.961
},
"oklch": {
"l": 0.50739,
"c": 0.17741,
"h": 5.3
},
"luminance": 0.11358
}Semantic roles & 50–950 ramp
primary
#B12557
secondary
#6AC8A6
accent
#E8AC3F
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080B
muted
#837B7C