#BA5838#BA5838

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

Color values

HEX#BA5838
RGBrgb(186, 88, 56)
HSLhsl(15, 54%, 47%)
HSVhsv(15, 70%, 73%)
CMYKcmyk(0%, 52.7%, 69.9%, 27.1%)
CIE-LABlab(49.14, 37.25, 36.75)
CIE-LCHlch(49.14, 52.33, 44.62°)
OKLaboklab(57.56% 0.1057 0.0841)
OKLCHoklch(57.56% 0.135 38.5)
XYZxyz(24.4555, 17.7071, 5.8706)
Luminance0.1770 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5838 #389ABA
analogous
#BA3859 #BA5838 #BA9938
triadic
#BA5838 #38BA58 #5838BA
tetradic
#BA5838 #59BA38 #389ABA #9938BA
square
#BA5838 #59BA38 #389ABA #9938BA
split-complementary
#BA5838 #38BA99 #3859BA
monochromatic
#5C2B1C #8B422A #BA5838 #CF7B60 #DDA28F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA5838#FFFFFF#000000##FFFFFF
##BA58381.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)
#726735
Deuteranopia (green-blind)
#8A7D36
Tritanopia (blue-blind)
#CC4451
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ba5838;
/* rgb */ color: rgb(186, 88, 56);
/* oklch */ color: oklch(57.6% 0.135 38.5);
Tailwind
colors: {
  custom: {
    50: '#d58970',
    500: '#ba5838',
    950: '#000000',
  },
}
SCSS
$custom: #ba5838;
$custom-light: #d58970;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5838",
  "rgb": {
    "r": 186,
    "g": 88,
    "b": 56
  },
  "hsl": {
    "h": 14.769,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.57558,
    "c": 0.13506,
    "h": 38.5
  },
  "luminance": 0.17704
}

Semantic roles & 50–950 ramp

primary
#BA5838
secondary
#86B8C8
accent
#B9DD4B
background
#FDF8F6
surface
#FBF0EC
border
#D4CBC7
text
#150C07
muted
#837D7A

Preview Lab

Preview with #BA5838

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

Preview Lab → · Contrast checker → · Palette generator →

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