#B42456#B42456
#B42456 is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.2% C 0.181 H 6.3°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).
Color values
| HEX | #B42456 |
|---|---|
| RGB | rgb(180, 36, 86) |
| HSL | hsl(339, 67%, 42%) |
| HSV | hsv(339, 80%, 71%) |
| CMYK | cmyk(0%, 80%, 52.2%, 29.4%) |
| CIE-LAB | lab(40.64, 58.79, 7.61) |
| CIE-LCH | lch(40.64, 59.28, 7.37°) |
| OKLab | oklab(51.17% 0.1796 0.0198) |
| OKLCH | oklch(51.17% 0.181 6.3) |
| XYZ | xyz(21.1349, 11.6399, 9.9361) |
| Luminance | 0.1164 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.05
Raspberry (survey)
#B00149
ΔE00 3.41
Deep Pink
#CB0162
ΔE00 4.42
Light Burgundy
#A8415B
ΔE00 4.60
Violet Red
#A50055
ΔE00 5.79
Ruby
#CA0147
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B42456 #24B482
analogous
#B4249E #B42456 #B43A24
triadic
#B42456 #56B424 #2456B4
tetradic
#B42456 #9EB424 #24B482 #3A24B4
square
#B42456 #9EB424 #24B482 #3A24B4
split-complementary
#B42456 #24B43A #249EB4
monochromatic
#4E1025 #811A3E #B42456 #D83D73 #E27098
Accessibility & contrast
On white
6.31
#B42456 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#B42456 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B42456
6.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B42456 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B42456 | 1.00 | 6.31 | 3.33 | 6.31 |
| #FFFFFF | 6.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A4E57
Deuteranopia (green-blind)
#706A53
Tritanopia (blue-blind)
#C4003A
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #b42456; /* rgb */ color: rgb(180, 36, 86); /* oklch */ color: oklch(51.2% 0.181 6.3);
Tailwind
colors: {
custom: {
50: '#d16e85',
500: '#b42456',
950: '#000000',
},
}SCSS
$custom: #b42456; $custom-light: #d16e85; $custom-dark: #000000;
JSON
{
"hex": "#b42456",
"rgb": {
"r": 180,
"g": 36,
"b": 86
},
"hsl": {
"h": 339.167,
"s": 66.667,
"l": 42.353
},
"oklch": {
"l": 0.5117,
"c": 0.18064,
"h": 6.3
},
"luminance": 0.11637
}Semantic roles & 50–950 ramp
primary
#B42456
secondary
#6BC9A8
accent
#EAAE3E
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080B
muted
#837B7C