#B42E76#B42E76
#B42E76 is a mid, vivid pink. Relative luminance 0.130; OKLCH L 53.0% C 0.182 H 352.4°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).
Color values
| HEX | #B42E76 |
|---|---|
| RGB | rgb(180, 46, 118) |
| HSL | hsl(328, 59%, 44%) |
| HSV | hsv(328, 74%, 71%) |
| CMYK | cmyk(0%, 74.4%, 34.4%, 29.4%) |
| CIE-LAB | lab(42.72, 58.82, -9.39) |
| CIE-LCH | lch(42.72, 59.56, 350.93°) |
| OKLab | oklab(53.02% 0.1802 -0.0242) |
| OKLCH | oklch(53.02% 0.182 352.4) |
| XYZ | xyz(23.0708, 12.9680, 18.4242) |
| Luminance | 0.1296 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 3.09
Mediumvioletred
#C71585
ΔE00 4.05
Deep Pink
#CB0162
ΔE00 7.06
Red Violet
#9E0168
ΔE00 7.22
Deep Magenta
#A0025C
ΔE00 7.25
Dark Fuchsia
#9D0759
ΔE00 7.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B42E76 #2EB46C
analogous
#AF2EB4 #B42E76 #B42E33
triadic
#B42E76 #76B42E #2E76B4
tetradic
#B42E76 #B4AF2E #2EB46C #2E33B4
square
#B42E76 #B4AF2E #2EB46C #2E33B4
split-complementary
#B42E76 #33B42E #2EB4AF
monochromatic
#531536 #832256 #B42E76 #D24E95 #DE7EB2
Accessibility & contrast
On white
5.84
#B42E76 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.59
#B42E76 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B42E76
5.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B42E76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B42E76 | 1.00 | 5.84 | 3.59 | 5.84 |
| #FFFFFF | 5.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#465578
Deuteranopia (green-blind)
#6C6E73
Tritanopia (blue-blind)
#C2224E
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #b42e76; /* rgb */ color: rgb(180, 46, 118); /* oklch */ color: oklch(53.0% 0.182 352.4);
Tailwind
colors: {
custom: {
50: '#cf739d',
500: '#b42e76',
950: '#000000',
},
}SCSS
$custom: #b42e76; $custom-light: #cf739d; $custom-dark: #000000;
JSON
{
"hex": "#b42e76",
"rgb": {
"r": 180,
"g": 46,
"b": 118
},
"hsl": {
"h": 327.761,
"s": 59.292,
"l": 44.314
},
"oklch": {
"l": 0.53018,
"c": 0.18182,
"h": 352.4
},
"luminance": 0.12965
}Semantic roles & 50–950 ramp
primary
#B42E76
secondary
#77C79C
accent
#E28E45
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E