#BA2747#BA2747
#BA2747 is a mid, vivid red. Relative luminance 0.123; OKLCH L 52.1% C 0.182 H 14.6°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2747 |
|---|---|
| RGB | rgb(186, 39, 71) |
| HSL | hsl(347, 65%, 44%) |
| HSV | hsv(347, 79%, 73%) |
| CMYK | cmyk(0%, 79%, 61.8%, 27.1%) |
| CIE-LAB | lab(41.76, 58.54, 18.80) |
| CIE-LCH | lch(41.76, 61.49, 17.80°) |
| OKLab | oklab(52.1% 0.1757 0.0458) |
| OKLCH | oklch(52.1% 0.182 14.6) |
| XYZ | xyz(22.1149, 12.3484, 7.1790) |
| Luminance | 0.1235 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rose Red
#BE013C
ΔE00 2.84
Ruby
#CA0147
ΔE00 2.87
Cardinal
#C41E3A
ΔE00 4.43
Rouge
#AB1239
ΔE00 4.47
Lipstick
#D5174E
ΔE00 4.91
Raspberry (survey)
#B00149
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2747 #27BA9A
analogous
#BA2791 #BA2747 #BA5127
triadic
#BA2747 #47BA27 #2747BA
tetradic
#BA2747 #91BA27 #27BA9A #5127BA
square
#BA2747 #91BA27 #27BA9A #5127BA
split-complementary
#BA2747 #27BA51 #2791BA
monochromatic
#551220 #871C34 #BA2747 #D84666 #E37990
Accessibility & contrast
On white
6.05
#BA2747 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#BA2747 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2747
6.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2747 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2747 | 1.00 | 6.05 | 3.47 | 6.05 |
| #FFFFFF | 6.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#514F47
Deuteranopia (green-blind)
#776D43
Tritanopia (blue-blind)
#CC0035
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #ba2747; /* rgb */ color: rgb(186, 39, 71); /* oklch */ color: oklch(52.1% 0.182 14.6);
Tailwind
colors: {
custom: {
50: '#d67079',
500: '#ba2747',
950: '#000000',
},
}SCSS
$custom: #ba2747; $custom-light: #d67079; $custom-dark: #000000;
JSON
{
"hex": "#ba2747",
"rgb": {
"r": 186,
"g": 39,
"b": 71
},
"hsl": {
"h": 346.939,
"s": 65.333,
"l": 44.118
},
"oklch": {
"l": 0.52097,
"c": 0.18156,
"h": 14.6
},
"luminance": 0.12345
}Semantic roles & 50–950 ramp
primary
#BA2747
secondary
#72CBB7
accent
#E8C440
background
#FEF7F7
surface
#FCEDED
border
#D5C8C8
text
#160809
muted
#847B7B