#BA474B#BA474B
#BA474B is a mid, vivid red. Relative luminance 0.155; OKLCH L 55.5% C 0.149 H 21.3°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #BA474B |
|---|---|
| RGB | rgb(186, 71, 75) |
| HSL | hsl(358, 45%, 50%) |
| HSV | hsv(358, 62%, 73%) |
| CMYK | cmyk(0%, 61.8%, 59.7%, 27.1%) |
| CIE-LAB | lab(46.25, 46.71, 22.24) |
| CIE-LCH | lch(46.25, 51.73, 25.46°) |
| OKLab | oklab(55.47% 0.1386 0.0541) |
| OKLCH | oklch(55.47% 0.149 21.3) |
| XYZ | xyz(23.7751, 15.4567, 8.3867) |
| Luminance | 0.1545 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dusty Red
#B9484E
ΔE00 0.90
Dull Red
#BB3F3F
ΔE00 2.88
Reddish
#C44240
ΔE00 3.62
Faded Red
#D3494E
ΔE00 5.32
Cardinal
#C41E3A
ΔE00 5.75
Dark Coral
#CF524E
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA474B #47BAB6
analogous
#BA4784 #BA474B #BA7C47
triadic
#BA474B #4BBA47 #474BBA
tetradic
#BA474B #84BA47 #47BAB6 #7C47BA
square
#BA474B #84BA47 #47BAB6 #7C47BA
split-complementary
#BA474B #47BA7C #4784BA
monochromatic
#622527 #8E3538 #BA474B #CB7477 #DBA0A2
Accessibility & contrast
On white
5.13
#BA474B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.09
#BA474B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA474B
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA474B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA474B | 1.00 | 5.13 | 4.09 | 5.13 |
| #FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#645E4A
Deuteranopia (green-blind)
#817748
Tritanopia (blue-blind)
#CB3149
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #ba474b; /* rgb */ color: rgb(186, 71, 75); /* oklch */ color: oklch(55.5% 0.149 21.3);
Tailwind
colors: {
custom: {
50: '#d57f7d',
500: '#ba474b',
950: '#000000',
},
}SCSS
$custom: #ba474b; $custom-light: #d57f7d; $custom-dark: #000000;
JSON
{
"hex": "#ba474b",
"rgb": {
"r": 186,
"g": 71,
"b": 75
},
"hsl": {
"h": 357.913,
"s": 45.455,
"l": 50.392
},
"oklch": {
"l": 0.55467,
"c": 0.14881,
"h": 21.3
},
"luminance": 0.15454
}Semantic roles & 50–950 ramp
primary
#BA474B
secondary
#95C8C6
accent
#D5D153
background
#FDF8F7
surface
#FBEFEE
border
#D4CAC9
text
#150A09
muted
#837C7B