#B12752#B12752
#B12752 is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.8% C 0.175 H 8.0°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).
Color values
| HEX | #B12752 |
|---|---|
| RGB | rgb(177, 39, 82) |
| HSL | hsl(341, 64%, 42%) |
| HSV | hsv(341, 78%, 69%) |
| CMYK | cmyk(0%, 78%, 53.7%, 30.6%) |
| CIE-LAB | lab(40.26, 56.76, 9.53) |
| CIE-LCH | lch(40.26, 57.56, 9.53°) |
| OKLab | oklab(50.76% 0.1729 0.0244) |
| OKLCH | oklch(50.76% 0.175 8) |
| XYZ | xyz(20.3819, 11.4102, 9.1102) |
| Luminance | 0.1141 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.82
Raspberry (survey)
#B00149
ΔE00 3.05
Light Burgundy
#A8415B
ΔE00 4.29
Deep Pink
#CB0162
ΔE00 5.44
Ruby
#CA0147
ΔE00 5.89
Rouge
#AB1239
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B12752 #27B186
analogous
#B12797 #B12752 #B14127
triadic
#B12752 #52B127 #2752B1
tetradic
#B12752 #97B127 #27B186 #4127B1
square
#B12752 #97B127 #27B186 #4127B1
split-complementary
#B12752 #27B141 #2797B1
monochromatic
#4D1124 #7F1C3B #B12752 #D5406F #E07295
Accessibility & contrast
On white
6.40
#B12752 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#B12752 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B12752
6.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B12752 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B12752 | 1.00 | 6.40 | 3.28 | 6.40 |
| #FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B4D53
Deuteranopia (green-blind)
#6F694F
Tritanopia (blue-blind)
#C1003A
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #b12752; /* rgb */ color: rgb(177, 39, 82); /* oklch */ color: oklch(50.8% 0.175 8.0);
Tailwind
colors: {
custom: {
50: '#cf6f82',
500: '#b12752',
950: '#000000',
},
}SCSS
$custom: #b12752; $custom-light: #cf6f82; $custom-dark: #000000;
JSON
{
"hex": "#b12752",
"rgb": {
"r": 177,
"g": 39,
"b": 82
},
"hsl": {
"h": 341.304,
"s": 63.889,
"l": 42.353
},
"oklch": {
"l": 0.50756,
"c": 0.17457,
"h": 8
},
"luminance": 0.11407
}Semantic roles & 50–950 ramp
primary
#B12752
secondary
#6DC7AB
accent
#E7B341
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15080A
muted
#837B7C