#BA2C42#BA2C42
#BA2C42 is a mid, vivid red. Relative luminance 0.126; OKLCH L 52.4% C 0.177 H 17.7°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2C42 |
|---|---|
| RGB | rgb(186, 44, 66) |
| HSL | hsl(351, 62%, 45%) |
| HSV | hsv(351, 76%, 73%) |
| CMYK | cmyk(0%, 76.3%, 64.5%, 27.1%) |
| CIE-LAB | lab(42.21, 56.72, 22.49) |
| CIE-LCH | lch(42.21, 61.01, 21.63°) |
| OKLab | oklab(52.4% 0.1688 0.0539) |
| OKLCH | oklch(52.4% 0.177 17.7) |
| XYZ | xyz(22.1361, 12.6371, 6.4268) |
| Luminance | 0.1263 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Cardinal
#C41E3A
ΔE00 2.67
Rose Red
#BE013C
ΔE00 3.10
Ruby
#CA0147
ΔE00 4.02
Lipstick Red
#C0022F
ΔE00 4.41
Cherry (survey)
#CF0234
ΔE00 4.91
Rouge
#AB1239
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2C42 #2CBAA4
analogous
#BA2C89 #BA2C42 #BA5D2C
triadic
#BA2C42 #42BA2C #2C42BA
tetradic
#BA2C42 #89BA2C #2CBAA4 #5D2CBA
square
#BA2C42 #89BA2C #2CBAA4 #5D2CBA
split-complementary
#BA2C42 #2CBA5D #2C89BA
monochromatic
#57151F #892030 #BA2C42 #D54E63 #E1808F
Accessibility & contrast
On white
5.95
#BA2C42 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#BA2C42 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2C42
5.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2C42 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2C42 | 1.00 | 5.95 | 3.53 | 5.95 |
| #FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#555142
Deuteranopia (green-blind)
#796E3E
Tritanopia (blue-blind)
#CC0036
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #ba2c42; /* rgb */ color: rgb(186, 44, 66); /* oklch */ color: oklch(52.4% 0.177 17.7);
Tailwind
colors: {
custom: {
50: '#d67276',
500: '#ba2c42',
950: '#000000',
},
}SCSS
$custom: #ba2c42; $custom-light: #d67276; $custom-dark: #000000;
JSON
{
"hex": "#ba2c42",
"rgb": {
"r": 186,
"g": 44,
"b": 66
},
"hsl": {
"h": 350.704,
"s": 61.739,
"l": 45.098
},
"oklch": {
"l": 0.52397,
"c": 0.17721,
"h": 17.7
},
"luminance": 0.12634
}Semantic roles & 50–950 ramp
primary
#BA2C42
secondary
#78CABD
accent
#E5CC43
background
#FEF7F7
surface
#FCEDED
border
#D5C8C8
text
#160908
muted
#847B7B