#BA5939#BA5939

#BA5939 is a mid, vivid red. Relative luminance 0.179; OKLCH L 57.7% C 0.134 H 38.7°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#BA5939
RGBrgb(186, 89, 57)
HSLhsl(15, 53%, 48%)
HSVhsv(15, 69%, 73%)
CMYKcmyk(0%, 52.2%, 69.4%, 27.1%)
CIE-LABlab(49.35, 36.79, 36.45)
CIE-LCHlch(49.35, 51.79, 44.74°)
OKLaboklab(57.72% 0.1045 0.0836)
OKLCHoklch(57.72% 0.134 38.7)
XYZxyz(24.5629, 17.8823, 6.0282)
Luminance0.1788 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5939 #399ABA
analogous
#BA3959 #BA5939 #BA9A39
triadic
#BA5939 #39BA59 #5939BA
tetradic
#BA5939 #59BA39 #399ABA #9A39BA
square
#BA5939 #59BA39 #399ABA #9A39BA
split-complementary
#BA5939 #39BA9A #3959BA
monochromatic
#5C2C1C #8B432B #BA5939 #CF7D61 #DDA390

Accessibility & contrast

On white

4.59
#BA5939 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#BA5939 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BA5939
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5939#FFFFFF#000000##FFFFFF
##BA59391.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736836
Deuteranopia (green-blind)
#8B7D37
Tritanopia (blue-blind)
#CC4652
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ba5939;
/* rgb */ color: rgb(186, 89, 57);
/* oklch */ color: oklch(57.7% 0.134 38.7);
Tailwind
colors: {
  custom: {
    50: '#d58a70',
    500: '#ba5939',
    950: '#000000',
  },
}
SCSS
$custom: #ba5939;
$custom-light: #d58a70;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5939",
  "rgb": {
    "r": 186,
    "g": 89,
    "b": 57
  },
  "hsl": {
    "h": 14.884,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.57724,
    "c": 0.1338,
    "h": 38.7
  },
  "luminance": 0.17879
}

Semantic roles & 50–950 ramp

primary
#BA5939
secondary
#87B8C8
accent
#B8DC4B
background
#FDF8F6
surface
#FBF0EC
border
#D4CBC7
text
#150C07
muted
#837D7A

Preview Lab

Preview with #BA5939

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

Preview Lab → · Contrast checker → · Palette generator →

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