#BA3F26#BA3F26

#BA3F26 is a mid, vivid red. Relative luminance 0.141; OKLCH L 53.9% C 0.163 H 33.3°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#BA3F26
RGBrgb(186, 63, 38)
HSLhsl(10, 66%, 44%)
HSVhsv(10, 80%, 73%)
CMYKcmyk(0%, 66.1%, 79.6%, 27.1%)
CIE-LABlab(44.43, 48.28, 41.31)
CIE-LCHlch(44.43, 63.54, 40.55°)
OKLaboklab(53.93% 0.1364 0.0897)
OKLCHoklch(53.93% 0.163 33.3)
XYZxyz(22.3796, 14.1374, 3.3837)
Luminance0.1413 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3F26 #26A1BA
analogous
#BA2657 #BA3F26 #BA8926
triadic
#BA3F26 #26BA3F #3F26BA
tetradic
#BA3F26 #57BA26 #26A1BA #8926BA
square
#BA3F26 #57BA26 #26A1BA #8926BA
split-complementary
#BA3F26 #26BA89 #2657BA
monochromatic
#541D11 #872E1C #BA3F26 #D95D44 #E38977

Accessibility & contrast

On white

5.49
#BA3F26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#BA3F26 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3F26
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3F26#FFFFFF#000000##FFFFFF
##BA3F261.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625822
Deuteranopia (green-blind)
#817321
Tritanopia (blue-blind)
#CD1A3A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ba3f26;
/* rgb */ color: rgb(186, 63, 38);
/* oklch */ color: oklch(53.9% 0.163 33.3);
Tailwind
colors: {
  custom: {
    50: '#d77a62',
    500: '#ba3f26',
    950: '#000000',
  },
}
SCSS
$custom: #ba3f26;
$custom-light: #d77a62;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3f26",
  "rgb": {
    "r": 186,
    "g": 63,
    "b": 38
  },
  "hsl": {
    "h": 10.135,
    "s": 66.071,
    "l": 43.922
  },
  "oklch": {
    "l": 0.53933,
    "c": 0.16325,
    "h": 33.3
  },
  "luminance": 0.14134
}

Semantic roles & 50–950 ramp

primary
#BA3F26
secondary
#71BCCB
accent
#CCE93F
background
#FEF7F5
surface
#FDEEEA
border
#D5C9C6
text
#160A05
muted
#847C79

Preview Lab

Preview with #BA3F26

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

Preview Lab → · Contrast checker → · Palette generator →

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