#B42F42#B42F42
#B42F42 is a mid, vivid red. Relative luminance 0.121; OKLCH L 51.6% C 0.169 H 17.7°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #B42F42 |
|---|---|
| RGB | rgb(180, 47, 66) |
| HSL | hsl(351, 59%, 45%) |
| HSV | hsv(351, 74%, 71%) |
| CMYK | cmyk(0%, 73.9%, 63.3%, 29.4%) |
| CIE-LAB | lab(41.43, 53.90, 21.25) |
| CIE-LCH | lch(41.43, 57.94, 21.52°) |
| OKLab | oklab(51.61% 0.1606 0.0512) |
| OKLCH | oklch(51.61% 0.169 17.7) |
| XYZ | xyz(20.8244, 12.1327, 6.3985) |
| Luminance | 0.1213 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rose Red
#BE013C
ΔE00 3.41
Cardinal
#C41E3A
ΔE00 3.54
Rouge
#AB1239
ΔE00 4.41
Ruby
#CA0147
ΔE00 4.70
Lipstick Red
#C0022F
ΔE00 4.83
Dusty Red
#B9484E
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B42F42 #2FB4A1
analogous
#B42F84 #B42F42 #B45F2F
triadic
#B42F42 #42B42F #2F42B4
tetradic
#B42F42 #84B42F #2FB4A1 #5F2FB4
square
#B42F42 #84B42F #2FB4A1 #5F2FB4
split-complementary
#B42F42 #2FB45F #2F84B4
monochromatic
#53161E #832230 #B42F42 #D14F62 #DE808D
Accessibility & contrast
On white
6.13
#B42F42 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#B42F42 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B42F42
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B42F42 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B42F42 | 1.00 | 6.13 | 3.43 | 6.13 |
| #FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#545042
Deuteranopia (green-blind)
#766C3E
Tritanopia (blue-blind)
#C50037
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #b42f42; /* rgb */ color: rgb(180, 47, 66); /* oklch */ color: oklch(51.6% 0.169 17.7);
Tailwind
colors: {
custom: {
50: '#d27276',
500: '#b42f42',
950: '#000000',
},
}SCSS
$custom: #b42f42; $custom-light: #d27276; $custom-dark: #000000;
JSON
{
"hex": "#b42f42",
"rgb": {
"r": 180,
"g": 47,
"b": 66
},
"hsl": {
"h": 351.429,
"s": 58.59,
"l": 44.51
},
"oklch": {
"l": 0.51608,
"c": 0.16856,
"h": 17.7
},
"luminance": 0.1213
}Semantic roles & 50–950 ramp
primary
#B42F42
secondary
#78C7BB
accent
#E2CC46
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150908
muted
#837B7B