#B42952#B42952
#B42952 is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.4% C 0.175 H 9.0°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).
Color values
| HEX | #B42952 |
|---|---|
| RGB | rgb(180, 41, 82) |
| HSL | hsl(342, 63%, 43%) |
| HSV | hsv(342, 77%, 71%) |
| CMYK | cmyk(0%, 77.2%, 54.4%, 29.4%) |
| CIE-LAB | lab(41.06, 57.00, 10.73) |
| CIE-LCH | lch(41.06, 58.00, 10.66°) |
| OKLab | oklab(51.45% 0.1733 0.0273) |
| OKLCH | oklch(51.45% 0.175 9) |
| XYZ | xyz(21.1403, 11.9014, 9.1650) |
| Luminance | 0.1190 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.45
Raspberry (survey)
#B00149
ΔE00 3.60
Light Burgundy
#A8415B
ΔE00 4.19
Ruby
#CA0147
ΔE00 5.17
Deep Pink
#CB0162
ΔE00 5.36
Dark Rose
#B5485D
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B42952 #29B48B
analogous
#B42997 #B42952 #B44529
triadic
#B42952 #52B429 #2952B4
tetradic
#B42952 #97B429 #29B48B #4529B4
square
#B42952 #97B429 #29B48B #4529B4
split-complementary
#B42952 #29B445 #2997B4
monochromatic
#501225 #821E3B #B42952 #D54570 #E07796
Accessibility & contrast
On white
6.21
#B42952 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#B42952 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B42952
6.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B42952 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B42952 | 1.00 | 6.21 | 3.38 | 6.21 |
| #FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E4F53
Deuteranopia (green-blind)
#726B4F
Tritanopia (blue-blind)
#C5003B
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #b42952; /* rgb */ color: rgb(180, 41, 82); /* oklch */ color: oklch(51.4% 0.175 9.0);
Tailwind
colors: {
custom: {
50: '#d17082',
500: '#b42952',
950: '#000000',
},
}SCSS
$custom: #b42952; $custom-light: #d17082; $custom-dark: #000000;
JSON
{
"hex": "#b42952",
"rgb": {
"r": 180,
"g": 41,
"b": 82
},
"hsl": {
"h": 342.302,
"s": 62.896,
"l": 43.333
},
"oklch": {
"l": 0.51447,
"c": 0.17542,
"h": 9
},
"luminance": 0.11898
}Semantic roles & 50–950 ramp
primary
#B42952
secondary
#71C8AE
accent
#E6B642
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15080A
muted
#837B7C