#BA3E27#BA3E27
#BA3E27 is a mid, vivid red. Relative luminance 0.140; OKLCH L 53.8% C 0.164 H 32.7°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).
Color values
| HEX | #BA3E27 |
|---|---|
| RGB | rgb(186, 62, 39) |
| HSL | hsl(9, 65%, 44%) |
| HSV | hsv(9, 79%, 73%) |
| CMYK | cmyk(0%, 66.7%, 79%, 27.1%) |
| CIE-LAB | lab(44.28, 48.74, 40.64) |
| CIE-LCH | lch(44.28, 63.46, 39.82°) |
| OKLab | oklab(53.83% 0.138 0.0885) |
| OKLCH | oklch(53.83% 0.164 32.7) |
| XYZ | xyz(22.3411, 14.0341, 3.4515) |
| Luminance | 0.1403 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rusty Red
#AF2F0D
ΔE00 4.97
Brick
#A03623
ΔE00 5.83
Rust
#B7410E
ΔE00 5.87
Firebrick
#B22222
ΔE00 6.15
Brownish Red
#9E3623
ΔE00 6.21
Rust Red
#AA2704
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA3E27 #27A3BA
analogous
#BA275A #BA3E27 #BA8827
triadic
#BA3E27 #27BA3E #3E27BA
tetradic
#BA3E27 #5ABA27 #27A3BA #8827BA
square
#BA3E27 #5ABA27 #27A3BA #8827BA
split-complementary
#BA3E27 #27BA88 #275ABA
monochromatic
#551C12 #872D1C #BA3E27 #D85D46 #E38979
Accessibility & contrast
On white
5.52
#BA3E27 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.81
#BA3E27 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA3E27
5.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA3E27 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA3E27 | 1.00 | 5.52 | 3.81 | 5.52 |
| #FFFFFF | 5.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#625723
Deuteranopia (green-blind)
#807322
Tritanopia (blue-blind)
#CD183A
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #ba3e27; /* rgb */ color: rgb(186, 62, 39); /* oklch */ color: oklch(53.8% 0.164 32.7);
Tailwind
colors: {
custom: {
50: '#d77a63',
500: '#ba3e27',
950: '#000000',
},
}SCSS
$custom: #ba3e27; $custom-light: #d77a63; $custom-dark: #000000;
JSON
{
"hex": "#ba3e27",
"rgb": {
"r": 186,
"g": 62,
"b": 39
},
"hsl": {
"h": 9.388,
"s": 65.333,
"l": 44.118
},
"oklch": {
"l": 0.53826,
"c": 0.16397,
"h": 32.7
},
"luminance": 0.14031
}Semantic roles & 50–950 ramp
primary
#BA3E27
secondary
#72BDCB
accent
#CEE840
background
#FEF7F5
surface
#FDEEEA
border
#D5C9C6
text
#160A05
muted
#847C79