#B42247#B42247
#B42247 is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.7% C 0.180 H 12.9°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).
Color values
| HEX | #B42247 |
|---|---|
| RGB | rgb(180, 34, 71) |
| HSL | hsl(345, 68%, 42%) |
| HSV | hsv(345, 81%, 71%) |
| CMYK | cmyk(0%, 81.1%, 60.6%, 29.4%) |
| CIE-LAB | lab(40.09, 58.25, 16.35) |
| CIE-LCH | lch(40.09, 60.50, 15.68°) |
| OKLab | oklab(50.65% 0.1756 0.0402) |
| OKLCH | oklch(50.65% 0.18 12.9) |
| XYZ | xyz(20.5339, 11.3054, 7.0610) |
| Luminance | 0.1130 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Rose Red
#BE013C
ΔE00 3.36
Rouge
#AB1239
ΔE00 3.55
Ruby
#CA0147
ΔE00 3.85
Raspberry (survey)
#B00149
ΔE00 3.92
Purplish Red
#B0054B
ΔE00 4.14
Cranberry
#9E003A
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B42247 #22B48F
analogous
#B42290 #B42247 #B44622
triadic
#B42247 #47B422 #2247B4
tetradic
#B42247 #90B422 #22B48F #4622B4
square
#B42247 #90B422 #22B48F #4622B4
split-complementary
#B42247 #22B446 #2290B4
monochromatic
#4D0F1E #811833 #B42247 #DA3A62 #E36D8B
Accessibility & contrast
On white
6.44
#B42247 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.26
#B42247 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B42247
6.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B42247 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B42247 | 1.00 | 6.44 | 3.26 | 6.44 |
| #FFFFFF | 6.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D4B47
Deuteranopia (green-blind)
#726943
Tritanopia (blue-blind)
#C50032
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #b42247; /* rgb */ color: rgb(180, 34, 71); /* oklch */ color: oklch(50.7% 0.180 12.9);
Tailwind
colors: {
custom: {
50: '#d26d79',
500: '#b42247',
950: '#000000',
},
}SCSS
$custom: #b42247; $custom-light: #d26d79; $custom-dark: #000000;
JSON
{
"hex": "#b42247",
"rgb": {
"r": 180,
"g": 34,
"b": 71
},
"hsl": {
"h": 344.795,
"s": 68.224,
"l": 41.961
},
"oklch": {
"l": 0.50651,
"c": 0.1801,
"h": 12.9
},
"luminance": 0.11302
}Semantic roles & 50–950 ramp
primary
#B42247
secondary
#68CAB1
accent
#EBBF3D
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150809
muted
#837B7B