#BA2946#BA2946
#BA2946 is a mid, vivid red. Relative luminance 0.125; OKLCH L 52.2% C 0.180 H 15.4°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2946 |
|---|---|
| RGB | rgb(186, 41, 70) |
| HSL | hsl(348, 64%, 45%) |
| HSV | hsv(348, 78%, 73%) |
| CMYK | cmyk(0%, 78%, 62.4%, 27.1%) |
| CIE-LAB | lab(41.95, 57.89, 19.67) |
| CIE-LCH | lch(41.95, 61.14, 18.77°) |
| OKLab | oklab(52.23% 0.1734 0.0478) |
| OKLCH | oklch(52.23% 0.18 15.4) |
| XYZ | xyz(22.1505, 12.4705, 7.0339) |
| Luminance | 0.1247 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rose Red
#BE013C
ΔE00 2.82
Ruby
#CA0147
ΔE00 3.07
Cardinal
#C41E3A
ΔE00 3.95
Rouge
#AB1239
ΔE00 4.58
Lipstick
#D5174E
ΔE00 4.92
Lipstick Red
#C0022F
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2946 #29BA9D
analogous
#BA298F #BA2946 #BA5529
triadic
#BA2946 #46BA29 #2946BA
tetradic
#BA2946 #8FBA29 #29BA9D #5529BA
square
#BA2946 #8FBA29 #29BA9D #5529BA
split-complementary
#BA2946 #29BA55 #298FBA
monochromatic
#561320 #881E33 #BA2946 #D74966 #E27B90
Accessibility & contrast
On white
6.01
#BA2946 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.49
#BA2946 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2946
6.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2946 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2946 | 1.00 | 6.01 | 3.49 | 6.01 |
| #FFFFFF | 6.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#535046
Deuteranopia (green-blind)
#776E42
Tritanopia (blue-blind)
#CC0036
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #ba2946; /* rgb */ color: rgb(186, 41, 70); /* oklch */ color: oklch(52.2% 0.180 15.4);
Tailwind
colors: {
custom: {
50: '#d67179',
500: '#ba2946',
950: '#000000',
},
}SCSS
$custom: #ba2946; $custom-light: #d67179; $custom-dark: #000000;
JSON
{
"hex": "#ba2946",
"rgb": {
"r": 186,
"g": 41,
"b": 70
},
"hsl": {
"h": 348,
"s": 63.877,
"l": 44.51
},
"oklch": {
"l": 0.52231,
"c": 0.17985,
"h": 15.4
},
"luminance": 0.12467
}Semantic roles & 50–950 ramp
primary
#BA2946
secondary
#75CAB9
accent
#E7C641
background
#FEF7F7
surface
#FCEDED
border
#D5C8C8
text
#160809
muted
#847B7B