#B42E42#B42E42
#B42E42 is a mid, vivid red. Relative luminance 0.121; OKLCH L 51.5% C 0.170 H 17.5°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).
Color values
| HEX | #B42E42 |
|---|---|
| RGB | rgb(180, 46, 66) |
| HSL | hsl(351, 59%, 44%) |
| HSV | hsv(351, 74%, 71%) |
| CMYK | cmyk(0%, 74.4%, 63.3%, 29.4%) |
| CIE-LAB | lab(41.30, 54.25, 21.09) |
| CIE-LCH | lch(41.30, 58.20, 21.25°) |
| OKLab | oklab(51.52% 0.1617 0.0508) |
| OKLCH | oklch(51.52% 0.17 17.5) |
| XYZ | xyz(20.7849, 12.0537, 6.3853) |
| Luminance | 0.1205 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rose Red
#BE013C
ΔE00 3.26
Cardinal
#C41E3A
ΔE00 3.60
Rouge
#AB1239
ΔE00 4.25
Ruby
#CA0147
ΔE00 4.59
Lipstick Red
#C0022F
ΔE00 4.86
Dusty Red
#B9484E
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B42E42 #2EB4A0
analogous
#B42E85 #B42E42 #B45D2E
triadic
#B42E42 #42B42E #2E42B4
tetradic
#B42E42 #85B42E #2EB4A0 #5D2EB4
square
#B42E42 #85B42E #2EB4A0 #5D2EB4
split-complementary
#B42E42 #2EB45D #2E85B4
monochromatic
#53151E #832230 #B42E42 #D24E61 #DE7E8D
Accessibility & contrast
On white
6.16
#B42E42 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.41
#B42E42 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B42E42
6.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B42E42 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B42E42 | 1.00 | 6.16 | 3.41 | 6.16 |
| #FFFFFF | 6.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#534F42
Deuteranopia (green-blind)
#756C3E
Tritanopia (blue-blind)
#C50037
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #b42e42; /* rgb */ color: rgb(180, 46, 66); /* oklch */ color: oklch(51.5% 0.170 17.5);
Tailwind
colors: {
custom: {
50: '#d27276',
500: '#b42e42',
950: '#000000',
},
}SCSS
$custom: #b42e42; $custom-light: #d27276; $custom-dark: #000000;
JSON
{
"hex": "#b42e42",
"rgb": {
"r": 180,
"g": 46,
"b": 66
},
"hsl": {
"h": 351.045,
"s": 59.292,
"l": 44.314
},
"oklch": {
"l": 0.51515,
"c": 0.16951,
"h": 17.5
},
"luminance": 0.12051
}Semantic roles & 50–950 ramp
primary
#B42E42
secondary
#77C7BB
accent
#E2CB45
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150908
muted
#837B7B