#BA302A#BA302A

#BA302A is a mid, vivid red. Relative luminance 0.127; OKLCH L 52.4% C 0.176 H 27.6°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#BA302A
RGBrgb(186, 48, 42)
HSLhsl(3, 63%, 45%)
HSVhsv(3, 77%, 73%)
CMYKcmyk(0%, 74.2%, 77.4%, 27.1%)
CIE-LABlab(42.34, 54.24, 36.99)
CIE-LCHlch(42.34, 65.65, 34.29°)
OKLaboklab(52.39% 0.1558 0.0815)
OKLCHoklch(52.39% 0.176 27.6)
XYZxyz(21.7271, 12.7236, 3.5019)
Luminance0.1272 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA302A #2AB4BA
analogous
#BA2A6C #BA302A #BA782A
triadic
#BA302A #2ABA30 #302ABA
tetradic
#BA302A #6CBA2A #2AB4BA #782ABA
square
#BA302A #6CBA2A #2AB4BA #782ABA
split-complementary
#BA302A #2ABA78 #2A6CBA
monochromatic
#561613 #88231F #BA302A #D6514B #E2817D

Accessibility & contrast

On white

5.93
#BA302A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#BA302A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA302A
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA302A#FFFFFF#000000##FFFFFF
##BA302A1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5128
Deuteranopia (green-blind)
#7C6F24
Tritanopia (blue-blind)
#CD0030
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ba302a;
/* rgb */ color: rgb(186, 48, 42);
/* oklch */ color: oklch(52.4% 0.176 27.6);
Tailwind
colors: {
  custom: {
    50: '#d87364',
    500: '#ba302a',
    950: '#000000',
  },
}
SCSS
$custom: #ba302a;
$custom-light: #d87364;
$custom-dark: #000000;
JSON
{
  "hex": "#ba302a",
  "rgb": {
    "r": 186,
    "g": 48,
    "b": 42
  },
  "hsl": {
    "h": 2.5,
    "s": 63.158,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52385,
    "c": 0.17582,
    "h": 27.6
  },
  "luminance": 0.1272
}

Semantic roles & 50–950 ramp

primary
#BA302A
secondary
#76C6CA
accent
#DFE642
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#160905
muted
#847B7A

Preview Lab

Preview with #BA302A

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

Preview Lab → · Contrast checker → · Palette generator →

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