#B42154#B42154
#B42154 is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.9% C 0.183 H 6.8°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).
Color values
| HEX | #B42154 |
|---|---|
| RGB | rgb(180, 33, 84) |
| HSL | hsl(339, 69%, 42%) |
| HSV | hsv(339, 82%, 71%) |
| CMYK | cmyk(0%, 81.7%, 53.3%, 29.4%) |
| CIE-LAB | lab(40.30, 59.44, 8.40) |
| CIE-LCH | lch(40.30, 60.03, 8.05°) |
| OKLab | oklab(50.91% 0.1814 0.0217) |
| OKLCH | oklch(50.91% 0.183 6.8) |
| XYZ | xyz(20.9685, 11.4341, 9.4887) |
| Luminance | 0.1143 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.61
Raspberry (survey)
#B00149
ΔE00 2.95
Deep Pink
#CB0162
ΔE00 4.63
Light Burgundy
#A8415B
ΔE00 4.87
Violet Red
#A50055
ΔE00 5.77
Ruby
#CA0147
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B42154 #21B481
analogous
#B4219E #B42154 #B43821
triadic
#B42154 #54B421 #2154B4
tetradic
#B42154 #9EB421 #21B481 #3821B4
square
#B42154 #9EB421 #21B481 #3821B4
split-complementary
#B42154 #21B438 #219EB4
monochromatic
#4D0E24 #80183C #B42154 #DA3870 #E46B95
Accessibility & contrast
On white
6.39
#B42154 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#B42154 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B42154
6.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B42154 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B42154 | 1.00 | 6.39 | 3.29 | 6.39 |
| #FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#494C55
Deuteranopia (green-blind)
#706950
Tritanopia (blue-blind)
#C50038
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #b42154; /* rgb */ color: rgb(180, 33, 84); /* oklch */ color: oklch(50.9% 0.183 6.8);
Tailwind
colors: {
custom: {
50: '#d16d83',
500: '#b42154',
950: '#000000',
},
}SCSS
$custom: #b42154; $custom-light: #d16d83; $custom-dark: #000000;
JSON
{
"hex": "#b42154",
"rgb": {
"r": 180,
"g": 33,
"b": 84
},
"hsl": {
"h": 339.184,
"s": 69.014,
"l": 41.765
},
"oklch": {
"l": 0.50906,
"c": 0.18271,
"h": 6.8
},
"luminance": 0.11431
}Semantic roles & 50–950 ramp
primary
#B42154
secondary
#67CAA8
accent
#ECAF3C
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080A
muted
#837B7C