#B42A4F#B42A4F
#B42A4F is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.5% C 0.174 H 10.6°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).
Color values
| HEX | #B42A4F |
|---|---|
| RGB | rgb(180, 42, 79) |
| HSL | hsl(344, 62%, 44%) |
| HSV | hsv(344, 77%, 71%) |
| CMYK | cmyk(0%, 76.7%, 56.1%, 29.4%) |
| CIE-LAB | lab(41.10, 56.46, 12.67) |
| CIE-LCH | lch(41.10, 57.86, 12.65°) |
| OKLab | oklab(51.45% 0.1711 0.0319) |
| OKLCH | oklch(51.45% 0.174 10.6) |
| XYZ | xyz(21.0637, 11.9268, 8.5886) |
| Luminance | 0.1192 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.85
Raspberry (survey)
#B00149
ΔE00 3.87
Light Burgundy
#A8415B
ΔE00 4.45
Ruby
#CA0147
ΔE00 4.55
Rose Red
#BE013C
ΔE00 5.15
Rouge
#AB1239
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B42A4F #2AB48F
analogous
#B42A94 #B42A4F #B44A2A
triadic
#B42A4F #4FB42A #2A4FB4
tetradic
#B42A4F #94B42A #2AB48F #4A2AB4
square
#B42A4F #94B42A #2AB48F #4A2AB4
split-complementary
#B42A4F #2AB44A #2A94B4
monochromatic
#511323 #821E39 #B42A4F #D4476D #E07994
Accessibility & contrast
On white
6.20
#B42A4F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#B42A4F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B42A4F
6.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B42A4F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B42A4F | 1.00 | 6.20 | 3.38 | 6.20 |
| #FFFFFF | 6.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F4F50
Deuteranopia (green-blind)
#726B4C
Tritanopia (blue-blind)
#C5003A
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #b42a4f; /* rgb */ color: rgb(180, 42, 79); /* oklch */ color: oklch(51.5% 0.174 10.6);
Tailwind
colors: {
custom: {
50: '#d17080',
500: '#b42a4f',
950: '#000000',
},
}SCSS
$custom: #b42a4f; $custom-light: #d17080; $custom-dark: #000000;
JSON
{
"hex": "#b42a4f",
"rgb": {
"r": 180,
"g": 42,
"b": 79
},
"hsl": {
"h": 343.913,
"s": 62.162,
"l": 43.529
},
"oklch": {
"l": 0.51453,
"c": 0.17406,
"h": 10.6
},
"luminance": 0.11924
}Semantic roles & 50–950 ramp
primary
#B42A4F
secondary
#72C8B1
accent
#E5BA43
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15080A
muted
#837B7C