#BA5A42#BA5A42

#BA5A42 is a mid, vivid red. Relative luminance 0.181; OKLCH L 58.0% C 0.130 H 35.2°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#BA5A42
RGBrgb(186, 90, 66)
HSLhsl(12, 48%, 49%)
HSVhsv(12, 65%, 73%)
CMYKcmyk(0%, 51.6%, 64.5%, 27.1%)
CIE-LABlab(49.67, 36.81, 31.82)
CIE-LCHlch(49.67, 48.66, 40.83°)
OKLaboklab(58.01% 0.1062 0.0748)
OKLCHoklch(58.01% 0.13 35.2)
XYZxyz(24.8914, 18.1477, 7.3453)
Luminance0.1815 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5A42 #42A2BA
analogous
#BA4266 #BA5A42 #BA9642
triadic
#BA5A42 #42BA5A #5A42BA
tetradic
#BA5A42 #66BA42 #42A2BA #9642BA
square
#BA5A42 #66BA42 #42A2BA #9642BA
split-complementary
#BA5A42 #42BA96 #4266BA
monochromatic
#602E22 #8D4432 #BA5A42 #CB806E #DBA89B

Accessibility & contrast

On white

4.54
#BA5A42 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#BA5A42 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5A42
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5A42#FFFFFF#000000##000000
##BA5A421.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba5a42;
/* rgb */ color: rgb(186, 90, 66);
/* oklch */ color: oklch(58.0% 0.130 35.2);
Tailwind
colors: {
  custom: {
    50: '#d48b77',
    500: '#ba5a42',
    950: '#000000',
  },
}
SCSS
$custom: #ba5a42;
$custom-light: #d48b77;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5a42",
  "rgb": {
    "r": 186,
    "g": 90,
    "b": 66
  },
  "hsl": {
    "h": 12,
    "s": 47.619,
    "l": 49.412
  },
  "oklch": {
    "l": 0.58008,
    "c": 0.12985,
    "h": 35.2
  },
  "luminance": 0.18145
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA5A42

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

Preview Lab → · Contrast checker → · Palette generator →

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