#BA2C45#BA2C45
#BA2C45 is a mid, vivid red. Relative luminance 0.127; OKLCH L 52.5% C 0.177 H 16.4°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2C45 |
|---|---|
| RGB | rgb(186, 44, 69) |
| HSL | hsl(349, 62%, 45%) |
| HSV | hsv(349, 76%, 73%) |
| CMYK | cmyk(0%, 76.3%, 62.9%, 27.1%) |
| CIE-LAB | lab(42.27, 56.90, 20.70) |
| CIE-LCH | lch(42.27, 60.55, 20.00°) |
| OKLab | oklab(52.46% 0.17 0.0501) |
| OKLCH | oklch(52.46% 0.177 16.4) |
| XYZ | xyz(22.2269, 12.6734, 6.9049) |
| Luminance | 0.1267 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rose Red
#BE013C
ΔE00 3.05
Cardinal
#C41E3A
ΔE00 3.42
Ruby
#CA0147
ΔE00 3.48
Rouge
#AB1239
ΔE00 4.87
Lipstick
#D5174E
ΔE00 5.02
Lipstick Red
#C0022F
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2C45 #2CBAA1
analogous
#BA2C8C #BA2C45 #BA5A2C
triadic
#BA2C45 #45BA2C #2C45BA
tetradic
#BA2C45 #8CBA2C #2CBAA1 #5A2CBA
square
#BA2C45 #8CBA2C #2CBAA1 #5A2CBA
split-complementary
#BA2C45 #2CBA5A #2C8CBA
monochromatic
#571520 #892033 #BA2C45 #D54E66 #E18091
Accessibility & contrast
On white
5.94
#BA2C45 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#BA2C45 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2C45
5.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2C45 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2C45 | 1.00 | 5.94 | 3.53 | 5.94 |
| #FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#545145
Deuteranopia (green-blind)
#786E41
Tritanopia (blue-blind)
#CC0037
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #ba2c45; /* rgb */ color: rgb(186, 44, 69); /* oklch */ color: oklch(52.5% 0.177 16.4);
Tailwind
colors: {
custom: {
50: '#d67278',
500: '#ba2c45',
950: '#000000',
},
}SCSS
$custom: #ba2c45; $custom-light: #d67278; $custom-dark: #000000;
JSON
{
"hex": "#ba2c45",
"rgb": {
"r": 186,
"g": 44,
"b": 69
},
"hsl": {
"h": 349.437,
"s": 61.739,
"l": 45.098
},
"oklch": {
"l": 0.52457,
"c": 0.17722,
"h": 16.4
},
"luminance": 0.1267
}Semantic roles & 50–950 ramp
primary
#BA2C45
secondary
#78CABB
accent
#E5C843
background
#FEF7F7
surface
#FCEDED
border
#D5C8C8
text
#160909
muted
#847B7B