#BA474C#BA474C

#BA474C is a mid, vivid red. Relative luminance 0.155; OKLCH L 55.5% C 0.149 H 20.8°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#BA474C
RGBrgb(186, 71, 76)
HSLhsl(357, 45%, 50%)
HSVhsv(357, 62%, 73%)
CMYKcmyk(0%, 61.8%, 59.1%, 27.1%)
CIE-LABlab(46.27, 46.78, 21.66)
CIE-LCHlch(46.27, 51.55, 24.85°)
OKLaboklab(55.49% 0.139 0.0528)
OKLCHoklch(55.49% 0.149 20.8)
XYZxyz(23.8096, 15.4705, 8.5684)
Luminance0.1547 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA474C #47BAB5
analogous
#BA4786 #BA474C #BA7B47
triadic
#BA474C #4CBA47 #474CBA
tetradic
#BA474C #86BA47 #47BAB5 #7B47BA
square
#BA474C #86BA47 #47BAB5 #7B47BA
split-complementary
#BA474C #47BA7B #4786BA
monochromatic
#622527 #8E3539 #BA474C #CB7477 #DBA0A3

Accessibility & contrast

On white

5.13
#BA474C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#BA474C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA474C
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA474C#FFFFFF#000000##FFFFFF
##BA474C1.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)
#645E4B
Deuteranopia (green-blind)
#817749
Tritanopia (blue-blind)
#CB314A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ba474c;
/* rgb */ color: rgb(186, 71, 76);
/* oklch */ color: oklch(55.5% 0.149 20.8);
Tailwind
colors: {
  custom: {
    50: '#d57f7e',
    500: '#ba474c',
    950: '#000000',
  },
}
SCSS
$custom: #ba474c;
$custom-light: #d57f7e;
$custom-dark: #000000;
JSON
{
  "hex": "#ba474c",
  "rgb": {
    "r": 186,
    "g": 71,
    "b": 76
  },
  "hsl": {
    "h": 357.391,
    "s": 45.455,
    "l": 50.392
  },
  "oklch": {
    "l": 0.55487,
    "c": 0.14873,
    "h": 20.8
  },
  "luminance": 0.15467
}

Semantic roles & 50–950 ramp

primary
#BA474C
secondary
#95C8C6
accent
#D5CF53
background
#FDF8F7
surface
#FBEFEE
border
#D4CAC9
text
#150A09
muted
#837C7B

Preview Lab

Preview with #BA474C

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

Preview Lab → · Contrast checker → · Palette generator →

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