#BA5151#BA5151
#BA5151 is a mid, vivid red. Relative luminance 0.169; OKLCH L 56.9% C 0.136 H 22.4°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #BA5151 |
|---|---|
| RGB | rgb(186, 81, 81) |
| HSL | hsl(0, 43%, 52%) |
| HSV | hsv(0, 56%, 73%) |
| CMYK | cmyk(0%, 56.5%, 56.5%, 27.1%) |
| CIE-LAB | lab(48.16, 42.43, 21.15) |
| CIE-LCH | lch(48.16, 47.41, 26.49°) |
| OKLab | oklab(56.94% 0.1262 0.052) |
| OKLCH | oklch(56.94% 0.136 22.4) |
| XYZ | xyz(24.6794, 16.9210, 9.7494) |
| Luminance | 0.1692 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dusty Red
#B9484E
ΔE00 2.44
Reddish
#C44240
ΔE00 4.33
Dull Red
#BB3F3F
ΔE00 4.50
Dark Salmon
#C85A53
ΔE00 4.55
Faded Red
#D3494E
ΔE00 4.78
Dark Coral
#CF524E
ΔE00 4.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA5151 #51BABA
analogous
#BA5186 #BA5151 #BA8651
triadic
#BA5151 #51BA51 #5151BA
tetradic
#BA5151 #86BA51 #51BABA #8651BA
square
#BA5151 #86BA51 #51BABA #8651BA
split-complementary
#BA5151 #51BA86 #5186BA
monochromatic
#682929 #933A3A #BA5151 #CB7D7D #DDA9A9
Accessibility & contrast
On white
4.79
#BA5151 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.38
#BA5151 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA5151
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA5151 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA5151 | 1.00 | 4.79 | 4.38 | 4.79 |
| #FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A6550
Deuteranopia (green-blind)
#847B4F
Tritanopia (blue-blind)
#CB3F52
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #ba5151; /* rgb */ color: rgb(186, 81, 81); /* oklch */ color: oklch(56.9% 0.136 22.4);
Tailwind
colors: {
custom: {
50: '#d48581',
500: '#ba5151',
950: '#000000',
},
}SCSS
$custom: #ba5151; $custom-light: #d48581; $custom-dark: #000000;
JSON
{
"hex": "#ba5151",
"rgb": {
"r": 186,
"g": 81,
"b": 81
},
"hsl": {
"h": 0,
"s": 43.21,
"l": 52.353
},
"oklch": {
"l": 0.5694,
"c": 0.13643,
"h": 22.4
},
"luminance": 0.16918
}Semantic roles & 50–950 ramp
primary
#BA5151
secondary
#9DCACA
accent
#D3D355
background
#FDF8F7
surface
#FBEFEE
border
#D4CAC9
text
#150B0A
muted
#837C7C