#BA475B#BA475B

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

Color values

HEX#BA475B
RGBrgb(186, 71, 91)
HSLhsl(350, 45%, 50%)
HSVhsv(350, 62%, 73%)
CMYKcmyk(0%, 61.8%, 51.1%, 27.1%)
CIE-LABlab(46.58, 47.99, 12.98)
CIE-LCHlch(46.58, 49.71, 15.13°)
OKLaboklab(55.82% 0.145 0.033)
OKLCHoklch(55.82% 0.149 12.8)
XYZxyz(24.3932, 15.7039, 11.6421)
Luminance0.1570 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA475B #47BAA6
analogous
#BA4795 #BA475B #BA6C47
triadic
#BA475B #5BBA47 #475BBA
tetradic
#BA475B #95BA47 #47BAA6 #6C47BA
square
#BA475B #95BA47 #47BAA6 #6C47BA
split-complementary
#BA475B #47BA6C #4795BA
monochromatic
#62252F #8E3545 #BA475B #CB7483 #DBA0AA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA475B#FFFFFF#000000##FFFFFF
##BA475B1.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)
#61605B
Deuteranopia (green-blind)
#7F7758
Tritanopia (blue-blind)
#CA354F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ba475b;
/* rgb */ color: rgb(186, 71, 91);
/* oklch */ color: oklch(55.8% 0.149 12.8);
Tailwind
colors: {
  custom: {
    50: '#d48089',
    500: '#ba475b',
    950: '#000000',
  },
}
SCSS
$custom: #ba475b;
$custom-light: #d48089;
$custom-dark: #000000;
JSON
{
  "hex": "#ba475b",
  "rgb": {
    "r": 186,
    "g": 71,
    "b": 91
  },
  "hsl": {
    "h": 349.565,
    "s": 45.455,
    "l": 50.392
  },
  "oklch": {
    "l": 0.55822,
    "c": 0.14871,
    "h": 12.8
  },
  "luminance": 0.15701
}

Semantic roles & 50–950 ramp

primary
#BA475B
secondary
#95C8BF
accent
#D5BE53
background
#FDF8F8
surface
#FBEFF0
border
#D4CACB
text
#150A0B
muted
#837C7C

Preview Lab

Preview with #BA475B

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

Preview Lab → · Contrast checker → · Palette generator →

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