#BA2220#BA2220

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

Color values

HEX#BA2220
RGBrgb(186, 34, 32)
HSLhsl(1, 71%, 43%)
HSVhsv(1, 83%, 73%)
CMYKcmyk(0%, 81.7%, 82.8%, 27.1%)
CIE-LABlab(40.72, 58.19, 40.85)
CIE-LCHlch(40.72, 71.10, 35.07°)
OKLaboklab(51.15% 0.1662 0.0866)
OKLCHoklch(51.15% 0.187 27.5)
XYZxyz(21.0851, 11.6909, 2.5126)
Luminance0.1169 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2220 #20B8BA
analogous
#BA206B #BA2220 #BA6F20
triadic
#BA2220 #20BA22 #2220BA
tetradic
#BA2220 #6BBA20 #20B8BA #6F20BA
square
#BA2220 #6BBA20 #20B8BA #6F20BA
split-complementary
#BA2220 #20BA6F #206BBA
monochromatic
#520F0E #861817 #BA2220 #DD3C3A #E6706E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA2220#FFFFFF#000000##FFFFFF
##BA22201.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)
#544B1D
Deuteranopia (green-blind)
#796C18
Tritanopia (blue-blind)
#CD0024
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ba2220;
/* rgb */ color: rgb(186, 34, 32);
/* oklch */ color: oklch(51.1% 0.187 27.5);
Tailwind
colors: {
  custom: {
    50: '#d96d5d',
    500: '#ba2220',
    950: '#000000',
  },
}
SCSS
$custom: #ba2220;
$custom-light: #d96d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2220",
  "rgb": {
    "r": 186,
    "g": 34,
    "b": 32
  },
  "hsl": {
    "h": 0.779,
    "s": 70.642,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51146,
    "c": 0.18742,
    "h": 27.5
  },
  "luminance": 0.11687
}

Semantic roles & 50–950 ramp

primary
#BA2220
secondary
#69CBCC
accent
#EBED3A
background
#FEF7F5
surface
#FDEDE9
border
#D5C8C5
text
#170804
muted
#857B79

Preview Lab

Preview with #BA2220

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

Preview Lab → · Contrast checker → · Palette generator →

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