#BA2542#BA2542
#BA2542 is a mid, vivid red. Relative luminance 0.122; OKLCH L 51.8% C 0.183 H 16.4°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2542 |
|---|---|
| RGB | rgb(186, 37, 66) |
| HSL | hsl(348, 67%, 44%) |
| HSV | hsv(348, 80%, 73%) |
| CMYK | cmyk(0%, 80.1%, 64.5%, 27.1%) |
| CIE-LAB | lab(41.47, 58.81, 21.53) |
| CIE-LCH | lch(41.47, 62.63, 20.11°) |
| OKLab | oklab(51.85% 0.1756 0.0517) |
| OKLCH | oklch(51.85% 0.183 16.4) |
| XYZ | xyz(21.8970, 12.1589, 6.3471) |
| Luminance | 0.1216 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rose Red
#BE013C
ΔE00 2.17
Cardinal
#C41E3A
ΔE00 3.24
Ruby
#CA0147
ΔE00 3.29
Rouge
#AB1239
ΔE00 4.15
Lipstick Red
#C0022F
ΔE00 4.64
Lipstick
#D5174E
ΔE00 5.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2542 #25BA9D
analogous
#BA258C #BA2542 #BA5225
triadic
#BA2542 #42BA25 #2542BA
tetradic
#BA2542 #8CBA25 #25BA9D #5225BA
square
#BA2542 #8CBA25 #25BA9D #5225BA
split-complementary
#BA2542 #25BA52 #258CBA
monochromatic
#54111E #871B30 #BA2542 #DA4360 #E4768B
Accessibility & contrast
On white
6.12
#BA2542 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#BA2542 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2542
6.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2542 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2542 | 1.00 | 6.12 | 3.43 | 6.12 |
| #FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#514E42
Deuteranopia (green-blind)
#776D3E
Tritanopia (blue-blind)
#CC0032
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #ba2542; /* rgb */ color: rgb(186, 37, 66); /* oklch */ color: oklch(51.8% 0.183 16.4);
Tailwind
colors: {
custom: {
50: '#d76f76',
500: '#ba2542',
950: '#000000',
},
}SCSS
$custom: #ba2542; $custom-light: #d76f76; $custom-dark: #000000;
JSON
{
"hex": "#ba2542",
"rgb": {
"r": 186,
"g": 37,
"b": 66
},
"hsl": {
"h": 348.322,
"s": 66.816,
"l": 43.725
},
"oklch": {
"l": 0.51847,
"c": 0.183,
"h": 16.4
},
"luminance": 0.12156
}Semantic roles & 50–950 ramp
primary
#BA2542
secondary
#70CBB9
accent
#EAC83E
background
#FEF7F7
surface
#FCEDED
border
#D5C8C8
text
#160808
muted
#847B7B