#BA3B27#BA3B27

#BA3B27 is a mid, vivid red. Relative luminance 0.137; OKLCH L 53.5% C 0.167 H 31.7°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#BA3B27
RGBrgb(186, 59, 39)
HSLhsl(8, 65%, 44%)
HSVhsv(8, 79%, 73%)
CMYKcmyk(0%, 68.3%, 79%, 27.1%)
CIE-LABlab(43.82, 49.98, 40.17)
CIE-LCHlch(43.82, 64.12, 38.79°)
OKLaboklab(53.48% 0.1419 0.0875)
OKLCHoklch(53.48% 0.167 31.7)
XYZxyz(22.1824, 13.7168, 3.3987)
Luminance0.1371 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3B27 #27A6BA
analogous
#BA275D #BA3B27 #BA8527
triadic
#BA3B27 #27BA3B #3B27BA
tetradic
#BA3B27 #5DBA27 #27A6BA #8527BA
square
#BA3B27 #5DBA27 #27A6BA #8527BA
split-complementary
#BA3B27 #27BA85 #275DBA
monochromatic
#551B12 #872B1C #BA3B27 #D85A46 #E38779

Accessibility & contrast

On white

5.61
#BA3B27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#BA3B27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3B27
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3B27#FFFFFF#000000##FFFFFF
##BA3B271.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605624
Deuteranopia (green-blind)
#7F7222
Tritanopia (blue-blind)
#CD1037
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ba3b27;
/* rgb */ color: rgb(186, 59, 39);
/* oklch */ color: oklch(53.5% 0.167 31.7);
Tailwind
colors: {
  custom: {
    50: '#d77863',
    500: '#ba3b27',
    950: '#000000',
  },
}
SCSS
$custom: #ba3b27;
$custom-light: #d77863;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3b27",
  "rgb": {
    "r": 186,
    "g": 59,
    "b": 39
  },
  "hsl": {
    "h": 8.163,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53482,
    "c": 0.1667,
    "h": 31.7
  },
  "luminance": 0.13714
}

Semantic roles & 50–950 ramp

primary
#BA3B27
secondary
#72BFCB
accent
#D1E840
background
#FEF7F5
surface
#FDEEEA
border
#D5C9C6
text
#160905
muted
#847B79

Preview Lab

Preview with #BA3B27

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

Preview Lab → · Contrast checker → · Palette generator →

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