#BA2327#BA2327

#BA2327 is a mid, vivid red. Relative luminance 0.118; OKLCH L 51.3% C 0.186 H 25.8°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#BA2327
RGBrgb(186, 35, 39)
HSLhsl(358, 68%, 43%)
HSVhsv(358, 81%, 73%)
CMYKcmyk(0%, 81.2%, 79%, 27.1%)
CIE-LABlab(40.88, 58.14, 37.15)
CIE-LCHlch(40.88, 68.99, 32.58°)
OKLaboklab(51.29% 0.1675 0.0809)
OKLCHoklch(51.29% 0.186 25.8)
XYZxyz(21.2195, 11.7911, 3.0777)
Luminance0.1179 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2327 #23BAB6
analogous
#BA2372 #BA2327 #BA6B23
triadic
#BA2327 #27BA23 #2327BA
tetradic
#BA2327 #72BA23 #23BAB6 #6B23BA
square
#BA2327 #72BA23 #23BAB6 #6B23BA
split-complementary
#BA2327 #23BA6B #2372BA
monochromatic
#531011 #86191C #BA2327 #DB3F43 #E57376

Accessibility & contrast

On white

6.25
#BA2327 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#BA2327 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2327
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2327#FFFFFF#000000##FFFFFF
##BA23271.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544C25
Deuteranopia (green-blind)
#796C20
Tritanopia (blue-blind)
#CD0027
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ba2327;
/* rgb */ color: rgb(186, 35, 39);
/* oklch */ color: oklch(51.3% 0.186 25.8);
Tailwind
colors: {
  custom: {
    50: '#d86e62',
    500: '#ba2327',
    950: '#000000',
  },
}
SCSS
$custom: #ba2327;
$custom-light: #d86e62;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2327",
  "rgb": {
    "r": 186,
    "g": 35,
    "b": 39
  },
  "hsl": {
    "h": 358.411,
    "s": 68.326,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51287,
    "c": 0.186,
    "h": 25.8
  },
  "luminance": 0.11788
}

Semantic roles & 50–950 ramp

primary
#BA2327
secondary
#6DCCC9
accent
#EBE73D
background
#FEF7F5
surface
#FDEDEA
border
#D5C8C6
text
#170805
muted
#857B79

Preview Lab

Preview with #BA2327

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

Preview Lab → · Contrast checker → · Palette generator →

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