#BA474F#BA474F

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

Color values

HEX#BA474F
RGBrgb(186, 71, 79)
HSLhsl(356, 45%, 50%)
HSVhsv(356, 62%, 73%)
CMYKcmyk(0%, 61.8%, 57.5%, 27.1%)
CIE-LABlab(46.33, 47.00, 19.92)
CIE-LCHlch(46.33, 51.05, 22.97°)
OKLaboklab(55.55% 0.1402 0.049)
OKLCHoklch(55.55% 0.149 19.3)
XYZxyz(23.9164, 15.5132, 9.1305)
Luminance0.1551 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA474F #47BAB2
analogous
#BA4788 #BA474F #BA7847
triadic
#BA474F #4FBA47 #474FBA
tetradic
#BA474F #88BA47 #47BAB2 #7847BA
square
#BA474F #88BA47 #47BAB2 #7847BA
split-complementary
#BA474F #47BA78 #4788BA
monochromatic
#622529 #8E353C #BA474F #CB747A #DBA0A4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA474F#FFFFFF#000000##FFFFFF
##BA474F1.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)
#635F4F
Deuteranopia (green-blind)
#80774C
Tritanopia (blue-blind)
#CB324B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ba474f;
/* rgb */ color: rgb(186, 71, 79);
/* oklch */ color: oklch(55.5% 0.149 19.3);
Tailwind
colors: {
  custom: {
    50: '#d47f80',
    500: '#ba474f',
    950: '#000000',
  },
}
SCSS
$custom: #ba474f;
$custom-light: #d47f80;
$custom-dark: #000000;
JSON
{
  "hex": "#ba474f",
  "rgb": {
    "r": 186,
    "g": 71,
    "b": 79
  },
  "hsl": {
    "h": 355.826,
    "s": 45.455,
    "l": 50.392
  },
  "oklch": {
    "l": 0.55549,
    "c": 0.14855,
    "h": 19.3
  },
  "luminance": 0.1551
}

Semantic roles & 50–950 ramp

primary
#BA474F
secondary
#95C8C4
accent
#D5CC53
background
#FDF8F7
surface
#FBEFEE
border
#D4CAC9
text
#150A0A
muted
#837C7C

Preview Lab

Preview with #BA474F

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

Preview Lab → · Contrast checker → · Palette generator →

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