#BA4C31#BA4C31

#BA4C31 is a mid, vivid red. Relative luminance 0.158; OKLCH L 55.7% C 0.148 H 35.0°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#BA4C31
RGBrgb(186, 76, 49)
HSLhsl(12, 58%, 46%)
HSVhsv(12, 74%, 73%)
CMYKcmyk(0%, 59.1%, 73.7%, 27.1%)
CIE-LABlab(46.75, 42.84, 37.89)
CIE-LCHlch(46.75, 57.19, 41.49°)
OKLaboklab(55.72% 0.1216 0.0852)
OKLCHoklch(55.72% 0.148 35)
XYZxyz(23.3909, 15.8329, 4.7295)
Luminance0.1583 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4C31 #319FBA
analogous
#BA315A #BA4C31 #BA9031
triadic
#BA4C31 #31BA4C #4C31BA
tetradic
#BA4C31 #5ABA31 #319FBA #9031BA
square
#BA4C31 #5ABA31 #319FBA #9031BA
split-complementary
#BA4C31 #31BA90 #315ABA
monochromatic
#592417 #8A3824 #BA4C31 #D26E56 #DF9886

Accessibility & contrast

On white

5.04
#BA4C31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#BA4C31 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4C31
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4C31#FFFFFF#000000##FFFFFF
##BA4C311.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A602E
Deuteranopia (green-blind)
#85782E
Tritanopia (blue-blind)
#CC3346
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ba4c31;
/* rgb */ color: rgb(186, 76, 49);
/* oklch */ color: oklch(55.7% 0.148 35.0);
Tailwind
colors: {
  custom: {
    50: '#d6826a',
    500: '#ba4c31',
    950: '#000000',
  },
}
SCSS
$custom: #ba4c31;
$custom-light: #d6826a;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4c31",
  "rgb": {
    "r": 186,
    "g": 76,
    "b": 49
  },
  "hsl": {
    "h": 11.825,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.55722,
    "c": 0.14849,
    "h": 35
  },
  "luminance": 0.1583
}

Semantic roles & 50–950 ramp

primary
#BA4C31
secondary
#7EBAC9
accent
#C3E246
background
#FEF8F6
surface
#FCEFEB
border
#D5CAC6
text
#160B06
muted
#847C7A

Preview Lab

Preview with #BA4C31

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

Preview Lab → · Contrast checker → · Palette generator →

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