#BA405B#BA405B
#BA405B is a mid, vivid red. Relative luminance 0.149; OKLCH L 55.0% C 0.157 H 10.7°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).
Color values
| HEX | #BA405B |
|---|---|
| RGB | rgb(186, 64, 91) |
| HSL | hsl(347, 49%, 49%) |
| HSV | hsv(347, 66%, 73%) |
| CMYK | cmyk(0%, 65.6%, 51.1%, 27.1%) |
| CIE-LAB | lab(45.45, 51.05, 11.40) |
| CIE-LCH | lch(45.45, 52.31, 12.59°) |
| OKLab | oklab(54.97% 0.1547 0.0291) |
| OKLCH | oklch(54.97% 0.157 10.7) |
| XYZ | xyz(23.9734, 14.8643, 11.5022) |
| Luminance | 0.1486 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dark Rose
#B5485D
ΔE00 1.66
Deep Rose
#C74767
ΔE00 3.78
Light Burgundy
#A8415B
ΔE00 3.93
Dark Pink
#CB416B
ΔE00 4.69
Light Maroon
#A24857
ΔE00 4.79
Dusty Red
#B9484E
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA405B #40BA9F
analogous
#BA4098 #BA405B #BA6240
triadic
#BA405B #5BBA40 #405BBA
tetradic
#BA405B #98BA40 #40BA9F #6240BA
square
#BA405B #98BA40 #40BA9F #6240BA
split-complementary
#BA405B #40BA62 #4098BA
monochromatic
#5F212E #8C3045 #BA405B #CC6B81 #DC99A7
Accessibility & contrast
On white
5.29
#BA405B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.97
#BA405B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA405B
5.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA405B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA405B | 1.00 | 5.29 | 3.97 | 5.29 |
| #FFFFFF | 5.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C5C5B
Deuteranopia (green-blind)
#7C7558
Tritanopia (blue-blind)
#CA2B4B
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #ba405b; /* rgb */ color: rgb(186, 64, 91); /* oklch */ color: oklch(55.0% 0.157 10.7);
Tailwind
colors: {
custom: {
50: '#d47c89',
500: '#ba405b',
950: '#000000',
},
}SCSS
$custom: #ba405b; $custom-light: #d47c89; $custom-dark: #000000;
JSON
{
"hex": "#ba405b",
"rgb": {
"r": 186,
"g": 64,
"b": 91
},
"hsl": {
"h": 346.721,
"s": 48.8,
"l": 49.02
},
"oklch": {
"l": 0.54974,
"c": 0.15745,
"h": 10.7
},
"luminance": 0.14861
}Semantic roles & 50–950 ramp
primary
#BA405B
secondary
#8EC8BB
accent
#D8BA4F
background
#FDF7F8
surface
#FBEEF0
border
#D4C9CB
text
#150A0B
muted
#837C7C