#BA3237#BA3237
#BA3237 is a mid, vivid red. Relative luminance 0.130; OKLCH L 52.7% C 0.172 H 23.5°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).
Color values
| HEX | #BA3237 |
|---|---|
| RGB | rgb(186, 50, 55) |
| HSL | hsl(358, 58%, 46%) |
| HSV | hsv(358, 73%, 73%) |
| CMYK | cmyk(0%, 73.1%, 70.4%, 27.1%) |
| CIE-LAB | lab(42.76, 54.09, 29.89) |
| CIE-LCH | lch(42.76, 61.80, 28.92°) |
| OKLab | oklab(52.75% 0.1581 0.0689) |
| OKLCH | oklch(52.75% 0.172 23.5) |
| XYZ | xyz(22.0823, 12.9995, 4.9601) |
| Luminance | 0.1300 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dull Red
#BB3F3F
ΔE00 2.40
Cardinal
#C41E3A
ΔE00 3.37
Lipstick Red
#C0022F
ΔE00 3.91
Reddish
#C44240
ΔE00 4.11
Cherry (survey)
#CF0234
ΔE00 4.22
Firebrick
#B22222
ΔE00 4.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA3237 #32BAB5
analogous
#BA327B #BA3237 #BA7132
triadic
#BA3237 #37BA32 #3237BA
tetradic
#BA3237 #7BBA32 #32BAB5 #7132BA
square
#BA3237 #7BBA32 #32BAB5 #7132BA
split-complementary
#BA3237 #32BA71 #327BBA
monochromatic
#5A181A #8A2529 #BA3237 #D2575C #DF888B
Accessibility & contrast
On white
5.83
#BA3237 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.60
#BA3237 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA3237
5.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA3237 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA3237 | 1.00 | 5.83 | 3.60 | 5.83 |
| #FFFFFF | 5.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#595236
Deuteranopia (green-blind)
#7B7033
Tritanopia (blue-blind)
#CD0035
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #ba3237; /* rgb */ color: rgb(186, 50, 55); /* oklch */ color: oklch(52.7% 0.172 23.5);
Tailwind
colors: {
custom: {
50: '#d7746e',
500: '#ba3237',
950: '#000000',
},
}SCSS
$custom: #ba3237; $custom-light: #d7746e; $custom-dark: #000000;
JSON
{
"hex": "#ba3237",
"rgb": {
"r": 186,
"g": 50,
"b": 55
},
"hsl": {
"h": 357.794,
"s": 57.627,
"l": 46.275
},
"oklch": {
"l": 0.52749,
"c": 0.17248,
"h": 23.5
},
"luminance": 0.12996
}Semantic roles & 50–950 ramp
primary
#BA3237
secondary
#7FC9C6
accent
#E1DB47
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160907
muted
#847B7A