#B42A5F#B42A5F
#B42A5F is a mid, vivid pink. Relative luminance 0.122; OKLCH L 51.9% C 0.177 H 2.8°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).
Color values
| HEX | #B42A5F |
|---|---|
| RGB | rgb(180, 42, 95) |
| HSL | hsl(337, 62%, 44%) |
| HSV | hsv(337, 77%, 71%) |
| CMYK | cmyk(0%, 76.7%, 47.2%, 29.4%) |
| CIE-LAB | lab(41.51, 57.77, 3.18) |
| CIE-LCH | lch(41.51, 57.86, 3.15°) |
| OKLab | oklab(51.89% 0.1771 0.0088) |
| OKLCH | oklch(51.89% 0.177 2.8) |
| XYZ | xyz(21.7177, 12.1884, 12.0332) |
| Luminance | 0.1218 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 3.94
Light Burgundy
#A8415B
ΔE00 4.71
Purplish Red
#B0054B
ΔE00 4.85
Raspberry (survey)
#B00149
ΔE00 5.30
Violet Red
#A50055
ΔE00 5.60
Dark Hot Pink
#D90166
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B42A5F #2AB47F
analogous
#B42AA4 #B42A5F #B43A2A
triadic
#B42A5F #5FB42A #2A5FB4
tetradic
#B42A5F #A4B42A #2AB47F #3A2AB4
square
#B42A5F #A4B42A #2AB47F #3A2AB4
split-complementary
#B42A5F #2AB43A #2AA4B4
monochromatic
#51132B #821E45 #B42A5F #D4477D #E079A0
Accessibility & contrast
On white
6.11
#B42A5F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#B42A5F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B42A5F
6.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B42A5F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B42A5F | 1.00 | 6.11 | 3.44 | 6.11 |
| #FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B5160
Deuteranopia (green-blind)
#706C5C
Tritanopia (blue-blind)
#C40941
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #b42a5f; /* rgb */ color: rgb(180, 42, 95); /* oklch */ color: oklch(51.9% 0.177 2.8);
Tailwind
colors: {
custom: {
50: '#d0718c',
500: '#b42a5f',
950: '#000000',
},
}SCSS
$custom: #b42a5f; $custom-light: #d0718c; $custom-dark: #000000;
JSON
{
"hex": "#b42a5f",
"rgb": {
"r": 180,
"g": 42,
"b": 95
},
"hsl": {
"h": 336.957,
"s": 62.162,
"l": 43.529
},
"oklch": {
"l": 0.51894,
"c": 0.1773,
"h": 2.8
},
"luminance": 0.12185
}Semantic roles & 50–950 ramp
primary
#B42A5F
secondary
#72C8A7
accent
#E5A743
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15080C
muted
#837B7D