#BA3335#BA3335
#BA3335 is a mid, vivid red. Relative luminance 0.131; OKLCH L 52.8% C 0.172 H 24.6°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).
Color values
| HEX | #BA3335 |
|---|---|
| RGB | rgb(186, 51, 53) |
| HSL | hsl(359, 57%, 46%) |
| HSV | hsv(359, 73%, 73%) |
| CMYK | cmyk(0%, 72.6%, 71.5%, 27.1%) |
| CIE-LAB | lab(42.86, 53.64, 31.20) |
| CIE-LCH | lch(42.86, 62.05, 30.18°) |
| OKLab | oklab(52.82% 0.1562 0.0714) |
| OKLCH | oklch(52.82% 0.172 24.6) |
| XYZ | xyz(22.0786, 13.0671, 4.7271) |
| Luminance | 0.1306 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dull Red
#BB3F3F
ΔE00 2.43
Reddish
#C44240
ΔE00 3.95
Cardinal
#C41E3A
ΔE00 4.04
Lipstick Red
#C0022F
ΔE00 4.34
Firebrick
#B22222
ΔE00 4.34
Cherry (survey)
#CF0234
ΔE00 4.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA3335 #33BAB8
analogous
#BA3379 #BA3335 #BA7533
triadic
#BA3335 #35BA33 #3335BA
tetradic
#BA3335 #79BA33 #33BAB8 #7533BA
square
#BA3335 #79BA33 #33BAB8 #7533BA
split-complementary
#BA3335 #33BA75 #3379BA
monochromatic
#5A191A #8A2627 #BA3335 #D1595B #DF898A
Accessibility & contrast
On white
5.81
#BA3335 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.61
#BA3335 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA3335
5.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA3335 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA3335 | 1.00 | 5.81 | 3.61 | 5.81 |
| #FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A5334
Deuteranopia (green-blind)
#7C7030
Tritanopia (blue-blind)
#CD0035
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #ba3335; /* rgb */ color: rgb(186, 51, 53); /* oklch */ color: oklch(52.8% 0.172 24.6);
Tailwind
colors: {
custom: {
50: '#d7746c',
500: '#ba3335',
950: '#000000',
},
}SCSS
$custom: #ba3335; $custom-light: #d7746c; $custom-dark: #000000;
JSON
{
"hex": "#ba3335",
"rgb": {
"r": 186,
"g": 51,
"b": 53
},
"hsl": {
"h": 359.111,
"s": 56.962,
"l": 46.471
},
"oklch": {
"l": 0.52816,
"c": 0.17179,
"h": 24.6
},
"luminance": 0.13064
}Semantic roles & 50–950 ramp
primary
#BA3335
secondary
#80C9C7
accent
#E0DE48
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160907
muted
#847B7A