#BA2C4B#BA2C4B
#BA2C4B is a mid, vivid red. Relative luminance 0.127; OKLCH L 52.6% C 0.177 H 13.8°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2C4B |
|---|---|
| RGB | rgb(186, 44, 75) |
| HSL | hsl(347, 62%, 45%) |
| HSV | hsv(347, 76%, 73%) |
| CMYK | cmyk(0%, 76.3%, 59.7%, 27.1%) |
| CIE-LAB | lab(42.39, 57.28, 17.12) |
| CIE-LCH | lch(42.39, 59.79, 16.64°) |
| OKLab | oklab(52.58% 0.1724 0.0422) |
| OKLCH | oklch(52.58% 0.177 13.8) |
| XYZ | xyz(22.4227, 12.7518, 7.9359) |
| Luminance | 0.1275 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Ruby
#CA0147
ΔE00 3.12
Rose Red
#BE013C
ΔE00 3.76
Lipstick
#D5174E
ΔE00 4.73
Cardinal
#C41E3A
ΔE00 5.11
Rouge
#AB1239
ΔE00 5.20
Dark Rose
#B5485D
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2C4B #2CBA9B
analogous
#BA2C92 #BA2C4B #BA542C
triadic
#BA2C4B #4BBA2C #2C4BBA
tetradic
#BA2C4B #92BA2C #2CBA9B #542CBA
square
#BA2C4B #92BA2C #2CBA9B #542CBA
split-complementary
#BA2C4B #2CBA54 #2C92BA
monochromatic
#571523 #892037 #BA2C4B #D54E6C #E18095
Accessibility & contrast
On white
5.92
#BA2C4B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.55
#BA2C4B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2C4B
5.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2C4B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2C4B | 1.00 | 5.92 | 3.55 | 5.92 |
| #FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#53514B
Deuteranopia (green-blind)
#776F47
Tritanopia (blue-blind)
#CC0039
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #ba2c4b; /* rgb */ color: rgb(186, 44, 75); /* oklch */ color: oklch(52.6% 0.177 13.8);
Tailwind
colors: {
custom: {
50: '#d6727d',
500: '#ba2c4b',
950: '#000000',
},
}SCSS
$custom: #ba2c4b; $custom-light: #d6727d; $custom-dark: #000000;
JSON
{
"hex": "#ba2c4b",
"rgb": {
"r": 186,
"g": 44,
"b": 75
},
"hsl": {
"h": 346.901,
"s": 61.739,
"l": 45.098
},
"oklch": {
"l": 0.52584,
"c": 0.17746,
"h": 13.8
},
"luminance": 0.12748
}Semantic roles & 50–950 ramp
primary
#BA2C4B
secondary
#78CAB8
accent
#E5C143
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#160909
muted
#847B7B