#BA2C26#BA2C26

#BA2C26 is a mid, vivid red. Relative luminance 0.124; OKLCH L 52.0% C 0.180 H 27.9°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#BA2C26
RGBrgb(186, 44, 38)
HSLhsl(2, 66%, 44%)
HSVhsv(2, 80%, 73%)
CMYKcmyk(0%, 76.3%, 79.6%, 27.1%)
CIE-LABlab(41.82, 55.44, 38.67)
CIE-LCHlch(41.82, 67.60, 34.90°)
OKLaboklab(51.98% 0.1588 0.0839)
OKLCHoklch(51.98% 0.18 27.9)
XYZxyz(21.5028, 12.3838, 3.0915)
Luminance0.1238 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2C26 #26B4BA
analogous
#BA266A #BA2C26 #BA7626
triadic
#BA2C26 #26BA2C #2C26BA
tetradic
#BA2C26 #6ABA26 #26B4BA #7626BA
square
#BA2C26 #6ABA26 #26B4BA #7626BA
split-complementary
#BA2C26 #26BA76 #266ABA
monochromatic
#541411 #87201C #BA2C26 #D94A44 #E37C77

Accessibility & contrast

On white

6.04
#BA2C26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#BA2C26 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2C26
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2C26#FFFFFF#000000##FFFFFF
##BA2C261.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584F24
Deuteranopia (green-blind)
#7B6E1F
Tritanopia (blue-blind)
#CD002C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ba2c26;
/* rgb */ color: rgb(186, 44, 38);
/* oklch */ color: oklch(52.0% 0.180 27.9);
Tailwind
colors: {
  custom: {
    50: '#d87161',
    500: '#ba2c26',
    950: '#000000',
  },
}
SCSS
$custom: #ba2c26;
$custom-light: #d87161;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2c26",
  "rgb": {
    "r": 186,
    "g": 44,
    "b": 38
  },
  "hsl": {
    "h": 2.432,
    "s": 66.071,
    "l": 43.922
  },
  "oklch": {
    "l": 0.51981,
    "c": 0.17958,
    "h": 27.9
  },
  "luminance": 0.1238
}

Semantic roles & 50–950 ramp

primary
#BA2C26
secondary
#71C7CB
accent
#E2E93F
background
#FEF7F5
surface
#FDEDEA
border
#D5C8C6
text
#160805
muted
#847B79

Preview Lab

Preview with #BA2C26

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

Preview Lab → · Contrast checker → · Palette generator →

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