#BA2A4D#BA2A4D
#BA2A4D is a mid, vivid red. Relative luminance 0.126; OKLCH L 52.5% C 0.179 H 12.5°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2A4D |
|---|---|
| RGB | rgb(186, 42, 77) |
| HSL | hsl(345, 63%, 45%) |
| HSV | hsv(345, 77%, 73%) |
| CMYK | cmyk(0%, 77.4%, 58.6%, 27.1%) |
| CIE-LAB | lab(42.21, 58.04, 15.63) |
| CIE-LCH | lch(42.21, 60.11, 15.07°) |
| OKLab | oklab(52.47% 0.1752 0.0388) |
| OKLCH | oklch(52.47% 0.179 12.5) |
| XYZ | xyz(22.4195, 12.6341, 8.2779) |
| Luminance | 0.1263 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Ruby
#CA0147
ΔE00 3.20
Rose Red
#BE013C
ΔE00 4.14
Lipstick
#D5174E
ΔE00 4.90
Raspberry (survey)
#B00149
ΔE00 5.11
Purplish Red
#B0054B
ΔE00 5.19
Dark Rose
#B5485D
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2A4D #2ABA97
analogous
#BA2A95 #BA2A4D #BA4F2A
triadic
#BA2A4D #4DBA2A #2A4DBA
tetradic
#BA2A4D #95BA2A #2ABA97 #4F2ABA
square
#BA2A4D #95BA2A #2ABA97 #4F2ABA
split-complementary
#BA2A4D #2ABA4F #2A95BA
monochromatic
#561324 #881F38 #BA2A4D #D64B6D #E27D95
Accessibility & contrast
On white
5.96
#BA2A4D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#BA2A4D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2A4D
5.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2A4D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2A4D | 1.00 | 5.96 | 3.53 | 5.96 |
| #FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#52514D
Deuteranopia (green-blind)
#776E49
Tritanopia (blue-blind)
#CC0039
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #ba2a4d; /* rgb */ color: rgb(186, 42, 77); /* oklch */ color: oklch(52.5% 0.179 12.5);
Tailwind
colors: {
custom: {
50: '#d6717e',
500: '#ba2a4d',
950: '#000000',
},
}SCSS
$custom: #ba2a4d; $custom-light: #d6717e; $custom-dark: #000000;
JSON
{
"hex": "#ba2a4d",
"rgb": {
"r": 186,
"g": 42,
"b": 77
},
"hsl": {
"h": 345.417,
"s": 63.158,
"l": 44.706
},
"oklch": {
"l": 0.52465,
"c": 0.17941,
"h": 12.5
},
"luminance": 0.12631
}Semantic roles & 50–950 ramp
primary
#BA2A4D
secondary
#76CAB6
accent
#E6BE42
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#160909
muted
#847B7B