#BA2C40#BA2C40
#BA2C40 is a mid, vivid red. Relative luminance 0.126; OKLCH L 52.4% C 0.177 H 18.5°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2C40 |
|---|---|
| RGB | rgb(186, 44, 64) |
| HSL | hsl(352, 62%, 45%) |
| HSV | hsv(352, 76%, 73%) |
| CMYK | cmyk(0%, 76.3%, 65.6%, 27.1%) |
| CIE-LAB | lab(42.18, 56.60, 23.68) |
| CIE-LCH | lch(42.18, 61.36, 22.71°) |
| OKLab | oklab(52.36% 0.168 0.0564) |
| OKLCH | oklch(52.36% 0.177 18.5) |
| XYZ | xyz(22.0782, 12.6140, 6.1217) |
| Luminance | 0.1261 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Cardinal
#C41E3A
ΔE00 2.25
Rose Red
#BE013C
ΔE00 3.29
Lipstick Red
#C0022F
ΔE00 3.95
Ruby
#CA0147
ΔE00 4.45
Cherry (survey)
#CF0234
ΔE00 4.51
Dull Red
#BB3F3F
ΔE00 4.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2C40 #2CBAA6
analogous
#BA2C87 #BA2C40 #BA5F2C
triadic
#BA2C40 #40BA2C #2C40BA
tetradic
#BA2C40 #87BA2C #2CBAA6 #5F2CBA
square
#BA2C40 #87BA2C #2CBAA6 #5F2CBA
split-complementary
#BA2C40 #2CBA5F #2C87BA
monochromatic
#57151E #89202F #BA2C40 #D54E61 #E1808D
Accessibility & contrast
On white
5.96
#BA2C40 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#BA2C40 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2C40
5.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2C40 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2C40 | 1.00 | 5.96 | 3.52 | 5.96 |
| #FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#555040
Deuteranopia (green-blind)
#796E3C
Tritanopia (blue-blind)
#CC0035
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #ba2c40; /* rgb */ color: rgb(186, 44, 64); /* oklch */ color: oklch(52.4% 0.177 18.5);
Tailwind
colors: {
custom: {
50: '#d67274',
500: '#ba2c40',
950: '#000000',
},
}SCSS
$custom: #ba2c40; $custom-light: #d67274; $custom-dark: #000000;
JSON
{
"hex": "#ba2c40",
"rgb": {
"r": 186,
"g": 44,
"b": 64
},
"hsl": {
"h": 351.549,
"s": 61.739,
"l": 45.098
},
"oklch": {
"l": 0.52359,
"c": 0.17724,
"h": 18.5
},
"luminance": 0.12611
}Semantic roles & 50–950 ramp
primary
#BA2C40
secondary
#78CABE
accent
#E5CE43
background
#FEF7F7
surface
#FCEDED
border
#D5C8C8
text
#160908
muted
#847B7B