#BA3339#BA3339
#BA3339 is a mid, vivid red. Relative luminance 0.131; OKLCH L 52.9% C 0.171 H 23.0°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).
Color values
| HEX | #BA3339 |
|---|---|
| RGB | rgb(186, 51, 57) |
| HSL | hsl(357, 57%, 46%) |
| HSV | hsv(357, 73%, 73%) |
| CMYK | cmyk(0%, 72.6%, 69.4%, 27.1%) |
| CIE-LAB | lab(42.92, 53.83, 28.88) |
| CIE-LCH | lch(42.92, 61.09, 28.21°) |
| OKLab | oklab(52.88% 0.1577 0.067) |
| OKLCH | oklch(52.88% 0.171 23) |
| XYZ | xyz(22.1745, 13.1055, 5.2321) |
| Luminance | 0.1310 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dull Red
#BB3F3F
ΔE00 2.24
Cardinal
#C41E3A
ΔE00 3.12
Lipstick Red
#C0022F
ΔE00 3.96
Reddish
#C44240
ΔE00 4.05
Cherry (survey)
#CF0234
ΔE00 4.18
Dusty Red
#B9484E
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA3339 #33BAB4
analogous
#BA337D #BA3339 #BA7133
triadic
#BA3339 #39BA33 #3339BA
tetradic
#BA3339 #7DBA33 #33BAB4 #7133BA
square
#BA3339 #7DBA33 #33BAB4 #7133BA
split-complementary
#BA3339 #33BA71 #337DBA
monochromatic
#5A191C #8A262A #BA3339 #D1595E #DF898D
Accessibility & contrast
On white
5.80
#BA3339 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.62
#BA3339 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA3339
5.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA3339 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA3339 | 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)
#5A5338
Deuteranopia (green-blind)
#7B7035
Tritanopia (blue-blind)
#CC0037
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #ba3339; /* rgb */ color: rgb(186, 51, 57); /* oklch */ color: oklch(52.9% 0.171 23.0);
Tailwind
colors: {
custom: {
50: '#d7756f',
500: '#ba3339',
950: '#000000',
},
}SCSS
$custom: #ba3339; $custom-light: #d7756f; $custom-dark: #000000;
JSON
{
"hex": "#ba3339",
"rgb": {
"r": 186,
"g": 51,
"b": 57
},
"hsl": {
"h": 357.333,
"s": 56.962,
"l": 46.471
},
"oklch": {
"l": 0.52878,
"c": 0.17137,
"h": 23
},
"luminance": 0.13102
}Semantic roles & 50–950 ramp
primary
#BA3339
secondary
#80C9C5
accent
#E0D948
background
#FEF7F6
surface
#FCEDEC
border
#D5C8C7
text
#160907
muted
#847B7A