#BA2545#BA2545
#BA2545 is a mid, vivid red. Relative luminance 0.122; OKLCH L 51.9% C 0.183 H 15.1°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2545 |
|---|---|
| RGB | rgb(186, 37, 69) |
| HSL | hsl(347, 67%, 44%) |
| HSV | hsv(347, 80%, 73%) |
| CMYK | cmyk(0%, 80.1%, 62.9%, 27.1%) |
| CIE-LAB | lab(41.52, 58.99, 19.73) |
| CIE-LCH | lch(41.52, 62.20, 18.50°) |
| OKLab | oklab(51.91% 0.1767 0.0478) |
| OKLCH | oklch(51.91% 0.183 15.1) |
| XYZ | xyz(21.9878, 12.1953, 6.8252) |
| Luminance | 0.1219 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rose Red
#BE013C
ΔE00 2.43
Ruby
#CA0147
ΔE00 2.90
Cardinal
#C41E3A
ΔE00 4.05
Rouge
#AB1239
ΔE00 4.20
Lipstick
#D5174E
ΔE00 5.05
Lipstick Red
#C0022F
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2545 #25BA9A
analogous
#BA258F #BA2545 #BA4F25
triadic
#BA2545 #45BA25 #2545BA
tetradic
#BA2545 #8FBA25 #25BA9A #4F25BA
square
#BA2545 #8FBA25 #25BA9A #4F25BA
split-complementary
#BA2545 #25BA4F #258FBA
monochromatic
#54111F #871B32 #BA2545 #DA4363 #E4768D
Accessibility & contrast
On white
6.11
#BA2545 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#BA2545 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2545
6.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2545 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2545 | 1.00 | 6.11 | 3.44 | 6.11 |
| #FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#514E45
Deuteranopia (green-blind)
#766D41
Tritanopia (blue-blind)
#CC0033
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #ba2545; /* rgb */ color: rgb(186, 37, 69); /* oklch */ color: oklch(51.9% 0.183 15.1);
Tailwind
colors: {
custom: {
50: '#d66f78',
500: '#ba2545',
950: '#000000',
},
}SCSS
$custom: #ba2545; $custom-light: #d66f78; $custom-dark: #000000;
JSON
{
"hex": "#ba2545",
"rgb": {
"r": 186,
"g": 37,
"b": 69
},
"hsl": {
"h": 347.114,
"s": 66.816,
"l": 43.725
},
"oklch": {
"l": 0.51907,
"c": 0.18309,
"h": 15.1
},
"luminance": 0.12192
}Semantic roles & 50–950 ramp
primary
#BA2545
secondary
#70CBB7
accent
#EAC53E
background
#FEF7F7
surface
#FCEDED
border
#D5C8C8
text
#160808
muted
#847B7B