#BA3239#BA3239
#BA3239 is a mid, vivid red. Relative luminance 0.130; OKLCH L 52.8% C 0.172 H 22.8°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).
Color values
| HEX | #BA3239 |
|---|---|
| RGB | rgb(186, 50, 57) |
| HSL | hsl(357, 58%, 46%) |
| HSV | hsv(357, 73%, 73%) |
| CMYK | cmyk(0%, 73.1%, 69.4%, 27.1%) |
| CIE-LAB | lab(42.79, 54.19, 28.72) |
| CIE-LCH | lch(42.79, 61.33, 27.92°) |
| OKLab | oklab(52.78% 0.1589 0.0667) |
| OKLCH | oklch(52.78% 0.172 22.8) |
| XYZ | xyz(22.1313, 13.0190, 5.2177) |
| Luminance | 0.1302 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dull Red
#BB3F3F
ΔE00 2.42
Cardinal
#C41E3A
ΔE00 2.94
Lipstick Red
#C0022F
ΔE00 3.78
Cherry (survey)
#CF0234
ΔE00 4.08
Reddish
#C44240
ΔE00 4.22
Dusty Red
#B9484E
ΔE00 5.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA3239 #32BAB3
analogous
#BA327D #BA3239 #BA6F32
triadic
#BA3239 #39BA32 #3239BA
tetradic
#BA3239 #7DBA32 #32BAB3 #6F32BA
square
#BA3239 #7DBA32 #32BAB3 #6F32BA
split-complementary
#BA3239 #32BA6F #327DBA
monochromatic
#5A181B #8A252A #BA3239 #D2575E #DF888C
Accessibility & contrast
On white
5.83
#BA3239 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.60
#BA3239 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA3239
5.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA3239 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA3239 | 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)
#595238
Deuteranopia (green-blind)
#7B7035
Tritanopia (blue-blind)
#CC0036
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #ba3239; /* rgb */ color: rgb(186, 50, 57); /* oklch */ color: oklch(52.8% 0.172 22.8);
Tailwind
colors: {
custom: {
50: '#d7746f',
500: '#ba3239',
950: '#000000',
},
}SCSS
$custom: #ba3239; $custom-light: #d7746f; $custom-dark: #000000;
JSON
{
"hex": "#ba3239",
"rgb": {
"r": 186,
"g": 50,
"b": 57
},
"hsl": {
"h": 356.912,
"s": 57.627,
"l": 46.275
},
"oklch": {
"l": 0.52781,
"c": 0.17228,
"h": 22.8
},
"luminance": 0.13016
}Semantic roles & 50–950 ramp
primary
#BA3239
secondary
#7FC9C5
accent
#E1D947
background
#FEF7F6
surface
#FCEDEC
border
#D5C8C7
text
#160907
muted
#847B7A