#B12751#B12751
#B12751 is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.7% C 0.174 H 8.5°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).
Color values
| HEX | #B12751 |
|---|---|
| RGB | rgb(177, 39, 81) |
| HSL | hsl(342, 64%, 42%) |
| HSV | hsv(342, 78%, 69%) |
| CMYK | cmyk(0%, 78%, 54.2%, 30.6%) |
| CIE-LAB | lab(40.24, 56.69, 10.13) |
| CIE-LCH | lch(40.24, 57.58, 10.13°) |
| OKLab | oklab(50.73% 0.1725 0.0259) |
| OKLCH | oklch(50.73% 0.174 8.5) |
| XYZ | xyz(20.3441, 11.3951, 8.9112) |
| Luminance | 0.1139 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.83
Raspberry (survey)
#B00149
ΔE00 3.01
Light Burgundy
#A8415B
ΔE00 4.33
Deep Pink
#CB0162
ΔE00 5.62
Ruby
#CA0147
ΔE00 5.69
Rouge
#AB1239
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B12751 #27B187
analogous
#B12796 #B12751 #B14227
triadic
#B12751 #51B127 #2751B1
tetradic
#B12751 #96B127 #27B187 #4227B1
square
#B12751 #96B127 #27B187 #4227B1
split-complementary
#B12751 #27B142 #2796B1
monochromatic
#4D1123 #7F1C3A #B12751 #D5406E #E07294
Accessibility & contrast
On white
6.41
#B12751 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#B12751 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B12751
6.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B12751 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B12751 | 1.00 | 6.41 | 3.28 | 6.41 |
| #FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C4D52
Deuteranopia (green-blind)
#6F694E
Tritanopia (blue-blind)
#C10039
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #b12751; /* rgb */ color: rgb(177, 39, 81); /* oklch */ color: oklch(50.7% 0.174 8.5);
Tailwind
colors: {
custom: {
50: '#cf6f81',
500: '#b12751',
950: '#000000',
},
}SCSS
$custom: #b12751; $custom-light: #cf6f81; $custom-dark: #000000;
JSON
{
"hex": "#b12751",
"rgb": {
"r": 177,
"g": 39,
"b": 81
},
"hsl": {
"h": 341.739,
"s": 63.889,
"l": 42.353
},
"oklch": {
"l": 0.50729,
"c": 0.1744,
"h": 8.5
},
"luminance": 0.11392
}Semantic roles & 50–950 ramp
primary
#B12751
secondary
#6DC7AC
accent
#E7B441
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15080A
muted
#837B7C