#BA3A40#BA3A40
#BA3A40 is a mid, vivid red. Relative luminance 0.138; OKLCH L 53.7% C 0.164 H 22.1°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).
Color values
| HEX | #BA3A40 |
|---|---|
| RGB | rgb(186, 58, 64) |
| HSL | hsl(357, 52%, 48%) |
| HSV | hsv(357, 69%, 73%) |
| CMYK | cmyk(0%, 68.8%, 65.6%, 27.1%) |
| CIE-LAB | lab(44.00, 51.55, 25.99) |
| CIE-LCH | lch(44.00, 57.73, 26.75°) |
| OKLab | oklab(53.72% 0.1519 0.0616) |
| OKLCH | oklch(53.72% 0.164 22.1) |
| XYZ | xyz(22.6905, 13.8386, 6.3258) |
| Luminance | 0.1384 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dull Red
#BB3F3F
ΔE00 1.66
Dusty Red
#B9484E
ΔE00 3.42
Cardinal
#C41E3A
ΔE00 3.48
Reddish
#C44240
ΔE00 3.56
Cherry (survey)
#CF0234
ΔE00 4.83
Lipstick Red
#C0022F
ΔE00 5.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA3A40 #3ABAB4
analogous
#BA3A80 #BA3A40 #BA743A
triadic
#BA3A40 #40BA3A #3A40BA
tetradic
#BA3A40 #80BA3A #3ABAB4 #743ABA
square
#BA3A40 #80BA3A #3ABAB4 #743ABA
split-complementary
#BA3A40 #3ABA74 #3A80BA
monochromatic
#5D1D20 #8B2B30 #BA3A40 #CE6368 #DD9295
Accessibility & contrast
On white
5.57
#BA3A40 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.77
#BA3A40 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA3A40
5.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA3A40 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA3A40 | 1.00 | 5.57 | 3.77 | 5.57 |
| #FFFFFF | 5.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D573F
Deuteranopia (green-blind)
#7D723C
Tritanopia (blue-blind)
#CC173D
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #ba3a40; /* rgb */ color: rgb(186, 58, 64); /* oklch */ color: oklch(53.7% 0.164 22.1);
Tailwind
colors: {
custom: {
50: '#d67874',
500: '#ba3a40',
950: '#000000',
},
}SCSS
$custom: #ba3a40; $custom-light: #d67874; $custom-dark: #000000;
JSON
{
"hex": "#ba3a40",
"rgb": {
"r": 186,
"g": 58,
"b": 64
},
"hsl": {
"h": 357.188,
"s": 52.459,
"l": 47.843
},
"oklch": {
"l": 0.53718,
"c": 0.16393,
"h": 22.1
},
"luminance": 0.13835
}Semantic roles & 50–950 ramp
primary
#BA3A40
secondary
#88C8C5
accent
#DCD54C
background
#FEF7F7
surface
#FCEEED
border
#D5C9C8
text
#160908
muted
#847B7B