#BA3831#BA3831
#BA3831 is a mid, vivid red. Relative luminance 0.135; OKLCH L 53.3% C 0.168 H 27.4°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).
Color values
| HEX | #BA3831 |
|---|---|
| RGB | rgb(186, 56, 49) |
| HSL | hsl(3, 58%, 46%) |
| HSV | hsv(3, 74%, 73%) |
| CMYK | cmyk(0%, 69.9%, 73.7%, 27.1%) |
| CIE-LAB | lab(43.50, 51.57, 34.26) |
| CIE-LCH | lch(43.50, 61.91, 33.60°) |
| OKLab | oklab(53.27% 0.1489 0.0773) |
| OKLCH | oklch(53.27% 0.168 27.4) |
| XYZ | xyz(22.2207, 13.4925, 4.3394) |
| Luminance | 0.1349 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dull Red
#BB3F3F
ΔE00 3.29
Reddish
#C44240
ΔE00 3.96
Firebrick
#B22222
ΔE00 4.17
Scarlet
#BE0119
ΔE00 5.20
Brown
#A52A2A
ΔE00 5.52
Brick
#A03623
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA3831 #31B3BA
analogous
#BA316E #BA3831 #BA7C31
triadic
#BA3831 #31BA38 #3831BA
tetradic
#BA3831 #6EBA31 #31B3BA #7C31BA
square
#BA3831 #6EBA31 #31B3BA #7C31BA
split-complementary
#BA3831 #31BA7C #316EBA
monochromatic
#591B17 #8A2924 #BA3831 #D25C56 #DF8B86
Accessibility & contrast
On white
5.68
#BA3831 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.70
#BA3831 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA3831
5.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA3831 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA3831 | 1.00 | 5.68 | 3.70 | 5.68 |
| #FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D552F
Deuteranopia (green-blind)
#7E712C
Tritanopia (blue-blind)
#CD0938
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #ba3831; /* rgb */ color: rgb(186, 56, 49); /* oklch */ color: oklch(53.3% 0.168 27.4);
Tailwind
colors: {
custom: {
50: '#d77769',
500: '#ba3831',
950: '#000000',
},
}SCSS
$custom: #ba3831; $custom-light: #d77769; $custom-dark: #000000;
JSON
{
"hex": "#ba3831",
"rgb": {
"r": 186,
"g": 56,
"b": 49
},
"hsl": {
"h": 3.066,
"s": 58.298,
"l": 46.078
},
"oklch": {
"l": 0.53271,
"c": 0.16775,
"h": 27.4
},
"luminance": 0.13489
}Semantic roles & 50–950 ramp
primary
#BA3831
secondary
#7EC5C9
accent
#DAE246
background
#FEF7F6
surface
#FCEEEB
border
#D5C9C6
text
#160906
muted
#847B7A