#BA2C4F#BA2C4F
#BA2C4F is a mid, vivid red. Relative luminance 0.128; OKLCH L 52.7% C 0.178 H 11.9°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2C4F |
|---|---|
| RGB | rgb(186, 44, 79) |
| HSL | hsl(345, 62%, 45%) |
| HSV | hsv(345, 76%, 73%) |
| CMYK | cmyk(0%, 76.3%, 57.5%, 27.1%) |
| CIE-LAB | lab(42.47, 57.56, 14.74) |
| CIE-LCH | lch(42.47, 59.42, 14.36°) |
| OKLab | oklab(52.68% 0.1739 0.0368) |
| OKLCH | oklch(52.68% 0.178 11.9) |
| XYZ | xyz(22.5639, 12.8082, 8.6797) |
| Luminance | 0.1280 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Ruby
#CA0147
ΔE00 3.48
Rose Red
#BE013C
ΔE00 4.62
Dark Rose
#B5485D
ΔE00 4.89
Lipstick
#D5174E
ΔE00 4.95
Light Burgundy
#A8415B
ΔE00 5.03
Raspberry (survey)
#B00149
ΔE00 5.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2C4F #2CBA97
analogous
#BA2C96 #BA2C4F #BA502C
triadic
#BA2C4F #4FBA2C #2C4FBA
tetradic
#BA2C4F #96BA2C #2CBA97 #502CBA
square
#BA2C4F #96BA2C #2CBA97 #502CBA
split-complementary
#BA2C4F #2CBA50 #2C96BA
monochromatic
#571525 #89203A #BA2C4F #D54E6F #E18098
Accessibility & contrast
On white
5.90
#BA2C4F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.56
#BA2C4F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2C4F
5.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2C4F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2C4F | 1.00 | 5.90 | 3.56 | 5.90 |
| #FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#52524F
Deuteranopia (green-blind)
#776F4B
Tritanopia (blue-blind)
#CC003B
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #ba2c4f; /* rgb */ color: rgb(186, 44, 79); /* oklch */ color: oklch(52.7% 0.178 11.9);
Tailwind
colors: {
custom: {
50: '#d67280',
500: '#ba2c4f',
950: '#000000',
},
}SCSS
$custom: #ba2c4f; $custom-light: #d67280; $custom-dark: #000000;
JSON
{
"hex": "#ba2c4f",
"rgb": {
"r": 186,
"g": 44,
"b": 79
},
"hsl": {
"h": 345.211,
"s": 61.739,
"l": 45.098
},
"oklch": {
"l": 0.52676,
"c": 0.17777,
"h": 11.9
},
"luminance": 0.12805
}Semantic roles & 50–950 ramp
primary
#BA2C4F
secondary
#78CAB6
accent
#E5BD43
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#16090A
muted
#847B7C