#BA3842#BA3842
#BA3842 is a mid, vivid red. Relative luminance 0.137; OKLCH L 53.5% C 0.166 H 20.6°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).
Color values
| HEX | #BA3842 |
|---|---|
| RGB | rgb(186, 56, 66) |
| HSL | hsl(355, 54%, 47%) |
| HSV | hsv(355, 70%, 73%) |
| CMYK | cmyk(0%, 69.9%, 64.5%, 27.1%) |
| CIE-LAB | lab(43.75, 52.46, 24.46) |
| CIE-LCH | lch(43.75, 57.88, 25.00°) |
| OKLab | oklab(53.54% 0.1552 0.0583) |
| OKLCH | oklch(53.54% 0.166 20.6) |
| XYZ | xyz(22.6496, 13.6641, 6.5980) |
| Luminance | 0.1366 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dull Red
#BB3F3F
ΔE00 2.66
Cardinal
#C41E3A
ΔE00 3.07
Dusty Red
#B9484E
ΔE00 3.30
Reddish
#C44240
ΔE00 4.39
Cherry (survey)
#CF0234
ΔE00 4.79
Lipstick Red
#C0022F
ΔE00 4.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA3842 #38BAB0
analogous
#BA3883 #BA3842 #BA6F38
triadic
#BA3842 #42BA38 #3842BA
tetradic
#BA3842 #83BA38 #38BAB0 #6F38BA
square
#BA3842 #83BA38 #38BAB0 #6F38BA
split-complementary
#BA3842 #38BA6F #3883BA
monochromatic
#5C1C21 #8B2A31 #BA3842 #CF6069 #DD8F95
Accessibility & contrast
On white
5.63
#BA3842 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.73
#BA3842 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA3842
5.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA3842 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA3842 | 1.00 | 5.63 | 3.73 | 5.63 |
| #FFFFFF | 5.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B5641
Deuteranopia (green-blind)
#7C723E
Tritanopia (blue-blind)
#CC133D
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #ba3842; /* rgb */ color: rgb(186, 56, 66); /* oklch */ color: oklch(53.5% 0.166 20.6);
Tailwind
colors: {
custom: {
50: '#d67776',
500: '#ba3842',
950: '#000000',
},
}SCSS
$custom: #ba3842; $custom-light: #d67776; $custom-dark: #000000;
JSON
{
"hex": "#ba3842",
"rgb": {
"r": 186,
"g": 56,
"b": 66
},
"hsl": {
"h": 355.385,
"s": 53.719,
"l": 47.451
},
"oklch": {
"l": 0.5354,
"c": 0.16581,
"h": 20.6
},
"luminance": 0.13661
}Semantic roles & 50–950 ramp
primary
#BA3842
secondary
#86C8C3
accent
#DDD24B
background
#FEF7F7
surface
#FCEEED
border
#D5C9C8
text
#160908
muted
#847B7B