#BA3139#BA3139
#BA3139 is a mid, vivid red. Relative luminance 0.129; OKLCH L 52.7% C 0.173 H 22.5°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #BA3139 |
|---|---|
| RGB | rgb(186, 49, 57) |
| HSL | hsl(356, 58%, 46%) |
| HSV | hsv(356, 74%, 73%) |
| CMYK | cmyk(0%, 73.7%, 69.4%, 27.1%) |
| CIE-LAB | lab(42.66, 54.54, 28.57) |
| CIE-LCH | lch(42.66, 61.57, 27.64°) |
| OKLab | oklab(52.69% 0.16 0.0663) |
| OKLCH | oklch(52.69% 0.173 22.5) |
| XYZ | xyz(22.0890, 12.9345, 5.2036) |
| Luminance | 0.1293 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dull Red
#BB3F3F
ΔE00 2.60
Cardinal
#C41E3A
ΔE00 2.77
Lipstick Red
#C0022F
ΔE00 3.62
Cherry (survey)
#CF0234
ΔE00 4.00
Reddish
#C44240
ΔE00 4.40
Dusty Red
#B9484E
ΔE00 5.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA3139 #31BAB2
analogous
#BA317D #BA3139 #BA6D31
triadic
#BA3139 #39BA31 #3139BA
tetradic
#BA3139 #7DBA31 #31BAB2 #6D31BA
square
#BA3139 #7DBA31 #31BAB2 #6D31BA
split-complementary
#BA3139 #31BA6D #317DBA
monochromatic
#59171B #8A242A #BA3139 #D2565D #DF868B
Accessibility & contrast
On white
5.86
#BA3139 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.59
#BA3139 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA3139
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA3139 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA3139 | 1.00 | 5.86 | 3.59 | 5.86 |
| #FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#585238
Deuteranopia (green-blind)
#7B6F35
Tritanopia (blue-blind)
#CC0035
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #ba3139; /* rgb */ color: rgb(186, 49, 57); /* oklch */ color: oklch(52.7% 0.173 22.5);
Tailwind
colors: {
custom: {
50: '#d7746f',
500: '#ba3139',
950: '#000000',
},
}SCSS
$custom: #ba3139; $custom-light: #d7746f; $custom-dark: #000000;
JSON
{
"hex": "#ba3139",
"rgb": {
"r": 186,
"g": 49,
"b": 57
},
"hsl": {
"h": 356.496,
"s": 58.298,
"l": 46.078
},
"oklch": {
"l": 0.52686,
"c": 0.17319,
"h": 22.5
},
"luminance": 0.12931
}Semantic roles & 50–950 ramp
primary
#BA3139
secondary
#7EC9C4
accent
#E2D846
background
#FEF7F6
surface
#FCEDEC
border
#D5C8C7
text
#160907
muted
#847B7A