#BA3236#BA3236
#BA3236 is a mid, vivid red. Relative luminance 0.130; OKLCH L 52.7% C 0.173 H 23.9°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).
Color values
| HEX | #BA3236 |
|---|---|
| RGB | rgb(186, 50, 54) |
| HSL | hsl(358, 58%, 46%) |
| HSV | hsv(358, 73%, 73%) |
| CMYK | cmyk(0%, 73.1%, 71%, 27.1%) |
| CIE-LAB | lab(42.75, 54.04, 30.47) |
| CIE-LCH | lch(42.75, 62.04, 29.41°) |
| OKLab | oklab(52.73% 0.1578 0.07) |
| OKLCH | oklch(52.73% 0.173 23.9) |
| XYZ | xyz(22.0586, 12.9900, 4.8351) |
| Luminance | 0.1299 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dull Red
#BB3F3F
ΔE00 2.44
Cardinal
#C41E3A
ΔE00 3.61
Lipstick Red
#C0022F
ΔE00 4.01
Reddish
#C44240
ΔE00 4.08
Cherry (survey)
#CF0234
ΔE00 4.33
Firebrick
#B22222
ΔE00 4.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA3236 #32BAB6
analogous
#BA327A #BA3236 #BA7232
triadic
#BA3236 #36BA32 #3236BA
tetradic
#BA3236 #7ABA32 #32BAB6 #7232BA
square
#BA3236 #7ABA32 #32BAB6 #7232BA
split-complementary
#BA3236 #32BA72 #327ABA
monochromatic
#5A181A #8A2528 #BA3236 #D2575B #DF888A
Accessibility & contrast
On white
5.84
#BA3236 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.60
#BA3236 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA3236
5.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA3236 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA3236 | 1.00 | 5.84 | 3.60 | 5.84 |
| #FFFFFF | 5.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#595235
Deuteranopia (green-blind)
#7B7032
Tritanopia (blue-blind)
#CD0035
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #ba3236; /* rgb */ color: rgb(186, 50, 54); /* oklch */ color: oklch(52.7% 0.173 23.9);
Tailwind
colors: {
custom: {
50: '#d7746d',
500: '#ba3236',
950: '#000000',
},
}SCSS
$custom: #ba3236; $custom-light: #d7746d; $custom-dark: #000000;
JSON
{
"hex": "#ba3236",
"rgb": {
"r": 186,
"g": 50,
"b": 54
},
"hsl": {
"h": 358.235,
"s": 57.627,
"l": 46.275
},
"oklch": {
"l": 0.52734,
"c": 0.17259,
"h": 23.9
},
"luminance": 0.12987
}Semantic roles & 50–950 ramp
primary
#BA3236
secondary
#7FC9C6
accent
#E1DC47
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160907
muted
#847B7A