#B42862#B42862
#B42862 is a mid, vivid pink. Relative luminance 0.121; OKLCH L 51.8% C 0.180 H 1.1°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).
Color values
| HEX | #B42862 |
|---|---|
| RGB | rgb(180, 40, 98) |
| HSL | hsl(335, 64%, 43%) |
| HSV | hsv(335, 78%, 71%) |
| CMYK | cmyk(0%, 77.8%, 45.6%, 29.4%) |
| CIE-LAB | lab(41.38, 58.66, 1.11) |
| CIE-LCH | lch(41.38, 58.67, 1.08°) |
| OKLab | oklab(51.83% 0.1801 0.0035) |
| OKLCH | oklch(51.83% 0.18 1.1) |
| XYZ | xyz(21.7875, 12.1056, 12.7422) |
| Luminance | 0.1210 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 4.06
Violet Red
#A50055
ΔE00 5.28
Purplish Red
#B0054B
ΔE00 5.43
Light Burgundy
#A8415B
ΔE00 5.47
Magenta (survey)
#C20078
ΔE00 5.80
Raspberry (survey)
#B00149
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B42862 #28B47A
analogous
#B428A8 #B42862 #B43428
triadic
#B42862 #62B428 #2862B4
tetradic
#B42862 #A8B428 #28B47A #3428B4
square
#B42862 #A8B428 #28B47A #3428B4
split-complementary
#B42862 #28B434 #28A8B4
monochromatic
#50122B #821D47 #B42862 #D54480 #E176A2
Accessibility & contrast
On white
6.14
#B42862 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#B42862 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B42862
6.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B42862 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B42862 | 1.00 | 6.14 | 3.42 | 6.14 |
| #FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#495063
Deuteranopia (green-blind)
#6F6B5F
Tritanopia (blue-blind)
#C40742
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #b42862; /* rgb */ color: rgb(180, 40, 98); /* oklch */ color: oklch(51.8% 0.180 1.1);
Tailwind
colors: {
custom: {
50: '#d0708e',
500: '#b42862',
950: '#000000',
},
}SCSS
$custom: #b42862; $custom-light: #d0708e; $custom-dark: #000000;
JSON
{
"hex": "#b42862",
"rgb": {
"r": 180,
"g": 40,
"b": 98
},
"hsl": {
"h": 335.143,
"s": 63.636,
"l": 43.137
},
"oklch": {
"l": 0.51827,
"c": 0.18014,
"h": 1.1
},
"luminance": 0.12103
}Semantic roles & 50–950 ramp
primary
#B42862
secondary
#70C8A3
accent
#E7A241
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15080C
muted
#837B7D