#BA5839#BA5839

#BA5839 is a mid, vivid red. Relative luminance 0.177; OKLCH L 57.6% C 0.135 H 38.1°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#BA5839
RGBrgb(186, 88, 57)
HSLhsl(14, 53%, 48%)
HSVhsv(14, 69%, 73%)
CMYKcmyk(0%, 52.7%, 69.4%, 27.1%)
CIE-LABlab(49.15, 37.30, 36.22)
CIE-LCHlch(49.15, 51.99, 44.16°)
OKLaboklab(57.57% 0.106 0.0831)
OKLCHoklch(57.57% 0.135 38.1)
XYZxyz(24.4802, 17.7170, 6.0007)
Luminance0.1771 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5839 #399BBA
analogous
#BA395A #BA5839 #BA9939
triadic
#BA5839 #39BA58 #5839BA
tetradic
#BA5839 #5ABA39 #399BBA #9939BA
square
#BA5839 #5ABA39 #399BBA #9939BA
split-complementary
#BA5839 #39BA99 #395ABA
monochromatic
#5C2C1C #8B422B #BA5839 #CF7C61 #DDA390

Accessibility & contrast

On white

4.62
#BA5839 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#BA5839 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BA5839
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5839#FFFFFF#000000##FFFFFF
##BA58391.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726736
Deuteranopia (green-blind)
#8A7D37
Tritanopia (blue-blind)
#CC4451
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ba5839;
/* rgb */ color: rgb(186, 88, 57);
/* oklch */ color: oklch(57.6% 0.135 38.1);
Tailwind
colors: {
  custom: {
    50: '#d58970',
    500: '#ba5839',
    950: '#000000',
  },
}
SCSS
$custom: #ba5839;
$custom-light: #d58970;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5839",
  "rgb": {
    "r": 186,
    "g": 88,
    "b": 57
  },
  "hsl": {
    "h": 14.419,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.57571,
    "c": 0.13472,
    "h": 38.1
  },
  "luminance": 0.17714
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA5839

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

Preview Lab → · Contrast checker → · Palette generator →

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