#BA333B#BA333B
#BA333B is a mid, vivid red. Relative luminance 0.131; OKLCH L 52.9% C 0.171 H 22.2°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).
Color values
| HEX | #BA333B |
|---|---|
| RGB | rgb(186, 51, 59) |
| HSL | hsl(356, 57%, 46%) |
| HSV | hsv(356, 73%, 73%) |
| CMYK | cmyk(0%, 72.6%, 68.3%, 27.1%) |
| CIE-LAB | lab(42.95, 53.94, 27.71) |
| CIE-LCH | lch(42.95, 60.64, 27.19°) |
| OKLab | oklab(52.91% 0.1585 0.0647) |
| OKLCH | oklch(52.91% 0.171 22.2) |
| XYZ | xyz(22.2254, 13.1258, 5.5001) |
| Luminance | 0.1312 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dull Red
#BB3F3F
ΔE00 2.39
Cardinal
#C41E3A
ΔE00 2.77
Lipstick Red
#C0022F
ΔE00 3.91
Cherry (survey)
#CF0234
ΔE00 4.12
Reddish
#C44240
ΔE00 4.24
Dusty Red
#B9484E
ΔE00 4.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA333B #33BAB2
analogous
#BA337F #BA333B #BA6E33
triadic
#BA333B #3BBA33 #333BBA
tetradic
#BA333B #7FBA33 #33BAB2 #6E33BA
square
#BA333B #7FBA33 #33BAB2 #6E33BA
split-complementary
#BA333B #33BA6E #337FBA
monochromatic
#5A191D #8A262C #BA333B #D15960 #DF898E
Accessibility & contrast
On white
5.79
#BA333B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.62
#BA333B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA333B
5.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA333B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA333B | 1.00 | 5.79 | 3.62 | 5.79 |
| #FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#59533A
Deuteranopia (green-blind)
#7B7037
Tritanopia (blue-blind)
#CC0037
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #ba333b; /* rgb */ color: rgb(186, 51, 59); /* oklch */ color: oklch(52.9% 0.171 22.2);
Tailwind
colors: {
custom: {
50: '#d77571',
500: '#ba333b',
950: '#000000',
},
}SCSS
$custom: #ba333b; $custom-light: #d77571; $custom-dark: #000000;
JSON
{
"hex": "#ba333b",
"rgb": {
"r": 186,
"g": 51,
"b": 59
},
"hsl": {
"h": 356.444,
"s": 56.962,
"l": 46.471
},
"oklch": {
"l": 0.5291,
"c": 0.17119,
"h": 22.2
},
"luminance": 0.13123
}Semantic roles & 50–950 ramp
primary
#BA333B
secondary
#80C9C4
accent
#E0D748
background
#FEF7F6
surface
#FCEDEC
border
#D5C8C7
text
#160907
muted
#847B7A