#BA3331#BA3331
#BA3331 is a mid, vivid red. Relative luminance 0.130; OKLCH L 52.8% C 0.172 H 26.0°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).
Color values
| HEX | #BA3331 |
|---|---|
| RGB | rgb(186, 51, 49) |
| HSL | hsl(1, 58%, 46%) |
| HSV | hsv(1, 74%, 73%) |
| CMYK | cmyk(0%, 72.6%, 73.7%, 27.1%) |
| CIE-LAB | lab(42.81, 53.45, 33.49) |
| CIE-LCH | lch(42.81, 63.08, 32.07°) |
| OKLab | oklab(52.76% 0.1548 0.0756) |
| OKLCH | oklch(52.76% 0.172 26) |
| XYZ | xyz(21.9904, 13.0319, 4.2626) |
| Luminance | 0.1303 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dull Red
#BB3F3F
ΔE00 3.11
Firebrick
#B22222
ΔE00 3.68
Reddish
#C44240
ΔE00 4.20
Scarlet
#BE0119
ΔE00 4.78
Brown
#A52A2A
ΔE00 4.84
Lipstick Red
#C0022F
ΔE00 5.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA3331 #31B8BA
analogous
#BA3173 #BA3331 #BA7731
triadic
#BA3331 #31BA33 #3331BA
tetradic
#BA3331 #73BA31 #31B8BA #7731BA
square
#BA3331 #73BA31 #31B8BA #7731BA
split-complementary
#BA3331 #31BA77 #3173BA
monochromatic
#591817 #8A2624 #BA3331 #D25856 #DF8886
Accessibility & contrast
On white
5.82
#BA3331 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.61
#BA3331 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA3331
5.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA3331 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA3331 | 1.00 | 5.82 | 3.61 | 5.82 |
| #FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A522F
Deuteranopia (green-blind)
#7C702C
Tritanopia (blue-blind)
#CD0034
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #ba3331; /* rgb */ color: rgb(186, 51, 49); /* oklch */ color: oklch(52.8% 0.172 26.0);
Tailwind
colors: {
custom: {
50: '#d77469',
500: '#ba3331',
950: '#000000',
},
}SCSS
$custom: #ba3331; $custom-light: #d77469; $custom-dark: #000000;
JSON
{
"hex": "#ba3331",
"rgb": {
"r": 186,
"g": 51,
"b": 49
},
"hsl": {
"h": 0.876,
"s": 58.298,
"l": 46.078
},
"oklch": {
"l": 0.5276,
"c": 0.17229,
"h": 26
},
"luminance": 0.13029
}Semantic roles & 50–950 ramp
primary
#BA3331
secondary
#7EC8C9
accent
#DFE246
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#160906
muted
#847B7A