#BA5847#BA5847

#BA5847 is a mid, vivid red. Relative luminance 0.179; OKLCH L 57.8% C 0.130 H 31.5°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#BA5847
RGBrgb(186, 88, 71)
HSLhsl(9, 45%, 50%)
HSVhsv(9, 62%, 73%)
CMYKcmyk(0%, 52.7%, 61.8%, 27.1%)
CIE-LABlab(49.35, 38.18, 28.55)
CIE-LCHlch(49.35, 47.67, 36.79°)
OKLaboklab(57.78% 0.1113 0.0681)
OKLCHoklch(57.78% 0.13 31.5)
XYZxyz(24.8789, 17.8764, 8.1004)
Luminance0.1787 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5847 #47A9BA
analogous
#BA476F #BA5847 #BA9247
triadic
#BA5847 #47BA58 #5847BA
tetradic
#BA5847 #6FBA47 #47A9BA #9247BA
square
#BA5847 #6FBA47 #47A9BA #9247BA
split-complementary
#BA5847 #47BA92 #476FBA
monochromatic
#622E25 #8E4335 #BA5847 #CB8074 #DBA9A0

Accessibility & contrast

On white

4.59
#BA5847 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#BA5847 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BA5847
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5847#FFFFFF#000000##FFFFFF
##BA58471.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716845
Deuteranopia (green-blind)
#897D45
Tritanopia (blue-blind)
#CB4654
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ba5847;
/* rgb */ color: rgb(186, 88, 71);
/* oklch */ color: oklch(57.8% 0.130 31.5);
Tailwind
colors: {
  custom: {
    50: '#d48a7a',
    500: '#ba5847',
    950: '#000000',
  },
}
SCSS
$custom: #ba5847;
$custom-light: #d48a7a;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5847",
  "rgb": {
    "r": 186,
    "g": 88,
    "b": 71
  },
  "hsl": {
    "h": 8.87,
    "s": 45.455,
    "l": 50.392
  },
  "oklch": {
    "l": 0.57782,
    "c": 0.13043,
    "h": 31.5
  },
  "luminance": 0.17873
}

Semantic roles & 50–950 ramp

primary
#BA5847
secondary
#95C0C8
accent
#C2D553
background
#FDF8F7
surface
#FBF0ED
border
#D4CBC8
text
#150C09
muted
#837D7B

Preview Lab

Preview with #BA5847

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

Preview Lab → · Contrast checker → · Palette generator →

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