#BA2127#BA2127

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

Color values

HEX#BA2127
RGBrgb(186, 33, 39)
HSLhsl(358, 70%, 43%)
HSVhsv(358, 82%, 73%)
CMYKcmyk(0%, 82.3%, 79%, 27.1%)
CIE-LABlab(40.70, 58.66, 36.96)
CIE-LCHlch(40.70, 69.33, 32.21°)
OKLaboklab(51.15% 0.1691 0.0805)
OKLCHoklch(51.15% 0.187 25.5)
XYZxyz(21.1624, 11.6768, 3.0586)
Luminance0.1167 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2127 #21BAB4
analogous
#BA2173 #BA2127 #BA6721
triadic
#BA2127 #27BA21 #2127BA
tetradic
#BA2127 #73BA21 #21BAB4 #6721BA
square
#BA2127 #73BA21 #21BAB4 #6721BA
split-complementary
#BA2127 #21BA67 #2173BA
monochromatic
#520F11 #86181C #BA2127 #DC3C42 #E67074

Accessibility & contrast

On white

6.30
#BA2127 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#BA2127 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2127
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2127#FFFFFF#000000##FFFFFF
##BA21271.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534B25
Deuteranopia (green-blind)
#786C20
Tritanopia (blue-blind)
#CD0026
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ba2127;
/* rgb */ color: rgb(186, 33, 39);
/* oklch */ color: oklch(51.2% 0.187 25.5);
Tailwind
colors: {
  custom: {
    50: '#d86d62',
    500: '#ba2127',
    950: '#000000',
  },
}
SCSS
$custom: #ba2127;
$custom-light: #d86d62;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2127",
  "rgb": {
    "r": 186,
    "g": 33,
    "b": 39
  },
  "hsl": {
    "h": 357.647,
    "s": 69.863,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51151,
    "c": 0.1873,
    "h": 25.5
  },
  "luminance": 0.11673
}

Semantic roles & 50–950 ramp

primary
#BA2127
secondary
#6BCCC8
accent
#EDE63B
background
#FEF7F5
surface
#FDEDEA
border
#D5C8C6
text
#170805
muted
#857B79

Preview Lab

Preview with #BA2127

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

Preview Lab → · Contrast checker → · Palette generator →

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