#B42F40#B42F40
#B42F40 is a mid, vivid red. Relative luminance 0.121; OKLCH L 51.6% C 0.169 H 18.6°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).
Color values
| HEX | #B42F40 |
|---|---|
| RGB | rgb(180, 47, 64) |
| HSL | hsl(352, 59%, 45%) |
| HSV | hsv(352, 74%, 71%) |
| CMYK | cmyk(0%, 73.9%, 64.4%, 29.4%) |
| CIE-LAB | lab(41.39, 53.78, 22.45) |
| CIE-LCH | lch(41.39, 58.27, 22.66°) |
| OKLab | oklab(51.57% 0.1598 0.0537) |
| OKLCH | oklch(51.57% 0.169 18.6) |
| XYZ | xyz(20.7665, 12.1096, 6.0934) |
| Luminance | 0.1211 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Cardinal
#C41E3A
ΔE00 3.20
Rose Red
#BE013C
ΔE00 3.57
Lipstick Red
#C0022F
ΔE00 4.39
Rouge
#AB1239
ΔE00 4.59
Dull Red
#BB3F3F
ΔE00 4.97
Ruby
#CA0147
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B42F40 #2FB4A3
analogous
#B42F83 #B42F40 #B4612F
triadic
#B42F40 #40B42F #2F40B4
tetradic
#B42F40 #83B42F #2FB4A3 #612FB4
square
#B42F40 #83B42F #2FB4A3 #612FB4
split-complementary
#B42F40 #2FB461 #2F83B4
monochromatic
#53161D #83222F #B42F40 #D14F60 #DE808C
Accessibility & contrast
On white
6.14
#B42F40 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#B42F40 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B42F40
6.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B42F40 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B42F40 | 1.00 | 6.14 | 3.42 | 6.14 |
| #FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#545040
Deuteranopia (green-blind)
#766C3C
Tritanopia (blue-blind)
#C60036
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #b42f40; /* rgb */ color: rgb(180, 47, 64); /* oklch */ color: oklch(51.6% 0.169 18.6);
Tailwind
colors: {
custom: {
50: '#d27274',
500: '#b42f40',
950: '#000000',
},
}SCSS
$custom: #b42f40; $custom-light: #d27274; $custom-dark: #000000;
JSON
{
"hex": "#b42f40",
"rgb": {
"r": 180,
"g": 47,
"b": 64
},
"hsl": {
"h": 352.331,
"s": 58.59,
"l": 44.51
},
"oklch": {
"l": 0.51569,
"c": 0.16859,
"h": 18.6
},
"luminance": 0.12106
}Semantic roles & 50–950 ramp
primary
#B42F40
secondary
#78C7BD
accent
#E2CE46
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150908
muted
#837B7B