#BA2945#BA2945
#BA2945 is a mid, vivid red. Relative luminance 0.125; OKLCH L 52.2% C 0.180 H 15.8°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2945 |
|---|---|
| RGB | rgb(186, 41, 69) |
| HSL | hsl(348, 64%, 45%) |
| HSV | hsv(348, 78%, 73%) |
| CMYK | cmyk(0%, 78%, 62.9%, 27.1%) |
| CIE-LAB | lab(41.94, 57.83, 20.27) |
| CIE-LCH | lch(41.94, 61.28, 19.32°) |
| OKLab | oklab(52.21% 0.173 0.0491) |
| OKLCH | oklch(52.21% 0.18 15.8) |
| XYZ | xyz(22.1192, 12.4580, 6.8690) |
| Luminance | 0.1245 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rose Red
#BE013C
ΔE00 2.72
Ruby
#CA0147
ΔE00 3.18
Cardinal
#C41E3A
ΔE00 3.67
Rouge
#AB1239
ΔE00 4.55
Lipstick
#D5174E
ΔE00 5.00
Lipstick Red
#C0022F
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2945 #29BA9E
analogous
#BA298E #BA2945 #BA5629
triadic
#BA2945 #45BA29 #2945BA
tetradic
#BA2945 #8EBA29 #29BA9E #5629BA
square
#BA2945 #8EBA29 #29BA9E #5629BA
split-complementary
#BA2945 #29BA56 #298EBA
monochromatic
#561320 #881E32 #BA2945 #D74965 #E27B8F
Accessibility & contrast
On white
6.02
#BA2945 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.49
#BA2945 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2945
6.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2945 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2945 | 1.00 | 6.02 | 3.49 | 6.02 |
| #FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#535045
Deuteranopia (green-blind)
#776E41
Tritanopia (blue-blind)
#CC0035
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #ba2945; /* rgb */ color: rgb(186, 41, 69); /* oklch */ color: oklch(52.2% 0.180 15.8);
Tailwind
colors: {
custom: {
50: '#d67178',
500: '#ba2945',
950: '#000000',
},
}SCSS
$custom: #ba2945; $custom-light: #d67178; $custom-dark: #000000;
JSON
{
"hex": "#ba2945",
"rgb": {
"r": 186,
"g": 41,
"b": 69
},
"hsl": {
"h": 348.414,
"s": 63.877,
"l": 44.51
},
"oklch": {
"l": 0.52211,
"c": 0.17982,
"h": 15.8
},
"luminance": 0.12455
}Semantic roles & 50–950 ramp
primary
#BA2945
secondary
#75CABA
accent
#E7C741
background
#FEF7F7
surface
#FCEDED
border
#D5C8C8
text
#160808
muted
#847B7B