#BA362A#BA362A

#BA362A is a mid, vivid red. Relative luminance 0.132; OKLCH L 53.0% C 0.171 H 29.2°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#BA362A
RGBrgb(186, 54, 42)
HSLhsl(5, 63%, 45%)
HSVhsv(5, 77%, 73%)
CMYKcmyk(0%, 71%, 77.4%, 27.1%)
CIE-LABlab(43.13, 52.06, 37.83)
CIE-LCHlch(43.13, 64.35, 36.01°)
OKLaboklab(52.98% 0.149 0.0833)
OKLCHoklch(52.98% 0.171 29.2)
XYZxyz(21.9893, 13.2479, 3.5893)
Luminance0.1325 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA362A #2AAEBA
analogous
#BA2A66 #BA362A #BA7E2A
triadic
#BA362A #2ABA36 #362ABA
tetradic
#BA362A #66BA2A #2AAEBA #7E2ABA
square
#BA362A #66BA2A #2AAEBA #7E2ABA
split-complementary
#BA362A #2ABA7E #2A66BA
monochromatic
#561913 #88281F #BA362A #D6564B #E2857D

Accessibility & contrast

On white

5.76
#BA362A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#BA362A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA362A
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA362A#FFFFFF#000000##FFFFFF
##BA362A1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5327
Deuteranopia (green-blind)
#7D7025
Tritanopia (blue-blind)
#CD0034
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ba362a;
/* rgb */ color: rgb(186, 54, 42);
/* oklch */ color: oklch(53.0% 0.171 29.2);
Tailwind
colors: {
  custom: {
    50: '#d77664',
    500: '#ba362a',
    950: '#000000',
  },
}
SCSS
$custom: #ba362a;
$custom-light: #d77664;
$custom-dark: #000000;
JSON
{
  "hex": "#ba362a",
  "rgb": {
    "r": 186,
    "g": 54,
    "b": 42
  },
  "hsl": {
    "h": 5,
    "s": 63.158,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52975,
    "c": 0.17066,
    "h": 29.2
  },
  "luminance": 0.13245
}

Semantic roles & 50–950 ramp

primary
#BA362A
secondary
#76C3CA
accent
#D8E642
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#160905
muted
#847B7A

Preview Lab

Preview with #BA362A

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

Preview Lab → · Contrast checker → · Palette generator →

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