#BA5442#BA5442

#BA5442 is a mid, vivid red. Relative luminance 0.172; OKLCH L 57.1% C 0.136 H 31.8°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#BA5442
RGBrgb(186, 84, 66)
HSLhsl(9, 48%, 49%)
HSVhsv(9, 65%, 73%)
CMYKcmyk(0%, 54.8%, 64.5%, 27.1%)
CIE-LABlab(48.48, 39.86, 30.36)
CIE-LCHlch(48.48, 50.11, 37.29°)
OKLaboklab(57.1% 0.1156 0.0716)
OKLCHoklch(57.1% 0.136 31.8)
XYZxyz(24.4056, 17.1761, 7.1833)
Luminance0.1717 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5442 #42A8BA
analogous
#BA426C #BA5442 #BA9042
triadic
#BA5442 #42BA54 #5442BA
tetradic
#BA5442 #6CBA42 #42A8BA #9042BA
square
#BA5442 #6CBA42 #42A8BA #9042BA
split-complementary
#BA5442 #42BA90 #426CBA
monochromatic
#602B22 #8D4032 #BA5442 #CB7C6E #DBA59B

Accessibility & contrast

On white

4.74
#BA5442 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#BA5442 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA5442
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5442#FFFFFF#000000##FFFFFF
##BA54421.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6540
Deuteranopia (green-blind)
#887B40
Tritanopia (blue-blind)
#CB4050
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ba5442;
/* rgb */ color: rgb(186, 84, 66);
/* oklch */ color: oklch(57.1% 0.136 31.8);
Tailwind
colors: {
  custom: {
    50: '#d58777',
    500: '#ba5442',
    950: '#000000',
  },
}
SCSS
$custom: #ba5442;
$custom-light: #d58777;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5442",
  "rgb": {
    "r": 186,
    "g": 84,
    "b": 66
  },
  "hsl": {
    "h": 9,
    "s": 47.619,
    "l": 49.412
  },
  "oklch": {
    "l": 0.57101,
    "c": 0.13596,
    "h": 31.8
  },
  "luminance": 0.17173
}

Semantic roles & 50–950 ramp

primary
#BA5442
secondary
#90BFC8
accent
#C3D751
background
#FDF8F7
surface
#FBF0ED
border
#D4CBC8
text
#150B08
muted
#837C7B

Preview Lab

Preview with #BA5442

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

Preview Lab → · Contrast checker → · Palette generator →

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