#BA2322#BA2322

#BA2322 is a mid, vivid red. Relative luminance 0.118; OKLCH L 51.2% C 0.187 H 27.2°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#BA2322
RGBrgb(186, 35, 34)
HSLhsl(0, 69%, 43%)
HSVhsv(0, 82%, 73%)
CMYKcmyk(0%, 81.2%, 81.7%, 27.1%)
CIE-LABlab(40.83, 57.98, 39.88)
CIE-LCHlch(40.83, 70.38, 34.52°)
OKLaboklab(51.24% 0.1659 0.0852)
OKLCHoklch(51.24% 0.187 27.2)
XYZxyz(21.1421, 11.7601, 2.6698)
Luminance0.1176 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2322 #22B9BA
analogous
#BA226D #BA2322 #BA6F22
triadic
#BA2322 #22BA23 #2322BA
tetradic
#BA2322 #6DBA22 #22B9BA #6F22BA
square
#BA2322 #6DBA22 #22B9BA #6F22BA
split-complementary
#BA2322 #22BA6F #226DBA
monochromatic
#53100F #861919 #BA2322 #DC3F3E #E57271

Accessibility & contrast

On white

6.27
#BA2322 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#BA2322 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2322
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2322#FFFFFF#000000##FFFFFF
##BA23221.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544B20
Deuteranopia (green-blind)
#796C1A
Tritanopia (blue-blind)
#CD0025
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ba2322;
/* rgb */ color: rgb(186, 35, 34);
/* oklch */ color: oklch(51.2% 0.187 27.2);
Tailwind
colors: {
  custom: {
    50: '#d96e5e',
    500: '#ba2322',
    950: '#000000',
  },
}
SCSS
$custom: #ba2322;
$custom-light: #d96e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2322",
  "rgb": {
    "r": 186,
    "g": 35,
    "b": 34
  },
  "hsl": {
    "h": 0.395,
    "s": 69.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.51235,
    "c": 0.18654,
    "h": 27.2
  },
  "luminance": 0.11757
}

Semantic roles & 50–950 ramp

primary
#BA2322
secondary
#6CCBCC
accent
#EBEC3C
background
#FEF7F5
surface
#FDEDE9
border
#D5C8C5
text
#170804
muted
#857B79

Preview Lab

Preview with #BA2322

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

Preview Lab → · Contrast checker → · Palette generator →

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