#B42052#B42052
#B42052 is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.8% C 0.183 H 7.6°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).
Color values
| HEX | #B42052 |
|---|---|
| RGB | rgb(180, 32, 82) |
| HSL | hsl(340, 70%, 42%) |
| HSV | hsv(340, 82%, 71%) |
| CMYK | cmyk(0%, 82.2%, 54.4%, 29.4%) |
| CIE-LAB | lab(40.16, 59.54, 9.47) |
| CIE-LCH | lch(40.16, 60.29, 9.04°) |
| OKLab | oklab(50.79% 0.1815 0.0243) |
| OKLCH | oklch(50.79% 0.183 7.6) |
| XYZ | xyz(20.8639, 11.3486, 9.0729) |
| Luminance | 0.1135 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.40
Raspberry (survey)
#B00149
ΔE00 2.66
Deep Pink
#CB0162
ΔE00 4.93
Light Burgundy
#A8415B
ΔE00 4.97
Ruby
#CA0147
ΔE00 5.72
Violet Red
#A50055
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B42052 #20B482
analogous
#B4209C #B42052 #B43820
triadic
#B42052 #52B420 #2052B4
tetradic
#B42052 #9CB420 #20B482 #3820B4
square
#B42052 #9CB420 #20B482 #3820B4
split-complementary
#B42052 #20B438 #209CB4
monochromatic
#4C0E23 #80173A #B42052 #DB366E #E46A93
Accessibility & contrast
On white
6.42
#B42052 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#B42052 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B42052
6.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B42052 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B42052 | 1.00 | 6.42 | 3.27 | 6.42 |
| #FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#494C53
Deuteranopia (green-blind)
#70694E
Tritanopia (blue-blind)
#C50037
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #b42052; /* rgb */ color: rgb(180, 32, 82); /* oklch */ color: oklch(50.8% 0.183 7.6);
Tailwind
colors: {
custom: {
50: '#d16d82',
500: '#b42052',
950: '#000000',
},
}SCSS
$custom: #b42052; $custom-light: #d16d82; $custom-dark: #000000;
JSON
{
"hex": "#b42052",
"rgb": {
"r": 180,
"g": 32,
"b": 82
},
"hsl": {
"h": 339.73,
"s": 69.811,
"l": 41.569
},
"oklch": {
"l": 0.50786,
"c": 0.18311,
"h": 7.6
},
"luminance": 0.11346
}Semantic roles & 50–950 ramp
primary
#B42052
secondary
#66CAA8
accent
#EDB13B
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15080A
muted
#837B7C