#BA2927#BA2927

#BA2927 is a mid, vivid red. Relative luminance 0.122; OKLCH L 51.7% C 0.182 H 26.9°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#BA2927
RGBrgb(186, 41, 39)
HSLhsl(1, 65%, 44%)
HSVhsv(1, 79%, 73%)
CMYKcmyk(0%, 78%, 79%, 27.1%)
CIE-LABlab(41.49, 56.42, 37.78)
CIE-LCHlch(41.49, 67.90, 33.81°)
OKLaboklab(51.74% 0.162 0.0823)
OKLCHoklch(51.74% 0.182 26.9)
XYZxyz(21.4114, 12.1749, 3.1417)
Luminance0.1217 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2927 #27B8BA
analogous
#BA276F #BA2927 #BA7327
triadic
#BA2927 #27BA29 #2927BA
tetradic
#BA2927 #6FBA27 #27B8BA #7327BA
square
#BA2927 #6FBA27 #27B8BA #7327BA
split-complementary
#BA2927 #27BA73 #276FBA
monochromatic
#551312 #871E1C #BA2927 #D84846 #E37A79

Accessibility & contrast

On white

6.11
#BA2927 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#BA2927 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2927
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2927#FFFFFF#000000##FFFFFF
##BA29271.006.113.436.11
#FFFFFF6.111.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564E25
Deuteranopia (green-blind)
#7A6D20
Tritanopia (blue-blind)
#CD002B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ba2927;
/* rgb */ color: rgb(186, 41, 39);
/* oklch */ color: oklch(51.7% 0.182 26.9);
Tailwind
colors: {
  custom: {
    50: '#d87062',
    500: '#ba2927',
    950: '#000000',
  },
}
SCSS
$custom: #ba2927;
$custom-light: #d87062;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2927",
  "rgb": {
    "r": 186,
    "g": 41,
    "b": 39
  },
  "hsl": {
    "h": 0.816,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.51741,
    "c": 0.18175,
    "h": 26.9
  },
  "luminance": 0.12171
}

Semantic roles & 50–950 ramp

primary
#BA2927
secondary
#72C9CB
accent
#E6E840
background
#FEF7F5
surface
#FDEDEA
border
#D5C8C6
text
#170805
muted
#857B79

Preview Lab

Preview with #BA2927

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

Preview Lab → · Contrast checker → · Palette generator →

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