#B42B40#B42B40
#B42B40 is a mid, vivid red. Relative luminance 0.118; OKLCH L 51.2% C 0.172 H 17.7°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).
Color values
| HEX | #B42B40 |
|---|---|
| RGB | rgb(180, 43, 64) |
| HSL | hsl(351, 61%, 44%) |
| HSV | hsv(351, 76%, 71%) |
| CMYK | cmyk(0%, 76.1%, 64.4%, 29.4%) |
| CIE-LAB | lab(40.90, 55.13, 21.82) |
| CIE-LCH | lch(40.90, 59.30, 21.59°) |
| OKLab | oklab(51.21% 0.1642 0.0523) |
| OKLCH | oklch(51.21% 0.172 17.7) |
| XYZ | xyz(20.6139, 11.8043, 6.0425) |
| Luminance | 0.1180 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rose Red
#BE013C
ΔE00 2.95
Cardinal
#C41E3A
ΔE00 3.42
Rouge
#AB1239
ΔE00 3.91
Lipstick Red
#C0022F
ΔE00 4.46
Ruby
#CA0147
ΔE00 4.62
Cherry (survey)
#CF0234
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B42B40 #2BB49F
analogous
#B42B84 #B42B40 #B45A2B
triadic
#B42B40 #40B42B #2B40B4
tetradic
#B42B40 #84B42B #2BB49F #5A2BB4
square
#B42B40 #84B42B #2BB49F #5A2BB4
split-complementary
#B42B40 #2BB45A #2B84B4
monochromatic
#51131D #831F2E #B42B40 #D3495E #DF7A8A
Accessibility & contrast
On white
6.25
#B42B40 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#B42B40 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B42B40
6.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B42B40 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B42B40 | 1.00 | 6.25 | 3.36 | 6.25 |
| #FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#524E40
Deuteranopia (green-blind)
#756B3C
Tritanopia (blue-blind)
#C60034
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #b42b40; /* rgb */ color: rgb(180, 43, 64); /* oklch */ color: oklch(51.2% 0.172 17.7);
Tailwind
colors: {
custom: {
50: '#d27074',
500: '#b42b40',
950: '#000000',
},
}SCSS
$custom: #b42b40; $custom-light: #d27074; $custom-dark: #000000;
JSON
{
"hex": "#b42b40",
"rgb": {
"r": 180,
"g": 43,
"b": 64
},
"hsl": {
"h": 350.803,
"s": 61.435,
"l": 43.725
},
"oklch": {
"l": 0.51208,
"c": 0.17229,
"h": 17.7
},
"luminance": 0.11801
}Semantic roles & 50–950 ramp
primary
#B42B40
secondary
#73C7BB
accent
#E5CC43
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150808
muted
#837B7B