#BA474D#BA474D

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

Color values

HEX#BA474D
RGBrgb(186, 71, 77)
HSLhsl(357, 45%, 50%)
HSVhsv(357, 62%, 73%)
CMYKcmyk(0%, 61.8%, 58.6%, 27.1%)
CIE-LABlab(46.29, 46.85, 21.08)
CIE-LCHlch(46.29, 51.38, 24.23°)
OKLaboklab(55.51% 0.1394 0.0516)
OKLCHoklch(55.51% 0.149 20.3)
XYZxyz(23.8446, 15.4845, 8.7529)
Luminance0.1548 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA474D #47BAB4
analogous
#BA4786 #BA474D #BA7B47
triadic
#BA474D #4DBA47 #474DBA
tetradic
#BA474D #86BA47 #47BAB4 #7B47BA
square
#BA474D #86BA47 #47BAB4 #7B47BA
split-complementary
#BA474D #47BA7B #4786BA
monochromatic
#622528 #8E353A #BA474D #CB7478 #DBA0A3

Accessibility & contrast

On white

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

On black

4.10
#BA474D on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##BA474D#FFFFFF#000000##FFFFFF
##BA474D1.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635E4C
Deuteranopia (green-blind)
#80774A
Tritanopia (blue-blind)
#CB314A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ba474d;
/* rgb */ color: rgb(186, 71, 77);
/* oklch */ color: oklch(55.5% 0.149 20.3);
Tailwind
colors: {
  custom: {
    50: '#d57f7e',
    500: '#ba474d',
    950: '#000000',
  },
}
SCSS
$custom: #ba474d;
$custom-light: #d57f7e;
$custom-dark: #000000;
JSON
{
  "hex": "#ba474d",
  "rgb": {
    "r": 186,
    "g": 71,
    "b": 77
  },
  "hsl": {
    "h": 356.87,
    "s": 45.455,
    "l": 50.392
  },
  "oklch": {
    "l": 0.55508,
    "c": 0.14866,
    "h": 20.3
  },
  "luminance": 0.15481
}

Semantic roles & 50–950 ramp

primary
#BA474D
secondary
#95C8C5
accent
#D5CE53
background
#FDF8F7
surface
#FBEFEE
border
#D4CAC9
text
#150A0A
muted
#837C7C

Preview Lab

Preview with #BA474D

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

Preview Lab → · Contrast checker → · Palette generator →

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