#BA3F31#BA3F31

#BA3F31 is a mid, vivid red. Relative luminance 0.142; OKLCH L 54.1% C 0.161 H 29.7°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#BA3F31
RGBrgb(186, 63, 49)
HSLhsl(6, 58%, 46%)
HSVhsv(6, 74%, 73%)
CMYKcmyk(0%, 66.1%, 73.7%, 27.1%)
CIE-LABlab(44.55, 48.72, 35.44)
CIE-LCHlch(44.55, 60.25, 36.04°)
OKLaboklab(54.06% 0.1399 0.0799)
OKLCHoklch(54.06% 0.161 29.7)
XYZxyz(22.5840, 14.2191, 4.4605)
Luminance0.1422 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3F31 #31ACBA
analogous
#BA3167 #BA3F31 #BA8331
triadic
#BA3F31 #31BA3F #3F31BA
tetradic
#BA3F31 #67BA31 #31ACBA #8331BA
square
#BA3F31 #67BA31 #31ACBA #8331BA
split-complementary
#BA3F31 #31BA83 #3167BA
monochromatic
#591E17 #8A2F24 #BA3F31 #D26356 #DF8F86

Accessibility & contrast

On white

5.46
#BA3F31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#BA3F31 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3F31
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3F31#FFFFFF#000000##FFFFFF
##BA3F311.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61582F
Deuteranopia (green-blind)
#80732D
Tritanopia (blue-blind)
#CD1D3D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ba3f31;
/* rgb */ color: rgb(186, 63, 49);
/* oklch */ color: oklch(54.1% 0.161 29.7);
Tailwind
colors: {
  custom: {
    50: '#d77a6a',
    500: '#ba3f31',
    950: '#000000',
  },
}
SCSS
$custom: #ba3f31;
$custom-light: #d77a6a;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3f31",
  "rgb": {
    "r": 186,
    "g": 63,
    "b": 49
  },
  "hsl": {
    "h": 6.131,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54058,
    "c": 0.16111,
    "h": 29.7
  },
  "luminance": 0.14216
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA3F31

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

Preview Lab → · Contrast checker → · Palette generator →

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