#BA4057#BA4057
#BA4057 is a mid, vivid red. Relative luminance 0.148; OKLCH L 54.9% C 0.157 H 12.8°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).
Color values
| HEX | #BA4057 |
|---|---|
| RGB | rgb(186, 64, 87) |
| HSL | hsl(349, 49%, 49%) |
| HSV | hsv(349, 66%, 73%) |
| CMYK | cmyk(0%, 65.6%, 53.2%, 27.1%) |
| CIE-LAB | lab(45.35, 50.71, 13.73) |
| CIE-LCH | lch(45.35, 52.54, 15.15°) |
| OKLab | oklab(54.87% 0.1532 0.0347) |
| OKLCH | oklch(54.87% 0.157 12.8) |
| XYZ | xyz(23.8054, 14.7971, 10.6175) |
| Luminance | 0.1479 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dark Rose
#B5485D
ΔE00 1.97
Deep Rose
#C74767
ΔE00 4.44
Light Burgundy
#A8415B
ΔE00 4.59
Dusty Red
#B9484E
ΔE00 4.66
Light Maroon
#A24857
ΔE00 4.81
Lipstick
#D5174E
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA4057 #40BAA3
analogous
#BA4094 #BA4057 #BA6640
triadic
#BA4057 #57BA40 #4057BA
tetradic
#BA4057 #94BA40 #40BAA3 #6640BA
square
#BA4057 #94BA40 #40BAA3 #6640BA
split-complementary
#BA4057 #40BA66 #4094BA
monochromatic
#5F212C #8C3042 #BA4057 #CC6B7D #DC99A5
Accessibility & contrast
On white
5.30
#BA4057 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.96
#BA4057 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA4057
5.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA4057 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA4057 | 1.00 | 5.30 | 3.96 | 5.30 |
| #FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D5C57
Deuteranopia (green-blind)
#7C7554
Tritanopia (blue-blind)
#CB2A49
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #ba4057; /* rgb */ color: rgb(186, 64, 87); /* oklch */ color: oklch(54.9% 0.157 12.8);
Tailwind
colors: {
custom: {
50: '#d47c86',
500: '#ba4057',
950: '#000000',
},
}SCSS
$custom: #ba4057; $custom-light: #d47c86; $custom-dark: #000000;
JSON
{
"hex": "#ba4057",
"rgb": {
"r": 186,
"g": 64,
"b": 87
},
"hsl": {
"h": 348.689,
"s": 48.8,
"l": 49.02
},
"oklch": {
"l": 0.54875,
"c": 0.15704,
"h": 12.8
},
"luminance": 0.14794
}Semantic roles & 50–950 ramp
primary
#BA4057
secondary
#8EC8BD
accent
#D8BF4F
background
#FDF7F8
surface
#FBEEEF
border
#D4C9CA
text
#150A0B
muted
#837C7C