#BA4031#BA4031

#BA4031 is a mid, vivid red. Relative luminance 0.143; OKLCH L 54.2% C 0.160 H 30.1°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#BA4031
RGBrgb(186, 64, 49)
HSLhsl(7, 58%, 46%)
HSVhsv(7, 74%, 73%)
CMYKcmyk(0%, 65.6%, 73.7%, 27.1%)
CIE-LABlab(44.70, 48.29, 35.62)
CIE-LCHlch(44.70, 60.01, 36.41°)
OKLaboklab(54.18% 0.1386 0.0803)
OKLCHoklch(54.18% 0.16 30.1)
XYZxyz(22.6399, 14.3309, 4.4791)
Luminance0.1433 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4031 #31ABBA
analogous
#BA3166 #BA4031 #BA8431
triadic
#BA4031 #31BA40 #4031BA
tetradic
#BA4031 #66BA31 #31ABBA #8431BA
square
#BA4031 #66BA31 #31ABBA #8431BA
split-complementary
#BA4031 #31BA84 #3166BA
monochromatic
#591F17 #8A2F24 #BA4031 #D26356 #DF9086

Accessibility & contrast

On white

5.43
#BA4031 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#BA4031 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4031
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4031#FFFFFF#000000##FFFFFF
##BA40311.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#62592F
Deuteranopia (green-blind)
#80742D
Tritanopia (blue-blind)
#CC1F3D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ba4031;
/* rgb */ color: rgb(186, 64, 49);
/* oklch */ color: oklch(54.2% 0.160 30.1);
Tailwind
colors: {
  custom: {
    50: '#d77b6a',
    500: '#ba4031',
    950: '#000000',
  },
}
SCSS
$custom: #ba4031;
$custom-light: #d77b6a;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4031",
  "rgb": {
    "r": 186,
    "g": 64,
    "b": 49
  },
  "hsl": {
    "h": 6.569,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54177,
    "c": 0.16014,
    "h": 30.1
  },
  "luminance": 0.14328
}

Semantic roles & 50–950 ramp

primary
#BA4031
secondary
#7EC1C9
accent
#D1E246
background
#FEF7F6
surface
#FCEEEB
border
#D5C9C6
text
#160A06
muted
#847C7A

Preview Lab

Preview with #BA4031

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

Preview Lab → · Contrast checker → · Palette generator →

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