#B42459#B42459
#B42459 is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.3% C 0.181 H 4.9°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).
Color values
| HEX | #B42459 |
|---|---|
| RGB | rgb(180, 36, 89) |
| HSL | hsl(338, 67%, 42%) |
| HSV | hsv(338, 80%, 71%) |
| CMYK | cmyk(0%, 80%, 50.6%, 29.4%) |
| CIE-LAB | lab(40.72, 59.03, 5.82) |
| CIE-LCH | lch(40.72, 59.32, 5.64°) |
| OKLab | oklab(51.25% 0.1807 0.0154) |
| OKLCH | oklch(51.25% 0.181 4.9) |
| XYZ | xyz(21.2583, 11.6893, 10.5861) |
| Luminance | 0.1169 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.48
Raspberry (survey)
#B00149
ΔE00 3.91
Deep Pink
#CB0162
ΔE00 4.09
Light Burgundy
#A8415B
ΔE00 4.77
Violet Red
#A50055
ΔE00 5.36
Berry
#990F4B
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B42459 #24B47F
analogous
#B424A1 #B42459 #B43724
triadic
#B42459 #59B424 #2459B4
tetradic
#B42459 #A1B424 #24B47F #3724B4
square
#B42459 #A1B424 #24B47F #3724B4
split-complementary
#B42459 #24B437 #24A1B4
monochromatic
#4E1027 #811A40 #B42459 #D83D76 #E2709A
Accessibility & contrast
On white
6.29
#B42459 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#B42459 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B42459
6.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B42459 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B42459 | 1.00 | 6.29 | 3.34 | 6.29 |
| #FFFFFF | 6.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A4E5A
Deuteranopia (green-blind)
#6F6A56
Tritanopia (blue-blind)
#C4003C
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #b42459; /* rgb */ color: rgb(180, 36, 89); /* oklch */ color: oklch(51.3% 0.181 4.9);
Tailwind
colors: {
custom: {
50: '#d16e87',
500: '#b42459',
950: '#000000',
},
}SCSS
$custom: #b42459; $custom-light: #d16e87; $custom-dark: #000000;
JSON
{
"hex": "#b42459",
"rgb": {
"r": 180,
"g": 36,
"b": 89
},
"hsl": {
"h": 337.917,
"s": 66.667,
"l": 42.353
},
"oklch": {
"l": 0.51254,
"c": 0.18131,
"h": 4.9
},
"luminance": 0.11686
}Semantic roles & 50–950 ramp
primary
#B42459
secondary
#6BC9A6
accent
#EAAB3E
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080B
muted
#837B7C