#BA5842#BA5842

#BA5842 is a mid, vivid red. Relative luminance 0.178; OKLCH L 57.7% C 0.132 H 34.0°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#BA5842
RGBrgb(186, 88, 66)
HSLhsl(11, 48%, 49%)
HSVhsv(11, 65%, 73%)
CMYKcmyk(0%, 52.7%, 64.5%, 27.1%)
CIE-LABlab(49.27, 37.84, 31.32)
CIE-LCHlch(49.27, 49.12, 39.62°)
OKLaboklab(57.7% 0.1093 0.0737)
OKLCHoklch(57.7% 0.132 34)
XYZxyz(24.7250, 17.8149, 7.2898)
Luminance0.1781 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5842 #42A4BA
analogous
#BA4268 #BA5842 #BA9442
triadic
#BA5842 #42BA58 #5842BA
tetradic
#BA5842 #68BA42 #42A4BA #9442BA
square
#BA5842 #68BA42 #42A4BA #9442BA
split-complementary
#BA5842 #42BA94 #4268BA
monochromatic
#602D22 #8D4332 #BA5842 #CB7F6E #DBA79B

Accessibility & contrast

On white

4.60
#BA5842 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#BA5842 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BA5842
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5842#FFFFFF#000000##FFFFFF
##BA58421.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716840
Deuteranopia (green-blind)
#897D40
Tritanopia (blue-blind)
#CB4653
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ba5842;
/* rgb */ color: rgb(186, 88, 66);
/* oklch */ color: oklch(57.7% 0.132 34.0);
Tailwind
colors: {
  custom: {
    50: '#d48977',
    500: '#ba5842',
    950: '#000000',
  },
}
SCSS
$custom: #ba5842;
$custom-light: #d48977;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5842",
  "rgb": {
    "r": 186,
    "g": 88,
    "b": 66
  },
  "hsl": {
    "h": 11,
    "s": 47.619,
    "l": 49.412
  },
  "oklch": {
    "l": 0.577,
    "c": 0.13186,
    "h": 34
  },
  "luminance": 0.17812
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA5842

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

Preview Lab → · Contrast checker → · Palette generator →

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