#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
RGBrgb(186, 71, 75)
HSLhsl(358, 45%, 50%)
HSVhsv(358, 62%, 73%)
CMYKcmyk(0%, 61.8%, 59.7%, 27.1%)
CIE-LABlab(46.25, 46.71, 22.24)
CIE-LCHlch(46.25, 51.73, 25.46°)
OKLaboklab(55.47% 0.1386 0.0541)
OKLCHoklch(55.47% 0.149 21.3)
XYZxyz(23.7751, 15.4567, 8.3867)
Luminance0.1545 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

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
##BA474B1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.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

Preview Lab

Preview with #BA474B

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#BA474B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva