#BA3731#BA3731

#BA3731 is a mid, vivid red. Relative luminance 0.134; OKLCH L 53.2% C 0.169 H 27.1°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#BA3731
RGBrgb(186, 55, 49)
HSLhsl(3, 58%, 46%)
HSVhsv(3, 74%, 73%)
CMYKcmyk(0%, 70.4%, 73.7%, 27.1%)
CIE-LABlab(43.35, 51.96, 34.10)
CIE-LCHlch(43.35, 62.15, 33.28°)
OKLaboklab(53.17% 0.1501 0.077)
OKLCHoklch(53.17% 0.169 27.1)
XYZxyz(22.1728, 13.3966, 4.3234)
Luminance0.1339 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3731 #31B4BA
analogous
#BA316F #BA3731 #BA7B31
triadic
#BA3731 #31BA37 #3731BA
tetradic
#BA3731 #6FBA31 #31B4BA #7B31BA
square
#BA3731 #6FBA31 #31B4BA #7B31BA
split-complementary
#BA3731 #31BA7B #316FBA
monochromatic
#591A17 #8A2924 #BA3731 #D25B56 #DF8A86

Accessibility & contrast

On white

5.71
#BA3731 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#BA3731 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3731
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3731#FFFFFF#000000##FFFFFF
##BA37311.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D542F
Deuteranopia (green-blind)
#7D712C
Tritanopia (blue-blind)
#CD0537
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ba3731;
/* rgb */ color: rgb(186, 55, 49);
/* oklch */ color: oklch(53.2% 0.169 27.1);
Tailwind
colors: {
  custom: {
    50: '#d77669',
    500: '#ba3731',
    950: '#000000',
  },
}
SCSS
$custom: #ba3731;
$custom-light: #d77669;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3731",
  "rgb": {
    "r": 186,
    "g": 55,
    "b": 49
  },
  "hsl": {
    "h": 2.628,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53166,
    "c": 0.16867,
    "h": 27.1
  },
  "luminance": 0.13393
}

Semantic roles & 50–950 ramp

primary
#BA3731
secondary
#7EC6C9
accent
#DBE246
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160906
muted
#847B7A

Preview Lab

Preview with #BA3731

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

Preview Lab → · Contrast checker → · Palette generator →

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