#BA3F2A#BA3F2A

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

Color values

HEX#BA3F2A
RGBrgb(186, 63, 42)
HSLhsl(9, 63%, 45%)
HSVhsv(9, 77%, 73%)
CMYKcmyk(0%, 66.1%, 77.4%, 27.1%)
CIE-LABlab(44.47, 48.42, 39.23)
CIE-LCHlch(44.47, 62.32, 39.01°)
OKLaboklab(53.97% 0.1376 0.0864)
OKLCHoklch(53.97% 0.162 32.1)
XYZxyz(22.4476, 14.1646, 3.7421)
Luminance0.1416 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3F2A #2AA5BA
analogous
#BA2A5D #BA3F2A #BA872A
triadic
#BA3F2A #2ABA3F #3F2ABA
tetradic
#BA3F2A #5DBA2A #2AA5BA #872ABA
square
#BA3F2A #5DBA2A #2AA5BA #872ABA
split-complementary
#BA3F2A #2ABA87 #2A5DBA
monochromatic
#561D13 #882E1F #BA3F2A #D65F4B #E28C7D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA3F2A#FFFFFF#000000##FFFFFF
##BA3F2A1.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)
#625827
Deuteranopia (green-blind)
#817325
Tritanopia (blue-blind)
#CD1B3B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ba3f2a;
/* rgb */ color: rgb(186, 63, 42);
/* oklch */ color: oklch(54.0% 0.162 32.1);
Tailwind
colors: {
  custom: {
    50: '#d77a65',
    500: '#ba3f2a',
    950: '#000000',
  },
}
SCSS
$custom: #ba3f2a;
$custom-light: #d77a65;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3f2a",
  "rgb": {
    "r": 186,
    "g": 63,
    "b": 42
  },
  "hsl": {
    "h": 8.75,
    "s": 63.158,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53975,
    "c": 0.16246,
    "h": 32.1
  },
  "luminance": 0.14161
}

Semantic roles & 50–950 ramp

primary
#BA3F2A
secondary
#76BECA
accent
#CEE642
background
#FEF7F6
surface
#FCEEEB
border
#D5C9C6
text
#160A06
muted
#847C7A

Preview Lab

Preview with #BA3F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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