#BA2E4C#BA2E4C
#BA2E4C is a mid, vivid red. Relative luminance 0.129; OKLCH L 52.8% C 0.176 H 13.7°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2E4C |
|---|---|
| RGB | rgb(186, 46, 76) |
| HSL | hsl(347, 60%, 45%) |
| HSV | hsv(347, 75%, 73%) |
| CMYK | cmyk(0%, 75.3%, 59.1%, 27.1%) |
| CIE-LAB | lab(42.64, 56.70, 16.84) |
| CIE-LCH | lch(42.64, 59.15, 16.54°) |
| OKLab | oklab(52.78% 0.1707 0.0416) |
| OKLCH | oklch(52.78% 0.176 13.7) |
| XYZ | xyz(22.5335, 12.9182, 8.1430) |
| Luminance | 0.1291 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Ruby
#CA0147
ΔE00 3.27
Rose Red
#BE013C
ΔE00 4.03
Lipstick
#D5174E
ΔE00 4.69
Dark Rose
#B5485D
ΔE00 4.99
Cardinal
#C41E3A
ΔE00 5.23
Rouge
#AB1239
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2E4C #2EBA9C
analogous
#BA2E92 #BA2E4C #BA562E
triadic
#BA2E4C #4CBA2E #2E4CBA
tetradic
#BA2E4C #92BA2E #2EBA9C #562EBA
square
#BA2E4C #92BA2E #2EBA9C #562EBA
split-complementary
#BA2E4C #2EBA56 #2E92BA
monochromatic
#581624 #892238 #BA2E4C #D4516D #E08296
Accessibility & contrast
On white
5.86
#BA2E4C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#BA2E4C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2E4C
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2E4C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2E4C | 1.00 | 5.86 | 3.58 | 5.86 |
| #FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#54524C
Deuteranopia (green-blind)
#786F48
Tritanopia (blue-blind)
#CC003B
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #ba2e4c; /* rgb */ color: rgb(186, 46, 76); /* oklch */ color: oklch(52.8% 0.176 13.7);
Tailwind
colors: {
custom: {
50: '#d6737d',
500: '#ba2e4c',
950: '#000000',
},
}SCSS
$custom: #ba2e4c; $custom-light: #d6737d; $custom-dark: #000000;
JSON
{
"hex": "#ba2e4c",
"rgb": {
"r": 186,
"g": 46,
"b": 76
},
"hsl": {
"h": 347.143,
"s": 60.345,
"l": 45.49
},
"oklch": {
"l": 0.52778,
"c": 0.17566,
"h": 13.7
},
"luminance": 0.12915
}Semantic roles & 50–950 ramp
primary
#BA2E4C
secondary
#7BC9B8
accent
#E3C144
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#160909
muted
#847B7B