#B42E66#B42E66
#B42E66 is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.5% C 0.175 H 0.0°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).
Color values
| HEX | #B42E66 |
|---|---|
| RGB | rgb(180, 46, 102) |
| HSL | hsl(335, 59%, 44%) |
| HSV | hsv(335, 74%, 71%) |
| CMYK | cmyk(0%, 74.4%, 43.3%, 29.4%) |
| CIE-LAB | lab(42.18, 57.13, -0.23) |
| CIE-LCH | lch(42.18, 57.13, 359.77°) |
| OKLab | oklab(52.46% 0.1753 0.0001) |
| OKLCH | oklch(52.46% 0.175 0) |
| XYZ | xyz(22.1993, 12.6195, 13.8346) |
| Luminance | 0.1262 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 4.38
Light Burgundy
#A8415B
ΔE00 5.46
Magenta (survey)
#C20078
ΔE00 5.47
Violet Red
#A50055
ΔE00 6.05
Purplish Red
#B0054B
ΔE00 6.43
Dark Hot Pink
#D90166
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B42E66 #2EB47C
analogous
#B42EA9 #B42E66 #B4392E
triadic
#B42E66 #66B42E #2E66B4
tetradic
#B42E66 #A9B42E #2EB47C #392EB4
square
#B42E66 #A9B42E #2EB47C #392EB4
split-complementary
#B42E66 #2EB439 #2EA9B4
monochromatic
#53152F #83224A #B42E66 #D24E85 #DE7EA6
Accessibility & contrast
On white
5.96
#B42E66 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#B42E66 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B42E66
5.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B42E66 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B42E66 | 1.00 | 5.96 | 3.52 | 5.96 |
| #FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B5367
Deuteranopia (green-blind)
#706D63
Tritanopia (blue-blind)
#C31846
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #b42e66; /* rgb */ color: rgb(180, 46, 102); /* oklch */ color: oklch(52.5% 0.175 0.0);
Tailwind
colors: {
custom: {
50: '#d07391',
500: '#b42e66',
950: '#000000',
},
}SCSS
$custom: #b42e66; $custom-light: #d07391; $custom-dark: #000000;
JSON
{
"hex": "#b42e66",
"rgb": {
"r": 180,
"g": 46,
"b": 102
},
"hsl": {
"h": 334.925,
"s": 59.292,
"l": 44.314
},
"oklch": {
"l": 0.52455,
"c": 0.17532,
"h": 0
},
"luminance": 0.12617
}Semantic roles & 50–950 ramp
primary
#B42E66
secondary
#77C7A5
accent
#E2A145
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15090C
muted
#837B7D