#B42E5C#B42E5C
#B42E5C is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.1% C 0.172 H 5.0°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).
Color values
| HEX | #B42E5C |
|---|---|
| RGB | rgb(180, 46, 92) |
| HSL | hsl(339, 59%, 44%) |
| HSV | hsv(339, 74%, 71%) |
| CMYK | cmyk(0%, 74.4%, 48.9%, 29.4%) |
| CIE-LAB | lab(41.90, 56.20, 5.62) |
| CIE-LCH | lch(41.90, 56.48, 5.71°) |
| OKLab | oklab(52.15% 0.1718 0.0149) |
| OKLCH | oklch(52.15% 0.172 5) |
| XYZ | xyz(21.7330, 12.4329, 11.3785) |
| Luminance | 0.1243 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.77
Deep Pink
#CB0162
ΔE00 4.19
Purplish Red
#B0054B
ΔE00 4.60
Raspberry (survey)
#B00149
ΔE00 4.98
Dark Rose
#B5485D
ΔE00 5.90
Dark Hot Pink
#D90166
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B42E5C #2EB486
analogous
#B42E9F #B42E5C #B4432E
triadic
#B42E5C #5CB42E #2E5CB4
tetradic
#B42E5C #9FB42E #2EB486 #432EB4
square
#B42E5C #9FB42E #2EB486 #432EB4
split-complementary
#B42E5C #2EB443 #2E9FB4
monochromatic
#53152A #832243 #B42E5C #D24E7B #DE7E9F
Accessibility & contrast
On white
6.02
#B42E5C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.49
#B42E5C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B42E5C
6.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B42E5C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B42E5C | 1.00 | 6.02 | 3.49 | 6.02 |
| #FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E525D
Deuteranopia (green-blind)
#726C59
Tritanopia (blue-blind)
#C41141
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #b42e5c; /* rgb */ color: rgb(180, 46, 92); /* oklch */ color: oklch(52.1% 0.172 5.0);
Tailwind
colors: {
custom: {
50: '#d07289',
500: '#b42e5c',
950: '#000000',
},
}SCSS
$custom: #b42e5c; $custom-light: #d07289; $custom-dark: #000000;
JSON
{
"hex": "#b42e5c",
"rgb": {
"r": 180,
"g": 46,
"b": 92
},
"hsl": {
"h": 339.403,
"s": 59.292,
"l": 44.314
},
"oklch": {
"l": 0.52148,
"c": 0.17244,
"h": 5
},
"luminance": 0.1243
}Semantic roles & 50–950 ramp
primary
#B42E5C
secondary
#77C7AB
accent
#E2AD45
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090B
muted
#837B7C