#B42E5D#B42E5D
#B42E5D is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.2% C 0.173 H 4.5°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).
Color values
| HEX | #B42E5D |
|---|---|
| RGB | rgb(180, 46, 93) |
| HSL | hsl(339, 59%, 44%) |
| HSV | hsv(339, 74%, 71%) |
| CMYK | cmyk(0%, 74.4%, 48.3%, 29.4%) |
| CIE-LAB | lab(41.92, 56.28, 5.03) |
| CIE-LCH | lch(41.92, 56.51, 5.10°) |
| OKLab | oklab(52.18% 0.1722 0.0134) |
| OKLCH | oklch(52.18% 0.173 4.5) |
| XYZ | xyz(21.7770, 12.4505, 11.6103) |
| Luminance | 0.1245 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.88
Deep Pink
#CB0162
ΔE00 4.12
Purplish Red
#B0054B
ΔE00 4.74
Raspberry (survey)
#B00149
ΔE00 5.13
Dark Rose
#B5485D
ΔE00 6.06
Violet Red
#A50055
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B42E5D #2EB485
analogous
#B42EA0 #B42E5D #B4422E
triadic
#B42E5D #5DB42E #2E5DB4
tetradic
#B42E5D #A0B42E #2EB485 #422EB4
square
#B42E5D #A0B42E #2EB485 #422EB4
split-complementary
#B42E5D #2EB442 #2EA0B4
monochromatic
#53152B #832244 #B42E5D #D24E7C #DE7EA0
Accessibility & contrast
On white
6.02
#B42E5D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.49
#B42E5D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B42E5D
6.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B42E5D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B42E5D | 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)
#4E525E
Deuteranopia (green-blind)
#716C5A
Tritanopia (blue-blind)
#C41142
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #b42e5d; /* rgb */ color: rgb(180, 46, 93); /* oklch */ color: oklch(52.2% 0.173 4.5);
Tailwind
colors: {
custom: {
50: '#d0728a',
500: '#b42e5d',
950: '#000000',
},
}SCSS
$custom: #b42e5d; $custom-light: #d0728a; $custom-dark: #000000;
JSON
{
"hex": "#b42e5d",
"rgb": {
"r": 180,
"g": 46,
"b": 93
},
"hsl": {
"h": 338.955,
"s": 59.292,
"l": 44.314
},
"oklch": {
"l": 0.52177,
"c": 0.17268,
"h": 4.5
},
"luminance": 0.12448
}Semantic roles & 50–950 ramp
primary
#B42E5D
secondary
#77C7AB
accent
#E2AB45
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090B
muted
#837B7C