#BA405C#BA405C
#BA405C is a mid, vivid red. Relative luminance 0.149; OKLCH L 55.0% C 0.158 H 10.1°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).
Color values
| HEX | #BA405C |
|---|---|
| RGB | rgb(186, 64, 92) |
| HSL | hsl(346, 49%, 49%) |
| HSV | hsv(346, 66%, 73%) |
| CMYK | cmyk(0%, 65.6%, 50.5%, 27.1%) |
| CIE-LAB | lab(45.47, 51.14, 10.82) |
| CIE-LCH | lch(45.47, 52.27, 11.95°) |
| OKLab | oklab(55% 0.1551 0.0277) |
| OKLCH | oklch(55% 0.158 10.1) |
| XYZ | xyz(24.0168, 14.8817, 11.7309) |
| Luminance | 0.1488 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dark Rose
#B5485D
ΔE00 1.73
Deep Rose
#C74767
ΔE00 3.66
Light Burgundy
#A8415B
ΔE00 3.81
Dark Pink
#CB416B
ΔE00 4.49
Light Maroon
#A24857
ΔE00 4.84
Lipstick
#D5174E
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA405C #40BA9E
analogous
#BA4099 #BA405C #BA6140
triadic
#BA405C #5CBA40 #405CBA
tetradic
#BA405C #99BA40 #40BA9E #6140BA
square
#BA405C #99BA40 #40BA9E #6140BA
split-complementary
#BA405C #40BA61 #4099BA
monochromatic
#5F212F #8C3045 #BA405C #CC6B81 #DC99A8
Accessibility & contrast
On white
5.28
#BA405C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.98
#BA405C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA405C
5.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA405C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA405C | 1.00 | 5.28 | 3.98 | 5.28 |
| #FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C5C5C
Deuteranopia (green-blind)
#7C7559
Tritanopia (blue-blind)
#CA2C4B
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #ba405c; /* rgb */ color: rgb(186, 64, 92); /* oklch */ color: oklch(55.0% 0.158 10.1);
Tailwind
colors: {
custom: {
50: '#d47c89',
500: '#ba405c',
950: '#000000',
},
}SCSS
$custom: #ba405c; $custom-light: #d47c89; $custom-dark: #000000;
JSON
{
"hex": "#ba405c",
"rgb": {
"r": 186,
"g": 64,
"b": 92
},
"hsl": {
"h": 346.23,
"s": 48.8,
"l": 49.02
},
"oklch": {
"l": 0.55,
"c": 0.15758,
"h": 10.1
},
"luminance": 0.14879
}Semantic roles & 50–950 ramp
primary
#BA405C
secondary
#8EC8BA
accent
#D8B94F
background
#FDF7F8
surface
#FBEEF0
border
#D4C9CB
text
#150A0B
muted
#837C7C