#B42048#B42048
#B42048 is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.5% C 0.182 H 12.2°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).
Color values
| HEX | #B42048 |
|---|---|
| RGB | rgb(180, 32, 72) |
| HSL | hsl(344, 70%, 42%) |
| HSV | hsv(344, 82%, 71%) |
| CMYK | cmyk(0%, 82.2%, 60%, 29.4%) |
| CIE-LAB | lab(39.93, 58.84, 15.50) |
| CIE-LCH | lch(39.93, 60.85, 14.76°) |
| OKLab | oklab(50.54% 0.1776 0.0383) |
| OKLCH | oklch(50.54% 0.182 12.2) |
| XYZ | xyz(20.5107, 11.2073, 7.2129) |
| Luminance | 0.1120 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Raspberry (survey)
#B00149
ΔE00 3.44
Purplish Red
#B0054B
ΔE00 3.64
Rose Red
#BE013C
ΔE00 3.70
Rouge
#AB1239
ΔE00 3.75
Ruby
#CA0147
ΔE00 3.99
Cranberry
#9E003A
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B42048 #20B48C
analogous
#B42092 #B42048 #B44220
triadic
#B42048 #48B420 #2048B4
tetradic
#B42048 #92B420 #20B48C #4220B4
square
#B42048 #92B420 #20B48C #4220B4
split-complementary
#B42048 #20B442 #2092B4
monochromatic
#4C0E1E #801733 #B42048 #DB3663 #E46A8B
Accessibility & contrast
On white
6.48
#B42048 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#B42048 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B42048
6.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B42048 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B42048 | 1.00 | 6.48 | 3.24 | 6.48 |
| #FFFFFF | 6.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C4B48
Deuteranopia (green-blind)
#716944
Tritanopia (blue-blind)
#C50032
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #b42048; /* rgb */ color: rgb(180, 32, 72); /* oklch */ color: oklch(50.5% 0.182 12.2);
Tailwind
colors: {
custom: {
50: '#d26c7a',
500: '#b42048',
950: '#000000',
},
}SCSS
$custom: #b42048; $custom-light: #d26c7a; $custom-dark: #000000;
JSON
{
"hex": "#b42048",
"rgb": {
"r": 180,
"g": 32,
"b": 72
},
"hsl": {
"h": 343.784,
"s": 69.811,
"l": 41.569
},
"oklch": {
"l": 0.50538,
"c": 0.18171,
"h": 12.2
},
"luminance": 0.11204
}Semantic roles & 50–950 ramp
primary
#B42048
secondary
#66CAAF
accent
#EDBD3B
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150809
muted
#837B7B