#BA5942#BA5942

#BA5942 is a mid, vivid red. Relative luminance 0.180; OKLCH L 57.9% C 0.131 H 34.6°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#BA5942
RGBrgb(186, 89, 66)
HSLhsl(12, 48%, 49%)
HSVhsv(12, 65%, 73%)
CMYKcmyk(0%, 52.2%, 64.5%, 27.1%)
CIE-LABlab(49.47, 37.33, 31.57)
CIE-LCHlch(49.47, 48.89, 40.22°)
OKLaboklab(57.85% 0.1077 0.0743)
OKLCHoklch(57.85% 0.131 34.6)
XYZxyz(24.8076, 17.9802, 7.3173)
Luminance0.1798 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5942 #42A3BA
analogous
#BA4267 #BA5942 #BA9542
triadic
#BA5942 #42BA59 #5942BA
tetradic
#BA5942 #67BA42 #42A3BA #9542BA
square
#BA5942 #67BA42 #42A3BA #9542BA
split-complementary
#BA5942 #42BA95 #4267BA
monochromatic
#602E22 #8D4332 #BA5942 #CB806E #DBA79B

Accessibility & contrast

On white

4.57
#BA5942 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#BA5942 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5942
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5942#FFFFFF#000000##000000
##BA59421.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#726940
Deuteranopia (green-blind)
#8A7E40
Tritanopia (blue-blind)
#CB4754
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ba5942;
/* rgb */ color: rgb(186, 89, 66);
/* oklch */ color: oklch(57.9% 0.131 34.6);
Tailwind
colors: {
  custom: {
    50: '#d48a77',
    500: '#ba5942',
    950: '#000000',
  },
}
SCSS
$custom: #ba5942;
$custom-light: #d48a77;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5942",
  "rgb": {
    "r": 186,
    "g": 89,
    "b": 66
  },
  "hsl": {
    "h": 11.5,
    "s": 47.619,
    "l": 49.412
  },
  "oklch": {
    "l": 0.57853,
    "c": 0.13085,
    "h": 34.6
  },
  "luminance": 0.17977
}

Semantic roles & 50–950 ramp

primary
#BA5942
secondary
#90BDC8
accent
#BDD751
background
#FDF8F7
surface
#FBF0ED
border
#D4CBC8
text
#150C08
muted
#837D7B

Preview Lab

Preview with #BA5942

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

Preview Lab → · Contrast checker → · Palette generator →

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