#BA412A#BA412A

#BA412A is a mid, vivid red. Relative luminance 0.144; OKLCH L 54.2% C 0.161 H 32.8°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#BA412A
RGBrgb(186, 65, 42)
HSLhsl(10, 63%, 45%)
HSVhsv(10, 77%, 73%)
CMYKcmyk(0%, 65.1%, 77.4%, 27.1%)
CIE-LABlab(44.79, 47.57, 39.56)
CIE-LCHlch(44.79, 61.87, 39.75°)
OKLaboklab(54.22% 0.1349 0.0871)
OKLCHoklch(54.22% 0.161 32.8)
XYZxyz(22.5604, 14.3901, 3.7797)
Luminance0.1439 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA412A #2AA3BA
analogous
#BA2A5B #BA412A #BA892A
triadic
#BA412A #2ABA41 #412ABA
tetradic
#BA412A #5BBA2A #2AA3BA #892ABA
square
#BA412A #5BBA2A #2AA3BA #892ABA
split-complementary
#BA412A #2ABA89 #2A5BBA
monochromatic
#561E13 #88301F #BA412A #D6614B #E28D7D

Accessibility & contrast

On white

5.42
#BA412A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#BA412A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA412A
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA412A#FFFFFF#000000##FFFFFF
##BA412A1.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635927
Deuteranopia (green-blind)
#817425
Tritanopia (blue-blind)
#CD203C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ba412a;
/* rgb */ color: rgb(186, 65, 42);
/* oklch */ color: oklch(54.2% 0.161 32.8);
Tailwind
colors: {
  custom: {
    50: '#d77b65',
    500: '#ba412a',
    950: '#000000',
  },
}
SCSS
$custom: #ba412a;
$custom-light: #d77b65;
$custom-dark: #000000;
JSON
{
  "hex": "#ba412a",
  "rgb": {
    "r": 186,
    "g": 65,
    "b": 42
  },
  "hsl": {
    "h": 9.583,
    "s": 63.158,
    "l": 44.706
  },
  "oklch": {
    "l": 0.54215,
    "c": 0.16059,
    "h": 32.8
  },
  "luminance": 0.14387
}

Semantic roles & 50–950 ramp

primary
#BA412A
secondary
#76BDCA
accent
#CCE642
background
#FEF7F6
surface
#FCEEEB
border
#D5C9C6
text
#160A06
muted
#847C7A

Preview Lab

Preview with #BA412A

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

Preview Lab → · Contrast checker → · Palette generator →

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