#B42051#B42051
#B42051 is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.8% C 0.183 H 8.1°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).
Color values
| HEX | #B42051 |
|---|---|
| RGB | rgb(180, 32, 81) |
| HSL | hsl(340, 70%, 42%) |
| HSV | hsv(340, 82%, 71%) |
| CMYK | cmyk(0%, 82.2%, 55%, 29.4%) |
| CIE-LAB | lab(40.14, 59.47, 10.07) |
| CIE-LCH | lch(40.14, 60.31, 9.62°) |
| OKLab | oklab(50.76% 0.1811 0.0257) |
| OKLCH | oklch(50.76% 0.183 8.1) |
| XYZ | xyz(20.8261, 11.3335, 8.8739) |
| Luminance | 0.1133 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.38
Raspberry (survey)
#B00149
ΔE00 2.59
Light Burgundy
#A8415B
ΔE00 5.00
Deep Pink
#CB0162
ΔE00 5.11
Ruby
#CA0147
ΔE00 5.50
Rouge
#AB1239
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B42051 #20B483
analogous
#B4209B #B42051 #B43920
triadic
#B42051 #51B420 #2051B4
tetradic
#B42051 #9BB420 #20B483 #3920B4
square
#B42051 #9BB420 #20B483 #3920B4
split-complementary
#B42051 #20B439 #209BB4
monochromatic
#4C0E22 #80173A #B42051 #DB366D #E46A92
Accessibility & contrast
On white
6.43
#B42051 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#B42051 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B42051
6.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B42051 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B42051 | 1.00 | 6.43 | 3.27 | 6.43 |
| #FFFFFF | 6.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A4C52
Deuteranopia (green-blind)
#70694D
Tritanopia (blue-blind)
#C50036
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #b42051; /* rgb */ color: rgb(180, 32, 81); /* oklch */ color: oklch(50.8% 0.183 8.1);
Tailwind
colors: {
custom: {
50: '#d16d81',
500: '#b42051',
950: '#000000',
},
}SCSS
$custom: #b42051; $custom-light: #d16d81; $custom-dark: #000000;
JSON
{
"hex": "#b42051",
"rgb": {
"r": 180,
"g": 32,
"b": 81
},
"hsl": {
"h": 340.135,
"s": 69.811,
"l": 41.569
},
"oklch": {
"l": 0.50759,
"c": 0.18293,
"h": 8.1
},
"luminance": 0.1133
}Semantic roles & 50–950 ramp
primary
#B42051
secondary
#66CAA9
accent
#EDB23B
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15080A
muted
#837B7C