#BA2222#BA2222

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

Color values

HEX#BA2222
RGBrgb(186, 34, 34)
HSLhsl(0, 69%, 43%)
HSVhsv(0, 82%, 73%)
CMYKcmyk(0%, 81.7%, 81.7%, 27.1%)
CIE-LABlab(40.74, 58.25, 39.79)
CIE-LCHlch(40.74, 70.54, 34.34°)
OKLaboklab(51.17% 0.1668 0.085)
OKLCHoklch(51.17% 0.187 27)
XYZxyz(21.1131, 11.7021, 2.6601)
Luminance0.1170 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2222 #22BABA
analogous
#BA226E #BA2222 #BA6E22
triadic
#BA2222 #22BA22 #2222BA
tetradic
#BA2222 #6EBA22 #22BABA #6E22BA
square
#BA2222 #6EBA22 #22BABA #6E22BA
split-complementary
#BA2222 #22BA6E #226EBA
monochromatic
#530F0F #861919 #BA2222 #DC3E3E #E57171

Accessibility & contrast

On white

6.29
#BA2222 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#BA2222 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2222
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2222#FFFFFF#000000##FFFFFF
##BA22221.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.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: #ba2222;
/* rgb */ color: rgb(186, 34, 34);
/* oklch */ color: oklch(51.2% 0.187 27.0);
Tailwind
colors: {
  custom: {
    50: '#d96d5e',
    500: '#ba2222',
    950: '#000000',
  },
}
SCSS
$custom: #ba2222;
$custom-light: #d96d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2222",
  "rgb": {
    "r": 186,
    "g": 34,
    "b": 34
  },
  "hsl": {
    "h": 0,
    "s": 69.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.51165,
    "c": 0.1872,
    "h": 27
  },
  "luminance": 0.11699
}

Semantic roles & 50–950 ramp

primary
#BA2222
secondary
#6CCCCC
accent
#ECEC3C
background
#FEF7F5
surface
#FDEDE9
border
#D5C8C5
text
#170804
muted
#857B79

Preview Lab

Preview with #BA2222

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

Preview Lab → · Contrast checker → · Palette generator →

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