#BA4731#BA4731

#BA4731 is a mid, vivid red. Relative luminance 0.152; OKLCH L 55.1% C 0.153 H 32.8°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#BA4731
RGBrgb(186, 71, 49)
HSLhsl(10, 58%, 46%)
HSVhsv(10, 74%, 73%)
CMYKcmyk(0%, 61.8%, 73.7%, 27.1%)
CIE-LABlab(45.87, 45.18, 36.91)
CIE-LCHlch(45.87, 58.34, 39.25°)
OKLaboklab(55.05% 0.1289 0.0831)
OKLCHoklch(55.05% 0.153 32.8)
XYZxyz(23.0597, 15.1705, 4.6191)
Luminance0.1517 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4731 #31A4BA
analogous
#BA315F #BA4731 #BA8B31
triadic
#BA4731 #31BA47 #4731BA
tetradic
#BA4731 #5FBA31 #31A4BA #8B31BA
square
#BA4731 #5FBA31 #31A4BA #8B31BA
split-complementary
#BA4731 #31BA8B #315FBA
monochromatic
#592217 #8A3524 #BA4731 #D26A56 #DF9586

Accessibility & contrast

On white

5.21
#BA4731 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#BA4731 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4731
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4731#FFFFFF#000000##FFFFFF
##BA47311.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675D2E
Deuteranopia (green-blind)
#83762D
Tritanopia (blue-blind)
#CC2C42
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ba4731;
/* rgb */ color: rgb(186, 71, 49);
/* oklch */ color: oklch(55.1% 0.153 32.8);
Tailwind
colors: {
  custom: {
    50: '#d67f6a',
    500: '#ba4731',
    950: '#000000',
  },
}
SCSS
$custom: #ba4731;
$custom-light: #d67f6a;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4731",
  "rgb": {
    "r": 186,
    "g": 71,
    "b": 49
  },
  "hsl": {
    "h": 9.635,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.55052,
    "c": 0.15333,
    "h": 32.8
  },
  "luminance": 0.15167
}

Semantic roles & 50–950 ramp

primary
#BA4731
secondary
#7EBDC9
accent
#C9E246
background
#FEF8F6
surface
#FCEFEB
border
#D5CAC6
text
#160A06
muted
#847C7A

Preview Lab

Preview with #BA4731

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

Preview Lab → · Contrast checker → · Palette generator →

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