#BA475F#BA475F

#BA475F is a mid, vivid red. Relative luminance 0.158; OKLCH L 55.9% C 0.149 H 10.6°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#BA475F
RGBrgb(186, 71, 95)
HSLhsl(347, 45%, 50%)
HSVhsv(347, 62%, 73%)
CMYKcmyk(0%, 61.8%, 48.9%, 27.1%)
CIE-LABlab(46.68, 48.35, 10.67)
CIE-LCHlch(46.68, 49.51, 12.44°)
OKLaboklab(55.92% 0.1466 0.0274)
OKLCHoklch(55.92% 0.149 10.6)
XYZxyz(24.5704, 15.7748, 12.5752)
Luminance0.1577 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA475F #47BAA2
analogous
#BA4799 #BA475F #BA6847
triadic
#BA475F #5FBA47 #475FBA
tetradic
#BA475F #99BA47 #47BAA2 #6847BA
square
#BA475F #99BA47 #47BAA2 #6847BA
split-complementary
#BA475F #47BA68 #4799BA
monochromatic
#622531 #8E3548 #BA475F #CB7486 #DBA0AC

Accessibility & contrast

On white

5.05
#BA475F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#BA475F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA475F
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA475F#FFFFFF#000000##FFFFFF
##BA475F1.005.054.155.05
#FFFFFF5.051.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60605F
Deuteranopia (green-blind)
#7E775C
Tritanopia (blue-blind)
#CA3650
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ba475f;
/* rgb */ color: rgb(186, 71, 95);
/* oklch */ color: oklch(55.9% 0.149 10.6);
Tailwind
colors: {
  custom: {
    50: '#d4808c',
    500: '#ba475f',
    950: '#000000',
  },
}
SCSS
$custom: #ba475f;
$custom-light: #d4808c;
$custom-dark: #000000;
JSON
{
  "hex": "#ba475f",
  "rgb": {
    "r": 186,
    "g": 71,
    "b": 95
  },
  "hsl": {
    "h": 347.478,
    "s": 45.455,
    "l": 50.392
  },
  "oklch": {
    "l": 0.55923,
    "c": 0.14912,
    "h": 10.6
  },
  "luminance": 0.15772
}

Semantic roles & 50–950 ramp

primary
#BA475F
secondary
#95C8BD
accent
#D5BA53
background
#FDF8F8
surface
#FBEFF0
border
#D4CACB
text
#150B0C
muted
#837C7D

Preview Lab

Preview with #BA475F

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

Preview Lab → · Contrast checker → · Palette generator →

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