#BA5147#BA5147

#BA5147 is a mid, vivid red. Relative luminance 0.168; OKLCH L 56.7% C 0.138 H 27.7°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#BA5147
RGBrgb(186, 81, 71)
HSLhsl(5, 45%, 50%)
HSVhsv(5, 62%, 73%)
CMYKcmyk(0%, 56.5%, 61.8%, 27.1%)
CIE-LABlab(47.98, 41.69, 26.84)
CIE-LCHlch(47.98, 49.58, 32.77°)
OKLaboklab(56.75% 0.1222 0.0642)
OKLCHoklch(56.75% 0.138 27.7)
XYZxyz(24.3316, 16.7819, 7.9179)
Luminance0.1678 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5147 #47B0BA
analogous
#BA4777 #BA5147 #BA8A47
triadic
#BA5147 #47BA51 #5147BA
tetradic
#BA5147 #77BA47 #47B0BA #8A47BA
square
#BA5147 #77BA47 #47B0BA #8A47BA
split-complementary
#BA5147 #47BA8A #4777BA
monochromatic
#622A25 #8E3D35 #BA5147 #CB7B74 #DBA5A0

Accessibility & contrast

On white

4.82
#BA5147 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#BA5147 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA5147
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5147#FFFFFF#000000##FFFFFF
##BA51471.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B6446
Deuteranopia (green-blind)
#867A45
Tritanopia (blue-blind)
#CB3D4F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ba5147;
/* rgb */ color: rgb(186, 81, 71);
/* oklch */ color: oklch(56.7% 0.138 27.7);
Tailwind
colors: {
  custom: {
    50: '#d4857a',
    500: '#ba5147',
    950: '#000000',
  },
}
SCSS
$custom: #ba5147;
$custom-light: #d4857a;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5147",
  "rgb": {
    "r": 186,
    "g": 81,
    "b": 71
  },
  "hsl": {
    "h": 5.217,
    "s": 45.455,
    "l": 50.392
  },
  "oklch": {
    "l": 0.56749,
    "c": 0.13803,
    "h": 27.7
  },
  "luminance": 0.16779
}

Semantic roles & 50–950 ramp

primary
#BA5147
secondary
#95C4C8
accent
#CAD553
background
#FDF8F7
surface
#FBEFED
border
#D4CAC8
text
#150B09
muted
#837C7B

Preview Lab

Preview with #BA5147

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

Preview Lab → · Contrast checker → · Palette generator →

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