#BA2E4E#BA2E4E
#BA2E4E is a mid, vivid red. Relative luminance 0.129; OKLCH L 52.8% C 0.176 H 12.8°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2E4E |
|---|---|
| RGB | rgb(186, 46, 78) |
| HSL | hsl(346, 60%, 45%) |
| HSV | hsv(346, 75%, 73%) |
| CMYK | cmyk(0%, 75.3%, 58.1%, 27.1%) |
| CIE-LAB | lab(42.68, 56.84, 15.65) |
| CIE-LCH | lch(42.68, 58.95, 15.39°) |
| OKLab | oklab(52.82% 0.1715 0.0389) |
| OKLCH | oklch(52.82% 0.176 12.8) |
| XYZ | xyz(22.6041, 12.9464, 8.5149) |
| Luminance | 0.1294 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Ruby
#CA0147
ΔE00 3.41
Rose Red
#BE013C
ΔE00 4.43
Dark Rose
#B5485D
ΔE00 4.76
Lipstick
#D5174E
ΔE00 4.78
Light Burgundy
#A8415B
ΔE00 5.22
Raspberry (survey)
#B00149
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2E4E #2EBA9A
analogous
#BA2E94 #BA2E4E #BA542E
triadic
#BA2E4E #4EBA2E #2E4EBA
tetradic
#BA2E4E #94BA2E #2EBA9A #542EBA
square
#BA2E4E #94BA2E #2EBA9A #542EBA
split-complementary
#BA2E4E #2EBA54 #2E94BA
monochromatic
#581625 #892239 #BA2E4E #D4516F #E08298
Accessibility & contrast
On white
5.85
#BA2E4E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.59
#BA2E4E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2E4E
5.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2E4E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2E4E | 1.00 | 5.85 | 3.59 | 5.85 |
| #FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#54524E
Deuteranopia (green-blind)
#786F4A
Tritanopia (blue-blind)
#CC003B
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #ba2e4e; /* rgb */ color: rgb(186, 46, 78); /* oklch */ color: oklch(52.8% 0.176 12.8);
Tailwind
colors: {
custom: {
50: '#d6737f',
500: '#ba2e4e',
950: '#000000',
},
}SCSS
$custom: #ba2e4e; $custom-light: #d6737f; $custom-dark: #000000;
JSON
{
"hex": "#ba2e4e",
"rgb": {
"r": 186,
"g": 46,
"b": 78
},
"hsl": {
"h": 346.286,
"s": 60.345,
"l": 45.49
},
"oklch": {
"l": 0.52823,
"c": 0.1758,
"h": 12.8
},
"luminance": 0.12943
}Semantic roles & 50–950 ramp
primary
#BA2E4E
secondary
#7BC9B7
accent
#E3BF44
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#16090A
muted
#847B7C