#BA3E2B#BA3E2B

#BA3E2B is a mid, vivid red. Relative luminance 0.141; OKLCH L 53.9% C 0.163 H 31.4°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#BA3E2B
RGBrgb(186, 62, 43)
HSLhsl(8, 62%, 45%)
HSVhsv(8, 77%, 73%)
CMYKcmyk(0%, 66.7%, 76.9%, 27.1%)
CIE-LABlab(44.32, 48.89, 38.53)
CIE-LCHlch(44.32, 62.25, 38.25°)
OKLaboklab(53.87% 0.1392 0.0851)
OKLCHoklch(53.87% 0.163 31.4)
XYZxyz(22.4109, 14.0621, 3.8192)
Luminance0.1406 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3E2B #2BA7BA
analogous
#BA2B60 #BA3E2B #BA852B
triadic
#BA3E2B #2BBA3E #3E2BBA
tetradic
#BA3E2B #60BA2B #2BA7BA #852BBA
square
#BA3E2B #60BA2B #2BA7BA #852BBA
split-complementary
#BA3E2B #2BBA85 #2B60BA
monochromatic
#571D14 #882D20 #BA3E2B #D65F4C #E18B7E

Accessibility & contrast

On white

5.51
#BA3E2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#BA3E2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3E2B
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3E2B#FFFFFF#000000##FFFFFF
##BA3E2B1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615828
Deuteranopia (green-blind)
#807326
Tritanopia (blue-blind)
#CD193A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ba3e2b;
/* rgb */ color: rgb(186, 62, 43);
/* oklch */ color: oklch(53.9% 0.163 31.4);
Tailwind
colors: {
  custom: {
    50: '#d77a66',
    500: '#ba3e2b',
    950: '#000000',
  },
}
SCSS
$custom: #ba3e2b;
$custom-light: #d77a66;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3e2b",
  "rgb": {
    "r": 186,
    "g": 62,
    "b": 43
  },
  "hsl": {
    "h": 7.972,
    "s": 62.445,
    "l": 44.902
  },
  "oklch": {
    "l": 0.53868,
    "c": 0.16319,
    "h": 31.4
  },
  "luminance": 0.14059
}

Semantic roles & 50–950 ramp

primary
#BA3E2B
secondary
#77BFCA
accent
#D0E642
background
#FEF7F6
surface
#FCEEEB
border
#D5C9C6
text
#160A06
muted
#847C7A

Preview Lab

Preview with #BA3E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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