#B42256#B42256
#B42256 is a mid, vivid pink. Relative luminance 0.115; OKLCH L 51.0% C 0.182 H 6.0°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).
Color values
| HEX | #B42256 |
|---|---|
| RGB | rgb(180, 34, 86) |
| HSL | hsl(339, 68%, 42%) |
| HSV | hsv(339, 81%, 71%) |
| CMYK | cmyk(0%, 81.1%, 52.2%, 29.4%) |
| CIE-LAB | lab(40.45, 59.33, 7.34) |
| CIE-LCH | lch(40.45, 59.78, 7.05°) |
| OKLab | oklab(51.03% 0.1813 0.0191) |
| OKLCH | oklch(51.03% 0.182 6) |
| XYZ | xyz(21.0761, 11.5223, 9.9165) |
| Luminance | 0.1152 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.91
Raspberry (survey)
#B00149
ΔE00 3.29
Deep Pink
#CB0162
ΔE00 4.37
Light Burgundy
#A8415B
ΔE00 4.81
Violet Red
#A50055
ΔE00 5.55
Berry
#990F4B
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B42256 #22B480
analogous
#B4229F #B42256 #B43722
triadic
#B42256 #56B422 #2256B4
tetradic
#B42256 #9FB422 #22B480 #3722B4
square
#B42256 #9FB422 #22B480 #3722B4
split-complementary
#B42256 #22B437 #229FB4
monochromatic
#4D0F25 #81183D #B42256 #DA3A73 #E36D97
Accessibility & contrast
On white
6.36
#B42256 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#B42256 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B42256
6.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B42256 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B42256 | 1.00 | 6.36 | 3.30 | 6.36 |
| #FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#494D57
Deuteranopia (green-blind)
#6F6A53
Tritanopia (blue-blind)
#C50039
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #b42256; /* rgb */ color: rgb(180, 34, 86); /* oklch */ color: oklch(51.0% 0.182 6.0);
Tailwind
colors: {
custom: {
50: '#d16e85',
500: '#b42256',
950: '#000000',
},
}SCSS
$custom: #b42256; $custom-light: #d16e85; $custom-dark: #000000;
JSON
{
"hex": "#b42256",
"rgb": {
"r": 180,
"g": 34,
"b": 86
},
"hsl": {
"h": 338.63,
"s": 68.224,
"l": 41.961
},
"oklch": {
"l": 0.51029,
"c": 0.18232,
"h": 6
},
"luminance": 0.11519
}Semantic roles & 50–950 ramp
primary
#B42256
secondary
#68CAA7
accent
#EBAD3D
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080B
muted
#837B7C