#B12952#B12952
#B12952 is a mid, vivid pink. Relative luminance 0.115; OKLCH L 50.9% C 0.173 H 8.4°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).
Color values
| HEX | #B12952 |
|---|---|
| RGB | rgb(177, 41, 82) |
| HSL | hsl(342, 62%, 43%) |
| HSV | hsv(342, 77%, 69%) |
| CMYK | cmyk(0%, 76.8%, 53.7%, 30.6%) |
| CIE-LAB | lab(40.48, 56.14, 9.84) |
| CIE-LCH | lch(40.48, 57.00, 9.94°) |
| OKLab | oklab(50.92% 0.1708 0.0252) |
| OKLCH | oklch(50.92% 0.173 8.4) |
| XYZ | xyz(20.4493, 11.5451, 9.1326) |
| Luminance | 0.1154 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.09
Raspberry (survey)
#B00149
ΔE00 3.29
Light Burgundy
#A8415B
ΔE00 4.08
Deep Pink
#CB0162
ΔE00 5.55
Ruby
#CA0147
ΔE00 5.77
Light Maroon
#A24857
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B12952 #29B188
analogous
#B12996 #B12952 #B14429
triadic
#B12952 #52B129 #2952B1
tetradic
#B12952 #96B129 #29B188 #4429B1
square
#B12952 #96B129 #29B188 #4429B1
split-complementary
#B12952 #29B144 #2996B1
monochromatic
#4E1224 #7F1D3B #B12952 #D4446F #DF7595
Accessibility & contrast
On white
6.35
#B12952 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.31
#B12952 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B12952
6.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B12952 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B12952 | 1.00 | 6.35 | 3.31 | 6.35 |
| #FFFFFF | 6.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C4E53
Deuteranopia (green-blind)
#70694F
Tritanopia (blue-blind)
#C1003B
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #b12952; /* rgb */ color: rgb(177, 41, 82); /* oklch */ color: oklch(50.9% 0.173 8.4);
Tailwind
colors: {
custom: {
50: '#cf7082',
500: '#b12952',
950: '#000000',
},
}SCSS
$custom: #b12952; $custom-light: #cf7082; $custom-dark: #000000;
JSON
{
"hex": "#b12952",
"rgb": {
"r": 177,
"g": 41,
"b": 82
},
"hsl": {
"h": 341.912,
"s": 62.385,
"l": 42.745
},
"oklch": {
"l": 0.50918,
"c": 0.17268,
"h": 8.4
},
"luminance": 0.11542
}Semantic roles & 50–950 ramp
primary
#B12952
secondary
#6FC7AC
accent
#E5B442
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15080A
muted
#837B7C