#BA3F2A#BA3F2A
#BA3F2A is a mid, vivid red. Relative luminance 0.142; OKLCH L 54.0% C 0.162 H 32.1°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).
Color values
| HEX | #BA3F2A |
|---|---|
| RGB | rgb(186, 63, 42) |
| HSL | hsl(9, 63%, 45%) |
| HSV | hsv(9, 77%, 73%) |
| CMYK | cmyk(0%, 66.1%, 77.4%, 27.1%) |
| CIE-LAB | lab(44.47, 48.42, 39.23) |
| CIE-LCH | lch(44.47, 62.32, 39.01°) |
| OKLab | oklab(53.97% 0.1376 0.0864) |
| OKLCH | oklch(53.97% 0.162 32.1) |
| XYZ | xyz(22.4476, 14.1646, 3.7421) |
| Luminance | 0.1416 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rusty Red
#AF2F0D
ΔE00 5.49
Brick
#A03623
ΔE00 5.88
Firebrick
#B22222
ΔE00 6.01
Reddish
#C44240
ΔE00 6.06
Brownish Red
#9E3623
ΔE00 6.26
Dull Red
#BB3F3F
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA3F2A #2AA5BA
analogous
#BA2A5D #BA3F2A #BA872A
triadic
#BA3F2A #2ABA3F #3F2ABA
tetradic
#BA3F2A #5DBA2A #2AA5BA #872ABA
square
#BA3F2A #5DBA2A #2AA5BA #872ABA
split-complementary
#BA3F2A #2ABA87 #2A5DBA
monochromatic
#561D13 #882E1F #BA3F2A #D65F4B #E28C7D
Accessibility & contrast
On white
5.48
#BA3F2A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.83
#BA3F2A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA3F2A
5.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA3F2A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA3F2A | 1.00 | 5.48 | 3.83 | 5.48 |
| #FFFFFF | 5.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#625827
Deuteranopia (green-blind)
#817325
Tritanopia (blue-blind)
#CD1B3B
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #ba3f2a; /* rgb */ color: rgb(186, 63, 42); /* oklch */ color: oklch(54.0% 0.162 32.1);
Tailwind
colors: {
custom: {
50: '#d77a65',
500: '#ba3f2a',
950: '#000000',
},
}SCSS
$custom: #ba3f2a; $custom-light: #d77a65; $custom-dark: #000000;
JSON
{
"hex": "#ba3f2a",
"rgb": {
"r": 186,
"g": 63,
"b": 42
},
"hsl": {
"h": 8.75,
"s": 63.158,
"l": 44.706
},
"oklch": {
"l": 0.53975,
"c": 0.16246,
"h": 32.1
},
"luminance": 0.14161
}Semantic roles & 50–950 ramp
primary
#BA3F2A
secondary
#76BECA
accent
#CEE642
background
#FEF7F6
surface
#FCEEEB
border
#D5C9C6
text
#160A06
muted
#847C7A