#BA5251#BA5251
#BA5251 is a mid, vivid red. Relative luminance 0.171; OKLCH L 57.1% C 0.135 H 22.9°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #BA5251 |
|---|---|
| RGB | rgb(186, 82, 81) |
| HSL | hsl(1, 43%, 52%) |
| HSV | hsv(1, 56%, 73%) |
| CMYK | cmyk(0%, 55.9%, 56.5%, 27.1%) |
| CIE-LAB | lab(48.35, 41.94, 21.39) |
| CIE-LCH | lch(48.35, 47.08, 27.03°) |
| OKLab | oklab(57.08% 0.1246 0.0525) |
| OKLCH | oklch(57.08% 0.135 22.9) |
| XYZ | xyz(24.7542, 17.0707, 9.7744) |
| Luminance | 0.1707 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dusty Red
#B9484E
ΔE00 2.77
Dark Salmon
#C85A53
ΔE00 4.28
Reddish
#C44240
ΔE00 4.34
Dull Red
#BB3F3F
ΔE00 4.61
Dark Coral
#CF524E
ΔE00 4.64
Faded Red
#D3494E
ΔE00 4.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA5251 #51B9BA
analogous
#BA5185 #BA5251 #BA8651
triadic
#BA5251 #51BA52 #5251BA
tetradic
#BA5251 #85BA51 #51B9BA #8651BA
square
#BA5251 #85BA51 #51B9BA #8651BA
split-complementary
#BA5251 #51BA86 #5185BA
monochromatic
#682A29 #933B3A #BA5251 #CB7E7D #DDA9A9
Accessibility & contrast
On white
4.76
#BA5251 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.41
#BA5251 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA5251
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA5251 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA5251 | 1.00 | 4.76 | 4.41 | 4.76 |
| #FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B6550
Deuteranopia (green-blind)
#857B4F
Tritanopia (blue-blind)
#CB4153
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #ba5251; /* rgb */ color: rgb(186, 82, 81); /* oklch */ color: oklch(57.1% 0.135 22.9);
Tailwind
colors: {
custom: {
50: '#d48681',
500: '#ba5251',
950: '#000000',
},
}SCSS
$custom: #ba5251; $custom-light: #d48681; $custom-dark: #000000;
JSON
{
"hex": "#ba5251",
"rgb": {
"r": 186,
"g": 82,
"b": 81
},
"hsl": {
"h": 0.571,
"s": 43.21,
"l": 52.353
},
"oklch": {
"l": 0.57082,
"c": 0.13523,
"h": 22.9
},
"luminance": 0.17068
}Semantic roles & 50–950 ramp
primary
#BA5251
secondary
#9DCACA
accent
#D2D355
background
#FDF8F7
surface
#FBF0EE
border
#D4CBC9
text
#150B0A
muted
#837C7C