#B42451#B42451
#B42451 is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.0% C 0.180 H 8.6°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).
Color values
| HEX | #B42451 |
|---|---|
| RGB | rgb(180, 36, 81) |
| HSL | hsl(341, 67%, 42%) |
| HSV | hsv(341, 80%, 71%) |
| CMYK | cmyk(0%, 80%, 55%, 29.4%) |
| CIE-LAB | lab(40.51, 58.40, 10.60) |
| CIE-LCH | lch(40.51, 59.35, 10.28°) |
| OKLab | oklab(51.04% 0.1777 0.027) |
| OKLCH | oklch(51.04% 0.18 8.6) |
| XYZ | xyz(20.9405, 11.5622, 8.9121) |
| Luminance | 0.1156 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.82
Raspberry (survey)
#B00149
ΔE00 2.99
Light Burgundy
#A8415B
ΔE00 4.67
Ruby
#CA0147
ΔE00 5.25
Deep Pink
#CB0162
ΔE00 5.27
Rouge
#AB1239
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B42451 #24B487
analogous
#B42499 #B42451 #B43F24
triadic
#B42451 #51B424 #2451B4
tetradic
#B42451 #99B424 #24B487 #3F24B4
square
#B42451 #99B424 #24B487 #3F24B4
split-complementary
#B42451 #24B43F #2499B4
monochromatic
#4E1023 #811A3A #B42451 #D83D6E #E27094
Accessibility & contrast
On white
6.34
#B42451 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.31
#B42451 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B42451
6.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B42451 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B42451 | 1.00 | 6.34 | 3.31 | 6.34 |
| #FFFFFF | 6.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B4D52
Deuteranopia (green-blind)
#716A4D
Tritanopia (blue-blind)
#C50038
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #b42451; /* rgb */ color: rgb(180, 36, 81); /* oklch */ color: oklch(51.0% 0.180 8.6);
Tailwind
colors: {
custom: {
50: '#d16e81',
500: '#b42451',
950: '#000000',
},
}SCSS
$custom: #b42451; $custom-light: #d16e81; $custom-dark: #000000;
JSON
{
"hex": "#b42451",
"rgb": {
"r": 180,
"g": 36,
"b": 81
},
"hsl": {
"h": 341.25,
"s": 66.667,
"l": 42.353
},
"oklch": {
"l": 0.51035,
"c": 0.1797,
"h": 8.6
},
"luminance": 0.11559
}Semantic roles & 50–950 ramp
primary
#B42451
secondary
#6BC9AC
accent
#EAB43E
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15080A
muted
#837B7C