#BA4052#BA4052
#BA4052 is a mid, vivid red. Relative luminance 0.147; OKLCH L 54.8% C 0.157 H 15.3°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).
Color values
| HEX | #BA4052 |
|---|---|
| RGB | rgb(186, 64, 82) |
| HSL | hsl(351, 49%, 49%) |
| HSV | hsv(351, 66%, 73%) |
| CMYK | cmyk(0%, 65.6%, 55.9%, 27.1%) |
| CIE-LAB | lab(45.25, 50.31, 16.65) |
| CIE-LCH | lch(45.25, 52.99, 18.31°) |
| OKLab | oklab(54.76% 0.1512 0.0414) |
| OKLCH | oklch(54.76% 0.157 15.3) |
| XYZ | xyz(23.6082, 14.7182, 9.5787) |
| Luminance | 0.1472 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dark Rose
#B5485D
ΔE00 3.15
Dusty Red
#B9484E
ΔE00 3.21
Light Maroon
#A24857
ΔE00 5.27
Lipstick
#D5174E
ΔE00 5.27
Ruby
#CA0147
ΔE00 5.55
Deep Rose
#C74767
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA4052 #40BAA8
analogous
#BA408F #BA4052 #BA6B40
triadic
#BA4052 #52BA40 #4052BA
tetradic
#BA4052 #8FBA40 #40BAA8 #6B40BA
square
#BA4052 #8FBA40 #40BAA8 #6B40BA
split-complementary
#BA4052 #40BA6B #408FBA
monochromatic
#5F212A #8C303E #BA4052 #CC6B79 #DC99A3
Accessibility & contrast
On white
5.33
#BA4052 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.94
#BA4052 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA4052
5.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA4052 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA4052 | 1.00 | 5.33 | 3.94 | 5.33 |
| #FFFFFF | 5.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E5B52
Deuteranopia (green-blind)
#7D744F
Tritanopia (blue-blind)
#CB2847
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #ba4052; /* rgb */ color: rgb(186, 64, 82); /* oklch */ color: oklch(54.8% 0.157 15.3);
Tailwind
colors: {
custom: {
50: '#d57c82',
500: '#ba4052',
950: '#000000',
},
}SCSS
$custom: #ba4052; $custom-light: #d57c82; $custom-dark: #000000;
JSON
{
"hex": "#ba4052",
"rgb": {
"r": 186,
"g": 64,
"b": 82
},
"hsl": {
"h": 351.148,
"s": 48.8,
"l": 49.02
},
"oklch": {
"l": 0.54758,
"c": 0.15677,
"h": 15.3
},
"luminance": 0.14715
}Semantic roles & 50–950 ramp
primary
#BA4052
secondary
#8EC8BF
accent
#D8C44F
background
#FDF7F7
surface
#FBEEEE
border
#D4C9C9
text
#150A0A
muted
#837C7C