#B42E52#B42E52
#B42E52 is a mid, vivid pink. Relative luminance 0.123; OKLCH L 51.9% C 0.171 H 9.9°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).
Color values
| HEX | #B42E52 |
|---|---|
| RGB | rgb(180, 46, 82) |
| HSL | hsl(344, 59%, 44%) |
| HSV | hsv(344, 74%, 71%) |
| CMYK | cmyk(0%, 74.4%, 54.4%, 29.4%) |
| CIE-LAB | lab(41.64, 55.37, 11.54) |
| CIE-LCH | lch(41.64, 56.56, 11.77°) |
| OKLab | oklab(51.88% 0.168 0.0293) |
| OKLCH | oklch(51.88% 0.171 9.9) |
| XYZ | xyz(21.3244, 12.2695, 9.2264) |
| Luminance | 0.1227 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.83
Purplish Red
#B0054B
ΔE00 4.22
Raspberry (survey)
#B00149
ΔE00 4.32
Dark Rose
#B5485D
ΔE00 4.95
Ruby
#CA0147
ΔE00 4.96
Light Maroon
#A24857
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B42E52 #2EB490
analogous
#B42E95 #B42E52 #B44D2E
triadic
#B42E52 #52B42E #2E52B4
tetradic
#B42E52 #95B42E #2EB490 #4D2EB4
square
#B42E52 #95B42E #2EB490 #4D2EB4
split-complementary
#B42E52 #2EB44D #2E95B4
monochromatic
#531526 #83223C #B42E52 #D24E71 #DE7E98
Accessibility & contrast
On white
6.08
#B42E52 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#B42E52 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B42E52
6.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B42E52 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B42E52 | 1.00 | 6.08 | 3.45 | 6.08 |
| #FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#505153
Deuteranopia (green-blind)
#736C4F
Tritanopia (blue-blind)
#C5073D
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #b42e52; /* rgb */ color: rgb(180, 46, 82); /* oklch */ color: oklch(51.9% 0.171 9.9);
Tailwind
colors: {
custom: {
50: '#d17282',
500: '#b42e52',
950: '#000000',
},
}SCSS
$custom: #b42e52; $custom-light: #d17282; $custom-dark: #000000;
JSON
{
"hex": "#b42e52",
"rgb": {
"r": 180,
"g": 46,
"b": 82
},
"hsl": {
"h": 343.881,
"s": 59.292,
"l": 44.314
},
"oklch": {
"l": 0.51877,
"c": 0.17055,
"h": 9.9
},
"luminance": 0.12266
}Semantic roles & 50–950 ramp
primary
#B42E52
secondary
#77C7B1
accent
#E2B845
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15090A
muted
#837B7C