#BA405E#BA405E
#BA405E is a mid, vivid red. Relative luminance 0.149; OKLCH L 55.1% C 0.158 H 9.1°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #BA405E |
|---|---|
| RGB | rgb(186, 64, 94) |
| HSL | hsl(345, 49%, 49%) |
| HSV | hsv(345, 66%, 73%) |
| CMYK | cmyk(0%, 65.6%, 49.5%, 27.1%) |
| CIE-LAB | lab(45.52, 51.32, 9.66) |
| CIE-LCH | lch(45.52, 52.22, 10.66°) |
| OKLab | oklab(55.05% 0.1559 0.0249) |
| OKLCH | oklch(55.05% 0.158 9.1) |
| XYZ | xyz(24.1054, 14.9171, 12.1974) |
| Luminance | 0.1491 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dark Rose
#B5485D
ΔE00 2.00
Deep Rose
#C74767
ΔE00 3.51
Light Burgundy
#A8415B
ΔE00 3.64
Dark Pink
#CB416B
ΔE00 4.14
Light Maroon
#A24857
ΔE00 4.99
Deep Pink
#CB0162
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA405E #40BA9C
analogous
#BA409B #BA405E #BA5F40
triadic
#BA405E #5EBA40 #405EBA
tetradic
#BA405E #9BBA40 #40BA9C #5F40BA
square
#BA405E #9BBA40 #40BA9C #5F40BA
split-complementary
#BA405E #40BA5F #409BBA
monochromatic
#5F2130 #8C3047 #BA405E #CC6B83 #DC99A9
Accessibility & contrast
On white
5.27
#BA405E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.98
#BA405E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA405E
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA405E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA405E | 1.00 | 5.27 | 3.98 | 5.27 |
| #FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B5C5F
Deuteranopia (green-blind)
#7B755B
Tritanopia (blue-blind)
#CA2D4C
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #ba405e; /* rgb */ color: rgb(186, 64, 94); /* oklch */ color: oklch(55.1% 0.158 9.1);
Tailwind
colors: {
custom: {
50: '#d47c8b',
500: '#ba405e',
950: '#000000',
},
}SCSS
$custom: #ba405e; $custom-light: #d47c8b; $custom-dark: #000000;
JSON
{
"hex": "#ba405e",
"rgb": {
"r": 186,
"g": 64,
"b": 94
},
"hsl": {
"h": 345.246,
"s": 48.8,
"l": 49.02
},
"oklch": {
"l": 0.55052,
"c": 0.15787,
"h": 9.1
},
"luminance": 0.14914
}Semantic roles & 50–950 ramp
primary
#BA405E
secondary
#8EC8BA
accent
#D8B74F
background
#FDF7F8
surface
#FBEEF0
border
#D4C9CB
text
#150A0C
muted
#837C7D