#BA2E4D#BA2E4D
#BA2E4D is a mid, vivid red. Relative luminance 0.129; OKLCH L 52.8% C 0.176 H 13.2°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2E4D |
|---|---|
| RGB | rgb(186, 46, 77) |
| HSL | hsl(347, 60%, 45%) |
| HSV | hsv(347, 75%, 73%) |
| CMYK | cmyk(0%, 75.3%, 58.6%, 27.1%) |
| CIE-LAB | lab(42.66, 56.77, 16.24) |
| CIE-LCH | lch(42.66, 59.05, 15.97°) |
| OKLab | oklab(52.8% 0.1711 0.0402) |
| OKLCH | oklch(52.8% 0.176 13.2) |
| XYZ | xyz(22.5685, 12.9322, 8.3275) |
| Luminance | 0.1293 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Ruby
#CA0147
ΔE00 3.33
Rose Red
#BE013C
ΔE00 4.22
Lipstick
#D5174E
ΔE00 4.72
Dark Rose
#B5485D
ΔE00 4.87
Light Burgundy
#A8415B
ΔE00 5.42
Cardinal
#C41E3A
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2E4D #2EBA9B
analogous
#BA2E93 #BA2E4D #BA552E
triadic
#BA2E4D #4DBA2E #2E4DBA
tetradic
#BA2E4D #93BA2E #2EBA9B #552EBA
square
#BA2E4D #93BA2E #2EBA9B #552EBA
split-complementary
#BA2E4D #2EBA55 #2E93BA
monochromatic
#581624 #892239 #BA2E4D #D4516E #E08297
Accessibility & contrast
On white
5.86
#BA2E4D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.59
#BA2E4D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2E4D
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2E4D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2E4D | 1.00 | 5.86 | 3.59 | 5.86 |
| #FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#54524D
Deuteranopia (green-blind)
#786F49
Tritanopia (blue-blind)
#CC003B
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #ba2e4d; /* rgb */ color: rgb(186, 46, 77); /* oklch */ color: oklch(52.8% 0.176 13.2);
Tailwind
colors: {
custom: {
50: '#d6737e',
500: '#ba2e4d',
950: '#000000',
},
}SCSS
$custom: #ba2e4d; $custom-light: #d6737e; $custom-dark: #000000;
JSON
{
"hex": "#ba2e4d",
"rgb": {
"r": 186,
"g": 46,
"b": 77
},
"hsl": {
"h": 346.714,
"s": 60.345,
"l": 45.49
},
"oklch": {
"l": 0.52801,
"c": 0.17573,
"h": 13.2
},
"luminance": 0.12929
}Semantic roles & 50–950 ramp
primary
#BA2E4D
secondary
#7BC9B8
accent
#E3C044
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#160909
muted
#847B7B