#BA3838#BA3838
#BA3838 is a mid, vivid red. Relative luminance 0.136; OKLCH L 53.4% C 0.167 H 24.8°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).
Color values
| HEX | #BA3838 |
|---|---|
| RGB | rgb(186, 56, 56) |
| HSL | hsl(0, 54%, 47%) |
| HSV | hsv(0, 70%, 73%) |
| CMYK | cmyk(0%, 69.9%, 69.9%, 27.1%) |
| CIE-LAB | lab(43.59, 51.90, 30.28) |
| CIE-LCH | lch(43.59, 60.09, 30.26°) |
| OKLab | oklab(53.37% 0.1514 0.07) |
| OKLCH | oklch(53.37% 0.167 24.8) |
| XYZ | xyz(22.3801, 13.5563, 5.1788) |
| Luminance | 0.1355 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dull Red
#BB3F3F
ΔE00 1.64
Reddish
#C44240
ΔE00 3.23
Cardinal
#C41E3A
ΔE00 4.38
Cherry (survey)
#CF0234
ΔE00 4.97
Firebrick
#B22222
ΔE00 5.02
Lipstick Red
#C0022F
ΔE00 5.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA3838 #38BABA
analogous
#BA3879 #BA3838 #BA7938
triadic
#BA3838 #38BA38 #3838BA
tetradic
#BA3838 #79BA38 #38BABA #7938BA
square
#BA3838 #79BA38 #38BABA #7938BA
split-complementary
#BA3838 #38BA79 #3879BA
monochromatic
#5C1C1C #8B2A2A #BA3838 #CF6060 #DD8F8F
Accessibility & contrast
On white
5.66
#BA3838 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.71
#BA3838 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA3838
5.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA3838 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA3838 | 1.00 | 5.66 | 3.71 | 5.66 |
| #FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D5537
Deuteranopia (green-blind)
#7D7134
Tritanopia (blue-blind)
#CC0D3A
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #ba3838; /* rgb */ color: rgb(186, 56, 56); /* oklch */ color: oklch(53.4% 0.167 24.8);
Tailwind
colors: {
custom: {
50: '#d7776f',
500: '#ba3838',
950: '#000000',
},
}SCSS
$custom: #ba3838; $custom-light: #d7776f; $custom-dark: #000000;
JSON
{
"hex": "#ba3838",
"rgb": {
"r": 186,
"g": 56,
"b": 56
},
"hsl": {
"h": 0,
"s": 53.719,
"l": 47.451
},
"oklch": {
"l": 0.53371,
"c": 0.16677,
"h": 24.8
},
"luminance": 0.13553
}Semantic roles & 50–950 ramp
primary
#BA3838
secondary
#86C8C8
accent
#DDDD4B
background
#FEF7F6
surface
#FCEEEC
border
#D5C9C7
text
#160907
muted
#847B7A