#BA2522#BA2522

#BA2522 is a mid, vivid red. Relative luminance 0.119; OKLCH L 51.4% C 0.185 H 27.5°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#BA2522
RGBrgb(186, 37, 34)
HSLhsl(1, 69%, 43%)
HSVhsv(1, 82%, 73%)
CMYKcmyk(0%, 80.1%, 81.7%, 27.1%)
CIE-LABlab(41.03, 57.44, 40.07)
CIE-LCHlch(41.03, 70.03, 34.90°)
OKLaboklab(51.38% 0.1642 0.0856)
OKLCHoklch(51.38% 0.185 27.5)
XYZxyz(21.2026, 11.8812, 2.6900)
Luminance0.1188 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2522 #22B7BA
analogous
#BA226B #BA2522 #BA7122
triadic
#BA2522 #22BA25 #2522BA
tetradic
#BA2522 #6BBA22 #22B7BA #7122BA
square
#BA2522 #6BBA22 #22B7BA #7122BA
split-complementary
#BA2522 #22BA71 #226BBA
monochromatic
#53100F #861B19 #BA2522 #DC413E #E57471

Accessibility & contrast

On white

6.22
#BA2522 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#BA2522 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2522
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2522#FFFFFF#000000##FFFFFF
##BA25221.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554C1F
Deuteranopia (green-blind)
#796C1A
Tritanopia (blue-blind)
#CD0027
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ba2522;
/* rgb */ color: rgb(186, 37, 34);
/* oklch */ color: oklch(51.4% 0.185 27.5);
Tailwind
colors: {
  custom: {
    50: '#d96e5e',
    500: '#ba2522',
    950: '#000000',
  },
}
SCSS
$custom: #ba2522;
$custom-light: #d96e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2522",
  "rgb": {
    "r": 186,
    "g": 37,
    "b": 34
  },
  "hsl": {
    "h": 1.184,
    "s": 69.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.51379,
    "c": 0.1852,
    "h": 27.5
  },
  "luminance": 0.11878
}

Semantic roles & 50–950 ramp

primary
#BA2522
secondary
#6CCACC
accent
#E8EC3C
background
#FEF7F5
surface
#FDEDE9
border
#D5C8C5
text
#170804
muted
#857B79

Preview Lab

Preview with #BA2522

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

Preview Lab → · Contrast checker → · Palette generator →

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