#BA4051#BA4051
#BA4051 is a mid, vivid red. Relative luminance 0.147; OKLCH L 54.7% C 0.157 H 15.8°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).
Color values
| HEX | #BA4051 |
|---|---|
| RGB | rgb(186, 64, 81) |
| HSL | hsl(352, 49%, 49%) |
| HSV | hsv(352, 66%, 73%) |
| CMYK | cmyk(0%, 65.6%, 56.5%, 27.1%) |
| CIE-LAB | lab(45.22, 50.23, 17.23) |
| CIE-LCH | lch(45.22, 53.11, 18.93°) |
| OKLab | oklab(54.74% 0.1508 0.0428) |
| OKLCH | oklch(54.74% 0.157 15.8) |
| XYZ | xyz(23.5704, 14.7031, 9.3798) |
| Luminance | 0.1470 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dusty Red
#B9484E
ΔE00 2.93
Dark Rose
#B5485D
ΔE00 3.43
Lipstick
#D5174E
ΔE00 5.31
Light Maroon
#A24857
ΔE00 5.41
Ruby
#CA0147
ΔE00 5.58
Cardinal
#C41E3A
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA4051 #40BAA9
analogous
#BA408E #BA4051 #BA6C40
triadic
#BA4051 #51BA40 #4051BA
tetradic
#BA4051 #8EBA40 #40BAA9 #6C40BA
square
#BA4051 #8EBA40 #40BAA9 #6C40BA
split-complementary
#BA4051 #40BA6C #408EBA
monochromatic
#5F2129 #8C303D #BA4051 #CC6B79 #DC99A2
Accessibility & contrast
On white
5.33
#BA4051 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.94
#BA4051 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA4051
5.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA4051 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA4051 | 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)
#5E5B51
Deuteranopia (green-blind)
#7D744E
Tritanopia (blue-blind)
#CB2847
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #ba4051; /* rgb */ color: rgb(186, 64, 81); /* oklch */ color: oklch(54.7% 0.157 15.8);
Tailwind
colors: {
custom: {
50: '#d57c81',
500: '#ba4051',
950: '#000000',
},
}SCSS
$custom: #ba4051; $custom-light: #d57c81; $custom-dark: #000000;
JSON
{
"hex": "#ba4051",
"rgb": {
"r": 186,
"g": 64,
"b": 81
},
"hsl": {
"h": 351.639,
"s": 48.8,
"l": 49.02
},
"oklch": {
"l": 0.54735,
"c": 0.15675,
"h": 15.8
},
"luminance": 0.147
}Semantic roles & 50–950 ramp
primary
#BA4051
secondary
#8EC8C0
accent
#D8C54F
background
#FDF7F7
surface
#FBEEEE
border
#D4C9C9
text
#150A0A
muted
#837C7C