#BA3F2B#BA3F2B

#BA3F2B is a mid, vivid red. Relative luminance 0.142; OKLCH L 54.0% C 0.162 H 31.8°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#BA3F2B
RGBrgb(186, 63, 43)
HSLhsl(8, 62%, 45%)
HSVhsv(8, 77%, 73%)
CMYKcmyk(0%, 66.1%, 76.9%, 27.1%)
CIE-LABlab(44.48, 48.46, 38.70)
CIE-LCHlch(44.48, 62.02, 38.61°)
OKLaboklab(53.99% 0.1379 0.0855)
OKLCHoklch(53.99% 0.162 31.8)
XYZxyz(22.4658, 14.1718, 3.8375)
Luminance0.1417 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3F2B #2BA6BA
analogous
#BA2B5E #BA3F2B #BA872B
triadic
#BA3F2B #2BBA3F #3F2BBA
tetradic
#BA3F2B #5EBA2B #2BA6BA #872BBA
square
#BA3F2B #5EBA2B #2BA6BA #872BBA
split-complementary
#BA3F2B #2BBA87 #2B5EBA
monochromatic
#571D14 #882E20 #BA3F2B #D6604C #E18C7E

Accessibility & contrast

On white

5.48
#BA3F2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#BA3F2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3F2B
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3F2B#FFFFFF#000000##FFFFFF
##BA3F2B1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba3f2b;
/* rgb */ color: rgb(186, 63, 43);
/* oklch */ color: oklch(54.0% 0.162 31.8);
Tailwind
colors: {
  custom: {
    50: '#d77a66',
    500: '#ba3f2b',
    950: '#000000',
  },
}
SCSS
$custom: #ba3f2b;
$custom-light: #d77a66;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3f2b",
  "rgb": {
    "r": 186,
    "g": 63,
    "b": 43
  },
  "hsl": {
    "h": 8.392,
    "s": 62.445,
    "l": 44.902
  },
  "oklch": {
    "l": 0.53986,
    "c": 0.16226,
    "h": 31.8
  },
  "luminance": 0.14169
}

Semantic roles & 50–950 ramp

primary
#BA3F2B
secondary
#77BECA
accent
#CFE642
background
#FEF7F6
surface
#FCEEEB
border
#D5C9C6
text
#160A06
muted
#847C7A

Preview Lab

Preview with #BA3F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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