#B42E51#B42E51
#B42E51 is a mid, vivid pink. Relative luminance 0.123; OKLCH L 51.9% C 0.170 H 10.4°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).
Color values
| HEX | #B42E51 |
|---|---|
| RGB | rgb(180, 46, 81) |
| HSL | hsl(344, 59%, 44%) |
| HSV | hsv(344, 74%, 71%) |
| CMYK | cmyk(0%, 74.4%, 55%, 29.4%) |
| CIE-LAB | lab(41.62, 55.29, 12.13) |
| CIE-LCH | lch(41.62, 56.60, 12.38°) |
| OKLab | oklab(51.85% 0.1676 0.0307) |
| OKLCH | oklch(51.85% 0.17 10.4) |
| XYZ | xyz(21.2866, 12.2544, 9.0274) |
| Luminance | 0.1225 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.96
Purplish Red
#B0054B
ΔE00 4.31
Raspberry (survey)
#B00149
ΔE00 4.37
Ruby
#CA0147
ΔE00 4.78
Dark Rose
#B5485D
ΔE00 4.94
Light Maroon
#A24857
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B42E51 #2EB491
analogous
#B42E94 #B42E51 #B44E2E
triadic
#B42E51 #51B42E #2E51B4
tetradic
#B42E51 #94B42E #2EB491 #4E2EB4
square
#B42E51 #94B42E #2EB491 #4E2EB4
split-complementary
#B42E51 #2EB44E #2E94B4
monochromatic
#531525 #83223B #B42E51 #D24E70 #DE7E97
Accessibility & contrast
On white
6.09
#B42E51 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#B42E51 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B42E51
6.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B42E51 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B42E51 | 1.00 | 6.09 | 3.45 | 6.09 |
| #FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#515152
Deuteranopia (green-blind)
#736C4E
Tritanopia (blue-blind)
#C5063D
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #b42e51; /* rgb */ color: rgb(180, 46, 81); /* oklch */ color: oklch(51.9% 0.170 10.4);
Tailwind
colors: {
custom: {
50: '#d17281',
500: '#b42e51',
950: '#000000',
},
}SCSS
$custom: #b42e51; $custom-light: #d17281; $custom-dark: #000000;
JSON
{
"hex": "#b42e51",
"rgb": {
"r": 180,
"g": 46,
"b": 81
},
"hsl": {
"h": 344.328,
"s": 59.292,
"l": 44.314
},
"oklch": {
"l": 0.51852,
"c": 0.17041,
"h": 10.4
},
"luminance": 0.12251
}Semantic roles & 50–950 ramp
primary
#B42E51
secondary
#77C7B2
accent
#E2B945
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15090A
muted
#837B7C