#B42A4E#B42A4E
#B42A4E is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.4% C 0.174 H 11.0°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).
Color values
| HEX | #B42A4E |
|---|---|
| RGB | rgb(180, 42, 78) |
| HSL | hsl(344, 62%, 44%) |
| HSV | hsv(344, 77%, 71%) |
| CMYK | cmyk(0%, 76.7%, 56.7%, 29.4%) |
| CIE-LAB | lab(41.08, 56.38, 13.27) |
| CIE-LCH | lch(41.08, 57.93, 13.25°) |
| OKLab | oklab(51.43% 0.1707 0.0333) |
| OKLCH | oklch(51.43% 0.174 11) |
| XYZ | xyz(21.0275, 11.9123, 8.3983) |
| Luminance | 0.1191 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Raspberry (survey)
#B00149
ΔE00 3.97
Purplish Red
#B0054B
ΔE00 3.98
Ruby
#CA0147
ΔE00 4.39
Light Burgundy
#A8415B
ΔE00 4.59
Rose Red
#BE013C
ΔE00 4.89
Rouge
#AB1239
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B42A4E #2AB490
analogous
#B42A93 #B42A4E #B44B2A
triadic
#B42A4E #4EB42A #2A4EB4
tetradic
#B42A4E #93B42A #2AB490 #4B2AB4
square
#B42A4E #93B42A #2AB490 #4B2AB4
split-complementary
#B42A4E #2AB44B #2A93B4
monochromatic
#511323 #821E38 #B42A4E #D4476C #E07994
Accessibility & contrast
On white
6.21
#B42A4E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#B42A4E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B42A4E
6.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B42A4E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B42A4E | 1.00 | 6.21 | 3.38 | 6.21 |
| #FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F4F4F
Deuteranopia (green-blind)
#736B4A
Tritanopia (blue-blind)
#C50039
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #b42a4e; /* rgb */ color: rgb(180, 42, 78); /* oklch */ color: oklch(51.4% 0.174 11.0);
Tailwind
colors: {
custom: {
50: '#d1707f',
500: '#b42a4e',
950: '#000000',
},
}SCSS
$custom: #b42a4e; $custom-light: #d1707f; $custom-dark: #000000;
JSON
{
"hex": "#b42a4e",
"rgb": {
"r": 180,
"g": 42,
"b": 78
},
"hsl": {
"h": 344.348,
"s": 62.162,
"l": 43.529
},
"oklch": {
"l": 0.51429,
"c": 0.17394,
"h": 11
},
"luminance": 0.11909
}Semantic roles & 50–950 ramp
primary
#B42A4E
secondary
#72C8B1
accent
#E5BB43
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15080A
muted
#837B7C