#BA462A#BA462A

#BA462A is a mid, vivid red. Relative luminance 0.150; OKLCH L 54.8% C 0.156 H 34.8°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#BA462A
RGBrgb(186, 70, 42)
HSLhsl(12, 63%, 45%)
HSVhsv(12, 77%, 73%)
CMYKcmyk(0%, 62.4%, 77.4%, 27.1%)
CIE-LABlab(45.62, 45.34, 40.43)
CIE-LCHlch(45.62, 60.75, 41.72°)
OKLaboklab(54.84% 0.128 0.089)
OKLCHoklch(54.84% 0.156 34.8)
XYZxyz(22.8603, 14.9898, 3.8796)
Luminance0.1499 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA462A #2A9EBA
analogous
#BA2A56 #BA462A #BA8E2A
triadic
#BA462A #2ABA46 #462ABA
tetradic
#BA462A #56BA2A #2A9EBA #8E2ABA
square
#BA462A #56BA2A #2A9EBA #8E2ABA
split-complementary
#BA462A #2ABA8E #2A56BA
monochromatic
#562013 #88331F #BA462A #D6664B #E2907D

Accessibility & contrast

On white

5.25
#BA462A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#BA462A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA462A
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA462A#FFFFFF#000000##FFFFFF
##BA462A1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675C26
Deuteranopia (green-blind)
#837626
Tritanopia (blue-blind)
#CD2940
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ba462a;
/* rgb */ color: rgb(186, 70, 42);
/* oklch */ color: oklch(54.8% 0.156 34.8);
Tailwind
colors: {
  custom: {
    50: '#d77e65',
    500: '#ba462a',
    950: '#000000',
  },
}
SCSS
$custom: #ba462a;
$custom-light: #d77e65;
$custom-dark: #000000;
JSON
{
  "hex": "#ba462a",
  "rgb": {
    "r": 186,
    "g": 70,
    "b": 42
  },
  "hsl": {
    "h": 11.667,
    "s": 63.158,
    "l": 44.706
  },
  "oklch": {
    "l": 0.54842,
    "c": 0.1559,
    "h": 34.8
  },
  "luminance": 0.14987
}

Semantic roles & 50–950 ramp

primary
#BA462A
secondary
#76BACA
accent
#C6E642
background
#FEF7F6
surface
#FCEEEB
border
#D5C9C6
text
#160A06
muted
#847C7A

Preview Lab

Preview with #BA462A

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

Preview Lab → · Contrast checker → · Palette generator →

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