#BA3B2A#BA3B2A
#BA3B2A is a mid, vivid red. Relative luminance 0.137; OKLCH L 53.5% C 0.166 H 30.7°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).
Color values
| HEX | #BA3B2A |
|---|---|
| RGB | rgb(186, 59, 42) |
| HSL | hsl(7, 63%, 45%) |
| HSV | hsv(7, 77%, 73%) |
| CMYK | cmyk(0%, 68.3%, 77.4%, 27.1%) |
| CIE-LAB | lab(43.85, 50.09, 38.59) |
| CIE-LCH | lch(43.85, 63.23, 37.61°) |
| OKLab | oklab(53.51% 0.1428 0.085) |
| OKLCH | oklch(53.51% 0.166 30.7) |
| XYZ | xyz(22.2341, 13.7375, 3.6709) |
| Luminance | 0.1373 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 5.00
Brick
#A03623
ΔE00 5.53
Dull Red
#BB3F3F
ΔE00 5.58
Reddish
#C44240
ΔE00 5.59
Rusty Red
#AF2F0D
ΔE00 5.63
Scarlet
#BE0119
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA3B2A #2AA9BA
analogous
#BA2A61 #BA3B2A #BA832A
triadic
#BA3B2A #2ABA3B #3B2ABA
tetradic
#BA3B2A #61BA2A #2AA9BA #832ABA
square
#BA3B2A #61BA2A #2AA9BA #832ABA
split-complementary
#BA3B2A #2ABA83 #2A61BA
monochromatic
#561B13 #882B1F #BA3B2A #D65B4B #E2897D
Accessibility & contrast
On white
5.60
#BA3B2A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.75
#BA3B2A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA3B2A
5.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA3B2A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA3B2A | 1.00 | 5.60 | 3.75 | 5.60 |
| #FFFFFF | 5.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#605627
Deuteranopia (green-blind)
#7F7225
Tritanopia (blue-blind)
#CD1138
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #ba3b2a; /* rgb */ color: rgb(186, 59, 42); /* oklch */ color: oklch(53.5% 0.166 30.7);
Tailwind
colors: {
custom: {
50: '#d77865',
500: '#ba3b2a',
950: '#000000',
},
}SCSS
$custom: #ba3b2a; $custom-light: #d77865; $custom-dark: #000000;
JSON
{
"hex": "#ba3b2a",
"rgb": {
"r": 186,
"g": 59,
"b": 42
},
"hsl": {
"h": 7.083,
"s": 63.158,
"l": 44.706
},
"oklch": {
"l": 0.53514,
"c": 0.16616,
"h": 30.7
},
"luminance": 0.13734
}Semantic roles & 50–950 ramp
primary
#BA3B2A
secondary
#76C0CA
accent
#D3E642
background
#FEF7F6
surface
#FDEEEB
border
#D5C9C6
text
#160905
muted
#847B7A