#BA5131#BA5131

#BA5131 is a mid, vivid red. Relative luminance 0.165; OKLCH L 56.4% C 0.144 H 37.4°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#BA5131
RGBrgb(186, 81, 49)
HSLhsl(14, 58%, 46%)
HSVhsv(14, 74%, 73%)
CMYKcmyk(0%, 56.5%, 73.7%, 27.1%)
CIE-LABlab(47.69, 40.41, 38.91)
CIE-LCHlch(47.69, 56.10, 43.92°)
OKLaboklab(56.43% 0.1141 0.0874)
OKLCHoklch(56.43% 0.144 37.4)
XYZxyz(23.7489, 16.5488, 4.8488)
Luminance0.1655 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5131 #319ABA
analogous
#BA3155 #BA5131 #BA9531
triadic
#BA5131 #31BA51 #5131BA
tetradic
#BA5131 #55BA31 #319ABA #9531BA
square
#BA5131 #55BA31 #319ABA #9531BA
split-complementary
#BA5131 #31BA95 #3155BA
monochromatic
#592717 #8A3C24 #BA5131 #D27356 #DF9B86

Accessibility & contrast

On white

4.87
#BA5131 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#BA5131 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA5131
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5131#FFFFFF#000000##FFFFFF
##BA51311.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E632D
Deuteranopia (green-blind)
#877A2E
Tritanopia (blue-blind)
#CC3A4A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ba5131;
/* rgb */ color: rgb(186, 81, 49);
/* oklch */ color: oklch(56.4% 0.144 37.4);
Tailwind
colors: {
  custom: {
    50: '#d6856b',
    500: '#ba5131',
    950: '#000000',
  },
}
SCSS
$custom: #ba5131;
$custom-light: #d6856b;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5131",
  "rgb": {
    "r": 186,
    "g": 81,
    "b": 49
  },
  "hsl": {
    "h": 14.015,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.56428,
    "c": 0.14375,
    "h": 37.4
  },
  "luminance": 0.16546
}

Semantic roles & 50–950 ramp

primary
#BA5131
secondary
#7EB7C9
accent
#BDE246
background
#FEF8F6
surface
#FCEFEB
border
#D5CAC6
text
#160B06
muted
#847C7A

Preview Lab

Preview with #BA5131

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

Preview Lab → · Contrast checker → · Palette generator →

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