#BA2A4E#BA2A4E
#BA2A4E is a mid, vivid red. Relative luminance 0.126; OKLCH L 52.5% C 0.179 H 12.0°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2A4E |
|---|---|
| RGB | rgb(186, 42, 78) |
| HSL | hsl(345, 63%, 45%) |
| HSV | hsv(345, 77%, 73%) |
| CMYK | cmyk(0%, 77.4%, 58.1%, 27.1%) |
| CIE-LAB | lab(42.23, 58.11, 15.03) |
| CIE-LCH | lch(42.23, 60.02, 14.50°) |
| OKLab | oklab(52.49% 0.1756 0.0374) |
| OKLCH | oklch(52.49% 0.18 12) |
| XYZ | xyz(22.4550, 12.6484, 8.4652) |
| Luminance | 0.1265 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Ruby
#CA0147
ΔE00 3.33
Rose Red
#BE013C
ΔE00 4.38
Lipstick
#D5174E
ΔE00 4.98
Raspberry (survey)
#B00149
ΔE00 4.98
Purplish Red
#B0054B
ΔE00 5.03
Dark Rose
#B5485D
ΔE00 5.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2A4E #2ABA96
analogous
#BA2A96 #BA2A4E #BA4E2A
triadic
#BA2A4E #4EBA2A #2A4EBA
tetradic
#BA2A4E #96BA2A #2ABA96 #4E2ABA
square
#BA2A4E #96BA2A #2ABA96 #4E2ABA
split-complementary
#BA2A4E #2ABA4E #2A96BA
monochromatic
#561324 #881F39 #BA2A4E #D64B6E #E27D96
Accessibility & contrast
On white
5.95
#BA2A4E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#BA2A4E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2A4E
5.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2A4E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2A4E | 1.00 | 5.95 | 3.53 | 5.95 |
| #FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#52514E
Deuteranopia (green-blind)
#776E4A
Tritanopia (blue-blind)
#CC0039
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #ba2a4e; /* rgb */ color: rgb(186, 42, 78); /* oklch */ color: oklch(52.5% 0.179 12.0);
Tailwind
colors: {
custom: {
50: '#d6717f',
500: '#ba2a4e',
950: '#000000',
},
}SCSS
$custom: #ba2a4e; $custom-light: #d6717f; $custom-dark: #000000;
JSON
{
"hex": "#ba2a4e",
"rgb": {
"r": 186,
"g": 42,
"b": 78
},
"hsl": {
"h": 345,
"s": 63.158,
"l": 44.706
},
"oklch": {
"l": 0.52488,
"c": 0.1795,
"h": 12
},
"luminance": 0.12645
}Semantic roles & 50–950 ramp
primary
#BA2A4E
secondary
#76CAB5
accent
#E6BD42
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#16090A
muted
#847B7C