#BA3827#BA3827

#BA3827 is a mid, vivid red. Relative luminance 0.134; OKLCH L 53.2% C 0.169 H 30.7°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#BA3827
RGBrgb(186, 56, 39)
HSLhsl(7, 65%, 44%)
HSVhsv(7, 79%, 73%)
CMYKcmyk(0%, 69.9%, 79%, 27.1%)
CIE-LABlab(43.39, 51.18, 39.73)
CIE-LCHlch(43.39, 64.79, 37.82°)
OKLaboklab(53.15% 0.1456 0.0866)
OKLCHoklch(53.15% 0.169 30.7)
XYZxyz(22.0326, 13.4173, 3.3487)
Luminance0.1341 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3827 #27A9BA
analogous
#BA2760 #BA3827 #BA8227
triadic
#BA3827 #27BA38 #3827BA
tetradic
#BA3827 #60BA27 #27A9BA #8227BA
square
#BA3827 #60BA27 #27A9BA #8227BA
split-complementary
#BA3827 #27BA82 #2760BA
monochromatic
#551A12 #87291C #BA3827 #D85746 #E38579

Accessibility & contrast

On white

5.70
#BA3827 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#BA3827 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3827
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3827#FFFFFF#000000##FFFFFF
##BA38271.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5424
Deuteranopia (green-blind)
#7E7121
Tritanopia (blue-blind)
#CD0435
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ba3827;
/* rgb */ color: rgb(186, 56, 39);
/* oklch */ color: oklch(53.2% 0.169 30.7);
Tailwind
colors: {
  custom: {
    50: '#d87763',
    500: '#ba3827',
    950: '#000000',
  },
}
SCSS
$custom: #ba3827;
$custom-light: #d87763;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3827",
  "rgb": {
    "r": 186,
    "g": 56,
    "b": 39
  },
  "hsl": {
    "h": 6.939,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53153,
    "c": 0.16938,
    "h": 30.7
  },
  "luminance": 0.13414
}

Semantic roles & 50–950 ramp

primary
#BA3827
secondary
#72C0CB
accent
#D5E840
background
#FEF7F5
surface
#FDEEEA
border
#D5C9C6
text
#160905
muted
#847B79

Preview Lab

Preview with #BA3827

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

Preview Lab → · Contrast checker → · Palette generator →

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