#BA5047#BA5047

#BA5047 is a mid, vivid red. Relative luminance 0.166; OKLCH L 56.6% C 0.139 H 27.2°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#BA5047
RGBrgb(186, 80, 71)
HSLhsl(5, 45%, 50%)
HSVhsv(5, 62%, 73%)
CMYKcmyk(0%, 57%, 61.8%, 27.1%)
CIE-LABlab(47.80, 42.17, 26.60)
CIE-LCHlch(47.80, 49.86, 32.24°)
OKLaboklab(56.61% 0.1237 0.0637)
OKLCHoklch(56.61% 0.139 27.2)
XYZxyz(24.2579, 16.6344, 7.8934)
Luminance0.1663 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5047 #47B1BA
analogous
#BA4777 #BA5047 #BA8A47
triadic
#BA5047 #47BA50 #5047BA
tetradic
#BA5047 #77BA47 #47B1BA #8A47BA
square
#BA5047 #77BA47 #47B1BA #8A47BA
split-complementary
#BA5047 #47BA8A #4777BA
monochromatic
#622925 #8E3C35 #BA5047 #CB7A74 #DBA5A0

Accessibility & contrast

On white

4.85
#BA5047 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#BA5047 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA5047
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5047#FFFFFF#000000##FFFFFF
##BA50471.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B6346
Deuteranopia (green-blind)
#857A45
Tritanopia (blue-blind)
#CB3C4E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ba5047;
/* rgb */ color: rgb(186, 80, 71);
/* oklch */ color: oklch(56.6% 0.139 27.2);
Tailwind
colors: {
  custom: {
    50: '#d5857a',
    500: '#ba5047',
    950: '#000000',
  },
}
SCSS
$custom: #ba5047;
$custom-light: #d5857a;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5047",
  "rgb": {
    "r": 186,
    "g": 80,
    "b": 71
  },
  "hsl": {
    "h": 4.696,
    "s": 45.455,
    "l": 50.392
  },
  "oklch": {
    "l": 0.56607,
    "c": 0.13913,
    "h": 27.2
  },
  "luminance": 0.16631
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA5047

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

Preview Lab → · Contrast checker → · Palette generator →

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