#BA5945#BA5945

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

Color values

HEX#BA5945
RGBrgb(186, 89, 69)
HSLhsl(10, 46%, 50%)
HSVhsv(10, 63%, 73%)
CMYKcmyk(0%, 52.2%, 62.9%, 27.1%)
CIE-LABlab(49.52, 37.53, 29.91)
CIE-LCHlch(49.52, 47.99, 38.56°)
OKLaboklab(57.9% 0.1089 0.0709)
OKLCHoklch(57.9% 0.13 33.1)
XYZxyz(24.8984, 18.0165, 7.7954)
Luminance0.1801 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5945 #45A6BA
analogous
#BA456C #BA5945 #BA9345
triadic
#BA5945 #45BA59 #5945BA
tetradic
#BA5945 #6CBA45 #45A6BA #9345BA
square
#BA5945 #6CBA45 #45A6BA #9345BA
split-complementary
#BA5945 #45BA93 #456CBA
monochromatic
#612E24 #8D4434 #BA5945 #CB8172 #DBA99E

Accessibility & contrast

On white

4.56
#BA5945 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA5945#FFFFFF#000000##000000
##BA59451.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba5945;
/* rgb */ color: rgb(186, 89, 69);
/* oklch */ color: oklch(57.9% 0.130 33.1);
Tailwind
colors: {
  custom: {
    50: '#d48a79',
    500: '#ba5945',
    950: '#000000',
  },
}
SCSS
$custom: #ba5945;
$custom-light: #d48a79;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5945",
  "rgb": {
    "r": 186,
    "g": 89,
    "b": 69
  },
  "hsl": {
    "h": 10.256,
    "s": 45.882,
    "l": 50
  },
  "oklch": {
    "l": 0.57901,
    "c": 0.12995,
    "h": 33.1
  },
  "luminance": 0.18014
}

Semantic roles & 50–950 ramp

primary
#BA5945
secondary
#93BFC8
accent
#BFD652
background
#FDF8F7
surface
#FBF0ED
border
#D4CBC8
text
#150C09
muted
#837D7B

Preview Lab

Preview with #BA5945

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

Preview Lab → · Contrast checker → · Palette generator →

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