#BA475C#BA475C

#BA475C is a mid, vivid red. Relative luminance 0.157; OKLCH L 55.8% C 0.149 H 12.3°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#BA475C
RGBrgb(186, 71, 92)
HSLhsl(349, 45%, 50%)
HSVhsv(349, 62%, 73%)
CMYKcmyk(0%, 61.8%, 50.5%, 27.1%)
CIE-LABlab(46.61, 48.08, 12.40)
CIE-LCHlch(46.61, 49.65, 14.46°)
OKLaboklab(55.85% 0.1454 0.0316)
OKLCHoklch(55.85% 0.149 12.3)
XYZxyz(24.4367, 15.7213, 11.8708)
Luminance0.1572 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA475C #47BAA5
analogous
#BA4796 #BA475C #BA6B47
triadic
#BA475C #5CBA47 #475CBA
tetradic
#BA475C #96BA47 #47BAA5 #6B47BA
square
#BA475C #96BA47 #47BAA5 #6B47BA
split-complementary
#BA475C #47BA6B #4796BA
monochromatic
#622530 #8E3546 #BA475C #CB7483 #DBA0AB

Accessibility & contrast

On white

5.07
#BA475C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#BA475C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA475C
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA475C#FFFFFF#000000##FFFFFF
##BA475C1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61605C
Deuteranopia (green-blind)
#7E7759
Tritanopia (blue-blind)
#CA354F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ba475c;
/* rgb */ color: rgb(186, 71, 92);
/* oklch */ color: oklch(55.8% 0.149 12.3);
Tailwind
colors: {
  custom: {
    50: '#d4808a',
    500: '#ba475c',
    950: '#000000',
  },
}
SCSS
$custom: #ba475c;
$custom-light: #d4808a;
$custom-dark: #000000;
JSON
{
  "hex": "#ba475c",
  "rgb": {
    "r": 186,
    "g": 71,
    "b": 92
  },
  "hsl": {
    "h": 349.043,
    "s": 45.455,
    "l": 50.392
  },
  "oklch": {
    "l": 0.55847,
    "c": 0.14879,
    "h": 12.3
  },
  "luminance": 0.15718
}

Semantic roles & 50–950 ramp

primary
#BA475C
secondary
#95C8BF
accent
#D5BD53
background
#FDF8F8
surface
#FBEFF0
border
#D4CACB
text
#150B0B
muted
#837C7C

Preview Lab

Preview with #BA475C

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

Preview Lab → · Contrast checker → · Palette generator →

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