#BA4827#BA4827

#BA4827 is a mid, vivid red. Relative luminance 0.152; OKLCH L 55.1% C 0.155 H 36.6°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#BA4827
RGBrgb(186, 72, 39)
HSLhsl(13, 65%, 44%)
HSVhsv(13, 79%, 73%)
CMYKcmyk(0%, 61.3%, 79%, 27.1%)
CIE-LABlab(45.94, 44.31, 42.30)
CIE-LCHlch(45.94, 61.26, 43.67°)
OKLaboklab(55.07% 0.1243 0.0922)
OKLCHoklch(55.07% 0.155 36.6)
XYZxyz(22.9358, 15.2235, 3.6498)
Luminance0.1522 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4827 #2799BA
analogous
#BA2750 #BA4827 #BA9227
triadic
#BA4827 #27BA48 #4827BA
tetradic
#BA4827 #50BA27 #2799BA #9227BA
square
#BA4827 #50BA27 #2799BA #9227BA
split-complementary
#BA4827 #27BA92 #2750BA
monochromatic
#552112 #87341C #BA4827 #D86746 #E39079

Accessibility & contrast

On white

5.19
#BA4827 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#BA4827 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4827
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4827#FFFFFF#000000##FFFFFF
##BA48271.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685D22
Deuteranopia (green-blind)
#847623
Tritanopia (blue-blind)
#CD2C41
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ba4827;
/* rgb */ color: rgb(186, 72, 39);
/* oklch */ color: oklch(55.1% 0.155 36.6);
Tailwind
colors: {
  custom: {
    50: '#d77f63',
    500: '#ba4827',
    950: '#000000',
  },
}
SCSS
$custom: #ba4827;
$custom-light: #d77f63;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4827",
  "rgb": {
    "r": 186,
    "g": 72,
    "b": 39
  },
  "hsl": {
    "h": 13.469,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.55074,
    "c": 0.15475,
    "h": 36.6
  },
  "luminance": 0.1522
}

Semantic roles & 50–950 ramp

primary
#BA4827
secondary
#72B7CB
accent
#C2E840
background
#FEF8F6
surface
#FCEFEB
border
#D5CAC6
text
#160A05
muted
#847C7A

Preview Lab

Preview with #BA4827

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

Preview Lab → · Contrast checker → · Palette generator →

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