#BA2B4E#BA2B4E
#BA2B4E is a mid, vivid red. Relative luminance 0.127; OKLCH L 52.6% C 0.179 H 12.2°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2B4E |
|---|---|
| RGB | rgb(186, 43, 78) |
| HSL | hsl(345, 62%, 45%) |
| HSV | hsv(345, 77%, 73%) |
| CMYK | cmyk(0%, 76.9%, 58.1%, 27.1%) |
| CIE-LAB | lab(42.34, 57.80, 15.18) |
| CIE-LCH | lch(42.34, 59.76, 14.72°) |
| OKLab | oklab(52.57% 0.1746 0.0378) |
| OKLCH | oklch(52.57% 0.179 12.2) |
| XYZ | xyz(22.4910, 12.7202, 8.4772) |
| Luminance | 0.1272 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Ruby
#CA0147
ΔE00 3.34
Rose Red
#BE013C
ΔE00 4.38
Lipstick
#D5174E
ΔE00 4.92
Dark Rose
#B5485D
ΔE00 5.06
Raspberry (survey)
#B00149
ΔE00 5.13
Purplish Red
#B0054B
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2B4E #2BBA97
analogous
#BA2B95 #BA2B4E #BA502B
triadic
#BA2B4E #4EBA2B #2B4EBA
tetradic
#BA2B4E #95BA2B #2BBA97 #502BBA
square
#BA2B4E #95BA2B #2BBA97 #502BBA
split-complementary
#BA2B4E #2BBA50 #2B95BA
monochromatic
#571424 #882039 #BA2B4E #D64C6E #E17E96
Accessibility & contrast
On white
5.93
#BA2B4E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#BA2B4E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2B4E
5.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2B4E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2B4E | 1.00 | 5.93 | 3.54 | 5.93 |
| #FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#52514E
Deuteranopia (green-blind)
#776E4A
Tritanopia (blue-blind)
#CC003A
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #ba2b4e; /* rgb */ color: rgb(186, 43, 78); /* oklch */ color: oklch(52.6% 0.179 12.2);
Tailwind
colors: {
custom: {
50: '#d6727f',
500: '#ba2b4e',
950: '#000000',
},
}SCSS
$custom: #ba2b4e; $custom-light: #d6727f; $custom-dark: #000000;
JSON
{
"hex": "#ba2b4e",
"rgb": {
"r": 186,
"g": 43,
"b": 78
},
"hsl": {
"h": 345.315,
"s": 62.445,
"l": 44.902
},
"oklch": {
"l": 0.52569,
"c": 0.1786,
"h": 12.2
},
"luminance": 0.12717
}Semantic roles & 50–950 ramp
primary
#BA2B4E
secondary
#77CAB6
accent
#E6BE42
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#16090A
muted
#847B7C