#BA2A26#BA2A26

#BA2A26 is a mid, vivid red. Relative luminance 0.122; OKLCH L 51.8% C 0.181 H 27.4°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#BA2A26
RGBrgb(186, 42, 38)
HSLhsl(2, 66%, 44%)
HSVhsv(2, 80%, 73%)
CMYKcmyk(0%, 77.4%, 79.6%, 27.1%)
CIE-LABlab(41.59, 56.08, 38.44)
CIE-LCHlch(41.59, 67.99, 34.43°)
OKLaboklab(51.81% 0.1608 0.0834)
OKLCHoklch(51.81% 0.181 27.4)
XYZxyz(21.4301, 12.2384, 3.0672)
Luminance0.1224 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2A26 #26B6BA
analogous
#BA266C #BA2A26 #BA7426
triadic
#BA2A26 #26BA2A #2A26BA
tetradic
#BA2A26 #6CBA26 #26B6BA #7426BA
square
#BA2A26 #6CBA26 #26B6BA #7426BA
split-complementary
#BA2A26 #26BA74 #266CBA
monochromatic
#541311 #871F1C #BA2A26 #D94844 #E37A77

Accessibility & contrast

On white

6.09
#BA2A26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#BA2A26 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2A26
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2A26#FFFFFF#000000##FFFFFF
##BA2A261.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574E24
Deuteranopia (green-blind)
#7A6D1F
Tritanopia (blue-blind)
#CD002B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ba2a26;
/* rgb */ color: rgb(186, 42, 38);
/* oklch */ color: oklch(51.8% 0.181 27.4);
Tailwind
colors: {
  custom: {
    50: '#d87061',
    500: '#ba2a26',
    950: '#000000',
  },
}
SCSS
$custom: #ba2a26;
$custom-light: #d87061;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2a26",
  "rgb": {
    "r": 186,
    "g": 42,
    "b": 38
  },
  "hsl": {
    "h": 1.622,
    "s": 66.071,
    "l": 43.922
  },
  "oklch": {
    "l": 0.51812,
    "c": 0.18112,
    "h": 27.4
  },
  "luminance": 0.12235
}

Semantic roles & 50–950 ramp

primary
#BA2A26
secondary
#71C8CB
accent
#E4E93F
background
#FEF7F5
surface
#FDEDEA
border
#D5C8C6
text
#170805
muted
#857B79

Preview Lab

Preview with #BA2A26

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

Preview Lab → · Contrast checker → · Palette generator →

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