#BA2547#BA2547
#BA2547 is a mid, vivid red. Relative luminance 0.122; OKLCH L 51.9% C 0.183 H 14.3°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2547 |
|---|---|
| RGB | rgb(186, 37, 71) |
| HSL | hsl(346, 67%, 44%) |
| HSV | hsv(346, 80%, 73%) |
| CMYK | cmyk(0%, 80.1%, 61.8%, 27.1%) |
| CIE-LAB | lab(41.56, 59.11, 18.53) |
| CIE-LCH | lch(41.56, 61.95, 17.41°) |
| OKLab | oklab(51.95% 0.1775 0.0452) |
| OKLCH | oklch(51.95% 0.183 14.3) |
| XYZ | xyz(22.0509, 12.2205, 7.1577) |
| Luminance | 0.1222 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rose Red
#BE013C
ΔE00 2.77
Ruby
#CA0147
ΔE00 2.79
Rouge
#AB1239
ΔE00 4.34
Cardinal
#C41E3A
ΔE00 4.62
Lipstick
#D5174E
ΔE00 4.97
Raspberry (survey)
#B00149
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2547 #25BA98
analogous
#BA2591 #BA2547 #BA4D25
triadic
#BA2547 #47BA25 #2547BA
tetradic
#BA2547 #91BA25 #25BA98 #4D25BA
square
#BA2547 #91BA25 #25BA98 #4D25BA
split-complementary
#BA2547 #25BA4D #2591BA
monochromatic
#541120 #871B34 #BA2547 #DA4365 #E4768F
Accessibility & contrast
On white
6.10
#BA2547 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#BA2547 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2547
6.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2547 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2547 | 1.00 | 6.10 | 3.44 | 6.10 |
| #FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#514E47
Deuteranopia (green-blind)
#766D43
Tritanopia (blue-blind)
#CC0034
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #ba2547; /* rgb */ color: rgb(186, 37, 71); /* oklch */ color: oklch(51.9% 0.183 14.3);
Tailwind
colors: {
custom: {
50: '#d66f79',
500: '#ba2547',
950: '#000000',
},
}SCSS
$custom: #ba2547; $custom-light: #d66f79; $custom-dark: #000000;
JSON
{
"hex": "#ba2547",
"rgb": {
"r": 186,
"g": 37,
"b": 71
},
"hsl": {
"h": 346.309,
"s": 66.816,
"l": 43.725
},
"oklch": {
"l": 0.51949,
"c": 0.18318,
"h": 14.3
},
"luminance": 0.12217
}Semantic roles & 50–950 ramp
primary
#BA2547
secondary
#70CBB6
accent
#EAC33E
background
#FEF7F7
surface
#FCEDED
border
#D5C8C8
text
#160809
muted
#847B7B