#B42A5E#B42A5E
#B42A5E is a mid, vivid pink. Relative luminance 0.122; OKLCH L 51.9% C 0.177 H 3.3°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).
Color values
| HEX | #B42A5E |
|---|---|
| RGB | rgb(180, 42, 94) |
| HSL | hsl(337, 62%, 44%) |
| HSV | hsv(337, 77%, 71%) |
| CMYK | cmyk(0%, 76.7%, 47.8%, 29.4%) |
| CIE-LAB | lab(41.49, 57.68, 3.77) |
| CIE-LCH | lch(41.49, 57.81, 3.74°) |
| OKLab | oklab(51.86% 0.1767 0.0103) |
| OKLCH | oklch(51.86% 0.177 3.3) |
| XYZ | xyz(21.6726, 12.1703, 11.7954) |
| Luminance | 0.1217 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 3.94
Light Burgundy
#A8415B
ΔE00 4.56
Purplish Red
#B0054B
ΔE00 4.66
Raspberry (survey)
#B00149
ΔE00 5.10
Violet Red
#A50055
ΔE00 5.66
Dark Hot Pink
#D90166
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B42A5E #2AB480
analogous
#B42AA3 #B42A5E #B43B2A
triadic
#B42A5E #5EB42A #2A5EB4
tetradic
#B42A5E #A3B42A #2AB480 #3B2AB4
square
#B42A5E #A3B42A #2AB480 #3B2AB4
split-complementary
#B42A5E #2AB43B #2AA3B4
monochromatic
#51132A #821E44 #B42A5E #D4477C #E079A0
Accessibility & contrast
On white
6.12
#B42A5E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#B42A5E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B42A5E
6.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B42A5E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B42A5E | 1.00 | 6.12 | 3.43 | 6.12 |
| #FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B515F
Deuteranopia (green-blind)
#706C5B
Tritanopia (blue-blind)
#C40841
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #b42a5e; /* rgb */ color: rgb(180, 42, 94); /* oklch */ color: oklch(51.9% 0.177 3.3);
Tailwind
colors: {
custom: {
50: '#d0718b',
500: '#b42a5e',
950: '#000000',
},
}SCSS
$custom: #b42a5e; $custom-light: #d0718b; $custom-dark: #000000;
JSON
{
"hex": "#b42a5e",
"rgb": {
"r": 180,
"g": 42,
"b": 94
},
"hsl": {
"h": 337.391,
"s": 62.162,
"l": 43.529
},
"oklch": {
"l": 0.51864,
"c": 0.17703,
"h": 3.3
},
"luminance": 0.12167
}Semantic roles & 50–950 ramp
primary
#B42A5E
secondary
#72C8A7
accent
#E5A843
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15080C
muted
#837B7D