#BA474E#BA474E

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

Color values

HEX#BA474E
RGBrgb(186, 71, 78)
HSLhsl(356, 45%, 50%)
HSVhsv(356, 62%, 73%)
CMYKcmyk(0%, 61.8%, 58.1%, 27.1%)
CIE-LABlab(46.31, 46.93, 20.50)
CIE-LCHlch(46.31, 51.21, 23.60°)
OKLaboklab(55.53% 0.1398 0.0503)
OKLCHoklch(55.53% 0.149 19.8)
XYZxyz(23.8802, 15.4987, 8.9403)
Luminance0.1550 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA474E #47BAB3
analogous
#BA4787 #BA474E #BA7947
triadic
#BA474E #4EBA47 #474EBA
tetradic
#BA474E #87BA47 #47BAB3 #7947BA
square
#BA474E #87BA47 #47BAB3 #7947BA
split-complementary
#BA474E #47BA79 #4787BA
monochromatic
#622528 #8E353B #BA474E #CB7479 #DBA0A4

Accessibility & contrast

On white

5.12
#BA474E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA474E
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA474E#FFFFFF#000000##FFFFFF
##BA474E1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635F4E
Deuteranopia (green-blind)
#80774B
Tritanopia (blue-blind)
#CB324A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ba474e;
/* rgb */ color: rgb(186, 71, 78);
/* oklch */ color: oklch(55.5% 0.149 19.8);
Tailwind
colors: {
  custom: {
    50: '#d57f7f',
    500: '#ba474e',
    950: '#000000',
  },
}
SCSS
$custom: #ba474e;
$custom-light: #d57f7f;
$custom-dark: #000000;
JSON
{
  "hex": "#ba474e",
  "rgb": {
    "r": 186,
    "g": 71,
    "b": 78
  },
  "hsl": {
    "h": 356.348,
    "s": 45.455,
    "l": 50.392
  },
  "oklch": {
    "l": 0.55528,
    "c": 0.1486,
    "h": 19.8
  },
  "luminance": 0.15496
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA474E

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

Preview Lab → · Contrast checker → · Palette generator →

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