#BA3A27#BA3A27
#BA3A27 is a mid, vivid red. Relative luminance 0.136; OKLCH L 53.4% C 0.168 H 31.4°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).
Color values
| HEX | #BA3A27 |
|---|---|
| RGB | rgb(186, 58, 39) |
| HSL | hsl(8, 65%, 44%) |
| HSV | hsv(8, 79%, 73%) |
| CMYK | cmyk(0%, 68.8%, 79%, 27.1%) |
| CIE-LAB | lab(43.68, 50.38, 40.02) |
| CIE-LCH | lch(43.68, 64.34, 38.46°) |
| OKLab | oklab(53.37% 0.1431 0.0872) |
| OKLCH | oklch(53.37% 0.168 31.4) |
| XYZ | xyz(22.1315, 13.6150, 3.3817) |
| Luminance | 0.1361 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rusty Red
#AF2F0D
ΔE00 5.06
Firebrick
#B22222
ΔE00 5.12
Brick
#A03623
ΔE00 5.42
Scarlet
#BE0119
ΔE00 5.66
Brownish Red
#9E3623
ΔE00 5.82
Reddish
#C44240
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA3A27 #27A7BA
analogous
#BA275E #BA3A27 #BA8427
triadic
#BA3A27 #27BA3A #3A27BA
tetradic
#BA3A27 #5EBA27 #27A7BA #8427BA
square
#BA3A27 #5EBA27 #27A7BA #8427BA
split-complementary
#BA3A27 #27BA84 #275EBA
monochromatic
#551A12 #872A1C #BA3A27 #D85946 #E38679
Accessibility & contrast
On white
5.64
#BA3A27 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.72
#BA3A27 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA3A27
5.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA3A27 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA3A27 | 1.00 | 5.64 | 3.72 | 5.64 |
| #FFFFFF | 5.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F5524
Deuteranopia (green-blind)
#7F7222
Tritanopia (blue-blind)
#CD0D37
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #ba3a27; /* rgb */ color: rgb(186, 58, 39); /* oklch */ color: oklch(53.4% 0.168 31.4);
Tailwind
colors: {
custom: {
50: '#d77863',
500: '#ba3a27',
950: '#000000',
},
}SCSS
$custom: #ba3a27; $custom-light: #d77863; $custom-dark: #000000;
JSON
{
"hex": "#ba3a27",
"rgb": {
"r": 186,
"g": 58,
"b": 39
},
"hsl": {
"h": 7.755,
"s": 65.333,
"l": 44.118
},
"oklch": {
"l": 0.53371,
"c": 0.1676,
"h": 31.4
},
"luminance": 0.13612
}Semantic roles & 50–950 ramp
primary
#BA3A27
secondary
#72BFCB
accent
#D2E840
background
#FEF7F5
surface
#FDEEEA
border
#D5C9C6
text
#160905
muted
#847B79