#BA2847#BA2847
#BA2847 is a mid, vivid red. Relative luminance 0.124; OKLCH L 52.2% C 0.181 H 14.8°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2847 |
|---|---|
| RGB | rgb(186, 40, 71) |
| HSL | hsl(347, 65%, 44%) |
| HSV | hsv(347, 78%, 73%) |
| CMYK | cmyk(0%, 78.5%, 61.8%, 27.1%) |
| CIE-LAB | lab(41.87, 58.25, 18.93) |
| CIE-LCH | lch(41.87, 61.25, 18.01°) |
| OKLab | oklab(52.17% 0.1748 0.0461) |
| OKLCH | oklch(52.17% 0.181 14.8) |
| XYZ | xyz(22.1481, 12.4149, 7.1901) |
| Luminance | 0.1241 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rose Red
#BE013C
ΔE00 2.89
Ruby
#CA0147
ΔE00 2.92
Cardinal
#C41E3A
ΔE00 4.33
Rouge
#AB1239
ΔE00 4.55
Lipstick
#D5174E
ΔE00 4.89
Raspberry (survey)
#B00149
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2847 #28BA9B
analogous
#BA2890 #BA2847 #BA5228
triadic
#BA2847 #47BA28 #2847BA
tetradic
#BA2847 #90BA28 #28BA9B #5228BA
square
#BA2847 #90BA28 #28BA9B #5228BA
split-complementary
#BA2847 #28BA52 #2890BA
monochromatic
#551221 #881D34 #BA2847 #D84866 #E27A90
Accessibility & contrast
On white
6.03
#BA2847 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.48
#BA2847 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2847
6.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2847 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2847 | 1.00 | 6.03 | 3.48 | 6.03 |
| #FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#524F47
Deuteranopia (green-blind)
#776E43
Tritanopia (blue-blind)
#CC0035
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #ba2847; /* rgb */ color: rgb(186, 40, 71); /* oklch */ color: oklch(52.2% 0.181 14.8);
Tailwind
colors: {
custom: {
50: '#d67079',
500: '#ba2847',
950: '#000000',
},
}SCSS
$custom: #ba2847; $custom-light: #d67079; $custom-dark: #000000;
JSON
{
"hex": "#ba2847",
"rgb": {
"r": 186,
"g": 40,
"b": 71
},
"hsl": {
"h": 347.26,
"s": 64.602,
"l": 44.314
},
"oklch": {
"l": 0.52174,
"c": 0.18074,
"h": 14.8
},
"luminance": 0.12412
}Semantic roles & 50–950 ramp
primary
#BA2847
secondary
#73CAB8
accent
#E8C440
background
#FEF7F7
surface
#FCEDED
border
#D5C8C8
text
#160809
muted
#847B7B