#BA3338#BA3338
#BA3338 is a mid, vivid red. Relative luminance 0.131; OKLCH L 52.9% C 0.171 H 23.4°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).
Color values
| HEX | #BA3338 |
|---|---|
| RGB | rgb(186, 51, 56) |
| HSL | hsl(358, 57%, 46%) |
| HSV | hsv(358, 73%, 73%) |
| CMYK | cmyk(0%, 72.6%, 69.9%, 27.1%) |
| CIE-LAB | lab(42.91, 53.78, 29.46) |
| CIE-LCH | lch(42.91, 61.32, 28.71°) |
| OKLab | oklab(52.86% 0.1574 0.0681) |
| OKLCH | oklch(52.86% 0.171 23.4) |
| XYZ | xyz(22.1498, 13.0956, 5.1020) |
| Luminance | 0.1309 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dull Red
#BB3F3F
ΔE00 2.23
Cardinal
#C41E3A
ΔE00 3.33
Reddish
#C44240
ΔE00 3.99
Lipstick Red
#C0022F
ΔE00 4.02
Cherry (survey)
#CF0234
ΔE00 4.25
Firebrick
#B22222
ΔE00 5.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA3338 #33BAB5
analogous
#BA337C #BA3338 #BA7233
triadic
#BA3338 #38BA33 #3338BA
tetradic
#BA3338 #7CBA33 #33BAB5 #7233BA
square
#BA3338 #7CBA33 #33BAB5 #7233BA
split-complementary
#BA3338 #33BA72 #337CBA
monochromatic
#5A191B #8A262A #BA3338 #D1595D #DF898C
Accessibility & contrast
On white
5.80
#BA3338 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.62
#BA3338 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA3338
5.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA3338 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA3338 | 1.00 | 5.80 | 3.62 | 5.80 |
| #FFFFFF | 5.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A5337
Deuteranopia (green-blind)
#7C7034
Tritanopia (blue-blind)
#CC0036
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #ba3338; /* rgb */ color: rgb(186, 51, 56); /* oklch */ color: oklch(52.9% 0.171 23.4);
Tailwind
colors: {
custom: {
50: '#d7756e',
500: '#ba3338',
950: '#000000',
},
}SCSS
$custom: #ba3338; $custom-light: #d7756e; $custom-dark: #000000;
JSON
{
"hex": "#ba3338",
"rgb": {
"r": 186,
"g": 51,
"b": 56
},
"hsl": {
"h": 357.778,
"s": 56.962,
"l": 46.471
},
"oklch": {
"l": 0.52862,
"c": 0.17147,
"h": 23.4
},
"luminance": 0.13092
}Semantic roles & 50–950 ramp
primary
#BA3338
secondary
#80C9C6
accent
#E0DB48
background
#FEF7F6
surface
#FCEDEC
border
#D5C8C7
text
#160907
muted
#847B7A