#B42751#B42751
#B42751 is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.3% C 0.177 H 9.1°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).
Color values
| HEX | #B42751 |
|---|---|
| RGB | rgb(180, 39, 81) |
| HSL | hsl(342, 64%, 43%) |
| HSV | hsv(342, 78%, 71%) |
| CMYK | cmyk(0%, 78.3%, 55%, 29.4%) |
| CIE-LAB | lab(40.82, 57.53, 11.02) |
| CIE-LCH | lch(40.82, 58.58, 10.85°) |
| OKLab | oklab(51.26% 0.1749 0.028) |
| OKLCH | oklch(51.26% 0.177 9.1) |
| XYZ | xyz(21.0351, 11.7514, 8.9436) |
| Luminance | 0.1175 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.22
Raspberry (survey)
#B00149
ΔE00 3.34
Light Burgundy
#A8415B
ΔE00 4.43
Ruby
#CA0147
ΔE00 5.07
Deep Pink
#CB0162
ΔE00 5.44
Rose Red
#BE013C
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B42751 #27B48A
analogous
#B42797 #B42751 #B44427
triadic
#B42751 #51B427 #2751B4
tetradic
#B42751 #97B427 #27B48A #4427B4
square
#B42751 #97B427 #27B48A #4427B4
split-complementary
#B42751 #27B444 #2797B4
monochromatic
#4F1124 #821C3A #B42751 #D6426E #E17495
Accessibility & contrast
On white
6.27
#B42751 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#B42751 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B42751
6.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B42751 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B42751 | 1.00 | 6.27 | 3.35 | 6.27 |
| #FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D4E52
Deuteranopia (green-blind)
#716A4E
Tritanopia (blue-blind)
#C50039
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #b42751; /* rgb */ color: rgb(180, 39, 81); /* oklch */ color: oklch(51.3% 0.177 9.1);
Tailwind
colors: {
custom: {
50: '#d16f81',
500: '#b42751',
950: '#000000',
},
}SCSS
$custom: #b42751; $custom-light: #d16f81; $custom-dark: #000000;
JSON
{
"hex": "#b42751",
"rgb": {
"r": 180,
"g": 39,
"b": 81
},
"hsl": {
"h": 342.128,
"s": 64.384,
"l": 42.941
},
"oklch": {
"l": 0.51261,
"c": 0.1771,
"h": 9.1
},
"luminance": 0.11748
}Semantic roles & 50–950 ramp
primary
#B42751
secondary
#6FC8AE
accent
#E7B640
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15080A
muted
#837B7C