#BA3140#BA3140
#BA3140 is a mid, vivid red. Relative luminance 0.130; OKLCH L 52.8% C 0.173 H 19.6°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).
Color values
| HEX | #BA3140 |
|---|---|
| RGB | rgb(186, 49, 64) |
| HSL | hsl(353, 58%, 46%) |
| HSV | hsv(353, 74%, 73%) |
| CMYK | cmyk(0%, 73.7%, 65.6%, 27.1%) |
| CIE-LAB | lab(42.78, 54.92, 24.45) |
| CIE-LCH | lch(42.78, 60.12, 23.99°) |
| OKLab | oklab(52.81% 0.1627 0.0581) |
| OKLCH | oklch(52.81% 0.173 19.6) |
| XYZ | xyz(22.2758, 13.0092, 6.1876) |
| Luminance | 0.1301 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Cardinal
#C41E3A
ΔE00 2.30
Dull Red
#BB3F3F
ΔE00 3.71
Lipstick Red
#C0022F
ΔE00 4.11
Rose Red
#BE013C
ΔE00 4.23
Dusty Red
#B9484E
ΔE00 4.33
Cherry (survey)
#CF0234
ΔE00 4.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA3140 #31BAAB
analogous
#BA3184 #BA3140 #BA6631
triadic
#BA3140 #40BA31 #3140BA
tetradic
#BA3140 #84BA31 #31BAAB #6631BA
square
#BA3140 #84BA31 #31BAAB #6631BA
split-complementary
#BA3140 #31BA66 #3184BA
monochromatic
#59171F #8A242F #BA3140 #D25663 #DF8690
Accessibility & contrast
On white
5.83
#BA3140 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.60
#BA3140 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA3140
5.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA3140 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA3140 | 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)
#585340
Deuteranopia (green-blind)
#7A703C
Tritanopia (blue-blind)
#CC0038
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #ba3140; /* rgb */ color: rgb(186, 49, 64); /* oklch */ color: oklch(52.8% 0.173 19.6);
Tailwind
colors: {
custom: {
50: '#d67474',
500: '#ba3140',
950: '#000000',
},
}SCSS
$custom: #ba3140; $custom-light: #d67474; $custom-dark: #000000;
JSON
{
"hex": "#ba3140",
"rgb": {
"r": 186,
"g": 49,
"b": 64
},
"hsl": {
"h": 353.431,
"s": 58.298,
"l": 46.078
},
"oklch": {
"l": 0.52806,
"c": 0.17273,
"h": 19.6
},
"luminance": 0.13006
}Semantic roles & 50–950 ramp
primary
#BA3140
secondary
#7EC9C1
accent
#E2D146
background
#FEF7F7
surface
#FCEDED
border
#D5C8C8
text
#160908
muted
#847B7B