#B12852#B12852
#B12852 is a mid, vivid pink. Relative luminance 0.115; OKLCH L 50.8% C 0.174 H 8.2°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).
Color values
| HEX | #B12852 |
|---|---|
| RGB | rgb(177, 40, 82) |
| HSL | hsl(342, 63%, 43%) |
| HSV | hsv(342, 77%, 69%) |
| CMYK | cmyk(0%, 77.4%, 53.7%, 30.6%) |
| CIE-LAB | lab(40.37, 56.45, 9.68) |
| CIE-LCH | lch(40.37, 57.28, 9.73°) |
| OKLab | oklab(50.84% 0.1719 0.0248) |
| OKLCH | oklch(50.84% 0.174 8.2) |
| XYZ | xyz(20.4151, 11.4768, 9.1212) |
| Luminance | 0.1147 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.95
Raspberry (survey)
#B00149
ΔE00 3.17
Light Burgundy
#A8415B
ΔE00 4.18
Deep Pink
#CB0162
ΔE00 5.49
Ruby
#CA0147
ΔE00 5.83
Rouge
#AB1239
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B12852 #28B187
analogous
#B12896 #B12852 #B14328
triadic
#B12852 #52B128 #2852B1
tetradic
#B12852 #96B128 #28B187 #4328B1
square
#B12852 #96B128 #28B187 #4328B1
split-complementary
#B12852 #28B143 #2896B1
monochromatic
#4D1124 #7F1D3B #B12852 #D4426F #E07495
Accessibility & contrast
On white
6.37
#B12852 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#B12852 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B12852
6.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B12852 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B12852 | 1.00 | 6.37 | 3.29 | 6.37 |
| #FFFFFF | 6.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C4E53
Deuteranopia (green-blind)
#70694F
Tritanopia (blue-blind)
#C1003A
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #b12852; /* rgb */ color: rgb(177, 40, 82); /* oklch */ color: oklch(50.8% 0.174 8.2);
Tailwind
colors: {
custom: {
50: '#cf6f82',
500: '#b12852',
950: '#000000',
},
}SCSS
$custom: #b12852; $custom-light: #cf6f82; $custom-dark: #000000;
JSON
{
"hex": "#b12852",
"rgb": {
"r": 177,
"g": 40,
"b": 82
},
"hsl": {
"h": 341.606,
"s": 63.134,
"l": 42.549
},
"oklch": {
"l": 0.50836,
"c": 0.17364,
"h": 8.2
},
"luminance": 0.11474
}Semantic roles & 50–950 ramp
primary
#B12852
secondary
#6EC7AC
accent
#E6B442
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15080A
muted
#837B7C