#BA3A26#BA3A26

#BA3A26 is a mid, vivid red. Relative luminance 0.136; OKLCH L 53.4% C 0.168 H 31.6°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#BA3A26
RGBrgb(186, 58, 38)
HSLhsl(8, 66%, 44%)
HSVhsv(8, 80%, 73%)
CMYKcmyk(0%, 68.8%, 79.6%, 27.1%)
CIE-LABlab(43.67, 50.35, 40.54)
CIE-LCHlch(43.67, 64.64, 38.84°)
OKLaboklab(53.36% 0.1428 0.088)
OKLCHoklch(53.36% 0.168 31.6)
XYZxyz(22.1152, 13.6085, 3.2956)
Luminance0.1361 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3A26 #26A6BA
analogous
#BA265C #BA3A26 #BA8426
triadic
#BA3A26 #26BA3A #3A26BA
tetradic
#BA3A26 #5CBA26 #26A6BA #8426BA
square
#BA3A26 #5CBA26 #26A6BA #8426BA
split-complementary
#BA3A26 #26BA84 #265CBA
monochromatic
#541A11 #872A1C #BA3A26 #D95844 #E38677

Accessibility & contrast

On white

5.64
#BA3A26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#BA3A26 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3A26
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3A26#FFFFFF#000000##FFFFFF
##BA3A261.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5523
Deuteranopia (green-blind)
#7F7220
Tritanopia (blue-blind)
#CD0C36
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ba3a26;
/* rgb */ color: rgb(186, 58, 38);
/* oklch */ color: oklch(53.4% 0.168 31.6);
Tailwind
colors: {
  custom: {
    50: '#d87862',
    500: '#ba3a26',
    950: '#000000',
  },
}
SCSS
$custom: #ba3a26;
$custom-light: #d87862;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3a26",
  "rgb": {
    "r": 186,
    "g": 58,
    "b": 38
  },
  "hsl": {
    "h": 8.108,
    "s": 66.071,
    "l": 43.922
  },
  "oklch": {
    "l": 0.5336,
    "c": 0.16778,
    "h": 31.6
  },
  "luminance": 0.13605
}

Semantic roles & 50–950 ramp

primary
#BA3A26
secondary
#71BFCB
accent
#D2E93F
background
#FEF7F5
surface
#FDEEEA
border
#D5C9C6
text
#160905
muted
#847B79

Preview Lab

Preview with #BA3A26

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

Preview Lab → · Contrast checker → · Palette generator →

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