#BA3B40#BA3B40
#BA3B40 is a mid, vivid red. Relative luminance 0.139; OKLCH L 53.8% C 0.163 H 22.4°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).
Color values
| HEX | #BA3B40 |
|---|---|
| RGB | rgb(186, 59, 64) |
| HSL | hsl(358, 52%, 48%) |
| HSV | hsv(358, 68%, 73%) |
| CMYK | cmyk(0%, 68.3%, 65.6%, 27.1%) |
| CIE-LAB | lab(44.15, 51.15, 26.17) |
| CIE-LCH | lch(44.15, 57.46, 27.10°) |
| OKLab | oklab(53.83% 0.1507 0.062) |
| OKLCH | oklch(53.83% 0.163 22.4) |
| XYZ | xyz(22.7414, 13.9404, 6.3428) |
| Luminance | 0.1394 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dull Red
#BB3F3F
ΔE00 1.41
Reddish
#C44240
ΔE00 3.34
Dusty Red
#B9484E
ΔE00 3.38
Cardinal
#C41E3A
ΔE00 3.68
Cherry (survey)
#CF0234
ΔE00 4.94
Lipstick Red
#C0022F
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA3B40 #3BBAB5
analogous
#BA3B7F #BA3B40 #BA753B
triadic
#BA3B40 #40BA3B #3B40BA
tetradic
#BA3B40 #7FBA3B #3BBAB5 #753BBA
square
#BA3B40 #7FBA3B #3BBAB5 #753BBA
split-complementary
#BA3B40 #3BBA75 #3B7FBA
monochromatic
#5D1E20 #8C2C30 #BA3B40 #CE6468 #DD9396
Accessibility & contrast
On white
5.54
#BA3B40 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.79
#BA3B40 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA3B40
5.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA3B40 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA3B40 | 1.00 | 5.54 | 3.79 | 5.54 |
| #FFFFFF | 5.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D573F
Deuteranopia (green-blind)
#7D723C
Tritanopia (blue-blind)
#CC193E
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #ba3b40; /* rgb */ color: rgb(186, 59, 64); /* oklch */ color: oklch(53.8% 0.163 22.4);
Tailwind
colors: {
custom: {
50: '#d67974',
500: '#ba3b40',
950: '#000000',
},
}SCSS
$custom: #ba3b40; $custom-light: #d67974; $custom-dark: #000000;
JSON
{
"hex": "#ba3b40",
"rgb": {
"r": 186,
"g": 59,
"b": 64
},
"hsl": {
"h": 357.638,
"s": 51.837,
"l": 48.039
},
"oklch": {
"l": 0.53828,
"c": 0.16291,
"h": 22.4
},
"luminance": 0.13937
}Semantic roles & 50–950 ramp
primary
#BA3B40
secondary
#89C8C5
accent
#DBD64D
background
#FEF7F7
surface
#FCEEED
border
#D5C9C8
text
#160908
muted
#847B7B