#BA5940#BA5940

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

Color values

HEX#BA5940
RGBrgb(186, 89, 64)
HSLhsl(12, 49%, 49%)
HSVhsv(12, 66%, 73%)
CMYKcmyk(0%, 52.2%, 65.6%, 27.1%)
CIE-LABlab(49.44, 37.20, 32.67)
CIE-LCHlch(49.44, 49.51, 41.29°)
OKLaboklab(57.82% 0.107 0.0764)
OKLCHoklch(57.82% 0.131 35.5)
XYZxyz(24.7497, 17.9570, 7.0122)
Luminance0.1795 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5940 #40A1BA
analogous
#BA4064 #BA5940 #BA9640
triadic
#BA5940 #40BA59 #5940BA
tetradic
#BA5940 #64BA40 #40A1BA #9640BA
square
#BA5940 #64BA40 #40A1BA #9640BA
split-complementary
#BA5940 #40BA96 #4064BA
monochromatic
#5F2D21 #8C4330 #BA5940 #CC7F6B #DCA699

Accessibility & contrast

On white

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

On black

4.59
#BA5940 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5940
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5940#FFFFFF#000000##000000
##BA59401.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#72693D
Deuteranopia (green-blind)
#8A7E3E
Tritanopia (blue-blind)
#CB4653
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ba5940;
/* rgb */ color: rgb(186, 89, 64);
/* oklch */ color: oklch(57.8% 0.131 35.5);
Tailwind
colors: {
  custom: {
    50: '#d48a75',
    500: '#ba5940',
    950: '#000000',
  },
}
SCSS
$custom: #ba5940;
$custom-light: #d48a75;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5940",
  "rgb": {
    "r": 186,
    "g": 89,
    "b": 64
  },
  "hsl": {
    "h": 12.295,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.57823,
    "c": 0.13147,
    "h": 35.5
  },
  "luminance": 0.17954
}

Semantic roles & 50–950 ramp

primary
#BA5940
secondary
#8EBCC8
accent
#BCD84F
background
#FDF8F7
surface
#FBF0ED
border
#D4CBC8
text
#150C08
muted
#837D7B

Preview Lab

Preview with #BA5940

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

Preview Lab → · Contrast checker → · Palette generator →

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