#B12252#B12252
#B12252 is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.4% C 0.179 H 7.3°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).
Color values
| HEX | #B12252 |
|---|---|
| RGB | rgb(177, 34, 82) |
| HSL | hsl(340, 68%, 41%) |
| HSV | hsv(340, 81%, 69%) |
| CMYK | cmyk(0%, 80.8%, 53.7%, 30.6%) |
| CIE-LAB | lab(39.75, 58.20, 8.82) |
| CIE-LCH | lch(39.75, 58.87, 8.61°) |
| OKLab | oklab(50.38% 0.1775 0.0227) |
| OKLCH | oklch(50.38% 0.179 7.3) |
| XYZ | xyz(20.2284, 11.1033, 9.0590) |
| Luminance | 0.1110 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.27
Raspberry (survey)
#B00149
ΔE00 2.58
Light Burgundy
#A8415B
ΔE00 4.81
Deep Pink
#CB0162
ΔE00 5.27
Violet Red
#A50055
ΔE00 5.65
Berry
#990F4B
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B12252 #22B181
analogous
#B1229A #B12252 #B13922
triadic
#B12252 #52B122 #2252B1
tetradic
#B12252 #9AB122 #22B181 #3922B1
square
#B12252 #9AB122 #22B181 #3922B1
split-complementary
#B12252 #22B139 #229AB1
monochromatic
#4A0E22 #7E183A #B12252 #D9386E #E36B93
Accessibility & contrast
On white
6.52
#B12252 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.22
#B12252 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B12252
6.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B12252 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B12252 | 1.00 | 6.52 | 3.22 | 6.52 |
| #FFFFFF | 6.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#494B53
Deuteranopia (green-blind)
#6E684F
Tritanopia (blue-blind)
#C10037
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #b12252; /* rgb */ color: rgb(177, 34, 82); /* oklch */ color: oklch(50.4% 0.179 7.3);
Tailwind
colors: {
custom: {
50: '#cf6d82',
500: '#b12252',
950: '#000000',
},
}SCSS
$custom: #b12252; $custom-light: #cf6d82; $custom-dark: #000000;
JSON
{
"hex": "#b12252",
"rgb": {
"r": 177,
"g": 34,
"b": 82
},
"hsl": {
"h": 339.86,
"s": 67.773,
"l": 41.373
},
"oklch": {
"l": 0.50381,
"c": 0.17895,
"h": 7.3
},
"luminance": 0.111
}Semantic roles & 50–950 ramp
primary
#B12252
secondary
#66C9A8
accent
#EBB03D
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15080A
muted
#837B7C