#BA323A#BA323A
#BA323A is a mid, vivid red. Relative luminance 0.130; OKLCH L 52.8% C 0.172 H 22.4°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).
Color values
| HEX | #BA323A |
|---|---|
| RGB | rgb(186, 50, 58) |
| HSL | hsl(356, 58%, 46%) |
| HSV | hsv(356, 73%, 73%) |
| CMYK | cmyk(0%, 73.1%, 68.8%, 27.1%) |
| CIE-LAB | lab(42.81, 54.24, 28.14) |
| CIE-LCH | lch(42.81, 61.11, 27.42°) |
| OKLab | oklab(52.8% 0.1592 0.0655) |
| OKLCH | oklch(52.8% 0.172 22.4) |
| XYZ | xyz(22.1565, 13.0291, 5.3504) |
| Luminance | 0.1303 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dull Red
#BB3F3F
ΔE00 2.49
Cardinal
#C41E3A
ΔE00 2.76
Lipstick Red
#C0022F
ΔE00 3.76
Cherry (survey)
#CF0234
ΔE00 4.05
Reddish
#C44240
ΔE00 4.31
Dusty Red
#B9484E
ΔE00 4.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA323A #32BAB2
analogous
#BA327E #BA323A #BA6E32
triadic
#BA323A #3ABA32 #323ABA
tetradic
#BA323A #7EBA32 #32BAB2 #6E32BA
square
#BA323A #7EBA32 #32BAB2 #6E32BA
split-complementary
#BA323A #32BA6E #327EBA
monochromatic
#5A181C #8A252B #BA323A #D2575E #DF888D
Accessibility & contrast
On white
5.82
#BA323A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.61
#BA323A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA323A
5.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA323A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA323A | 1.00 | 5.82 | 3.61 | 5.82 |
| #FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#595339
Deuteranopia (green-blind)
#7B7036
Tritanopia (blue-blind)
#CC0036
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #ba323a; /* rgb */ color: rgb(186, 50, 58); /* oklch */ color: oklch(52.8% 0.172 22.4);
Tailwind
colors: {
custom: {
50: '#d77470',
500: '#ba323a',
950: '#000000',
},
}SCSS
$custom: #ba323a; $custom-light: #d77470; $custom-dark: #000000;
JSON
{
"hex": "#ba323a",
"rgb": {
"r": 186,
"g": 50,
"b": 58
},
"hsl": {
"h": 356.471,
"s": 57.627,
"l": 46.275
},
"oklch": {
"l": 0.52797,
"c": 0.1722,
"h": 22.4
},
"luminance": 0.13026
}Semantic roles & 50–950 ramp
primary
#BA323A
secondary
#7FC9C4
accent
#E1D847
background
#FEF7F6
surface
#FCEDEC
border
#D5C8C7
text
#160907
muted
#847B7A