#B42248#B42248
#B42248 is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.7% C 0.180 H 12.5°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).
Color values
| HEX | #B42248 |
|---|---|
| RGB | rgb(180, 34, 72) |
| HSL | hsl(344, 68%, 42%) |
| HSV | hsv(344, 81%, 71%) |
| CMYK | cmyk(0%, 81.1%, 60%, 29.4%) |
| CIE-LAB | lab(40.11, 58.32, 15.75) |
| CIE-LCH | lch(40.11, 60.41, 15.11°) |
| OKLab | oklab(50.67% 0.1759 0.0389) |
| OKLCH | oklch(50.67% 0.18 12.5) |
| XYZ | xyz(20.5662, 11.3183, 7.2314) |
| Luminance | 0.1132 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Rose Red
#BE013C
ΔE00 3.61
Raspberry (survey)
#B00149
ΔE00 3.71
Rouge
#AB1239
ΔE00 3.76
Purplish Red
#B0054B
ΔE00 3.90
Ruby
#CA0147
ΔE00 3.92
Light Burgundy
#A8415B
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B42248 #22B48E
analogous
#B42291 #B42248 #B44522
triadic
#B42248 #48B422 #2248B4
tetradic
#B42248 #91B422 #22B48E #4522B4
square
#B42248 #91B422 #22B48E #4522B4
split-complementary
#B42248 #22B445 #2291B4
monochromatic
#4D0F1F #811833 #B42248 #DA3A63 #E36D8C
Accessibility & contrast
On white
6.44
#B42248 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.26
#B42248 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B42248
6.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B42248 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B42248 | 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)
#4C4B48
Deuteranopia (green-blind)
#716944
Tritanopia (blue-blind)
#C50033
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #b42248; /* rgb */ color: rgb(180, 34, 72); /* oklch */ color: oklch(50.7% 0.180 12.5);
Tailwind
colors: {
custom: {
50: '#d26d7a',
500: '#b42248',
950: '#000000',
},
}SCSS
$custom: #b42248; $custom-light: #d26d7a; $custom-dark: #000000;
JSON
{
"hex": "#b42248",
"rgb": {
"r": 180,
"g": 34,
"b": 72
},
"hsl": {
"h": 344.384,
"s": 68.224,
"l": 41.961
},
"oklch": {
"l": 0.50673,
"c": 0.18018,
"h": 12.5
},
"luminance": 0.11315
}Semantic roles & 50–950 ramp
primary
#B42248
secondary
#68CAB0
accent
#EBBE3D
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150809
muted
#837B7B