#BA4828#BA4828

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

Color values

HEX#BA4828
RGBrgb(186, 72, 40)
HSLhsl(13, 65%, 44%)
HSVhsv(13, 78%, 73%)
CMYKcmyk(0%, 61.3%, 78.5%, 27.1%)
CIE-LABlab(45.95, 44.35, 41.80)
CIE-LCHlch(45.95, 60.94, 43.31°)
OKLaboklab(55.08% 0.1246 0.0914)
OKLCHoklch(55.08% 0.155 36.3)
XYZxyz(22.9525, 15.2303, 3.7382)
Luminance0.1523 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4828 #289ABA
analogous
#BA2851 #BA4828 #BA9128
triadic
#BA4828 #28BA48 #4828BA
tetradic
#BA4828 #51BA28 #289ABA #9128BA
square
#BA4828 #51BA28 #289ABA #9128BA
split-complementary
#BA4828 #28BA91 #2851BA
monochromatic
#552112 #88351D #BA4828 #D86748 #E2917A

Accessibility & contrast

On white

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

On black

4.05
#BA4828 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##BA4828#FFFFFF#000000##FFFFFF
##BA48281.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba4828;
/* rgb */ color: rgb(186, 72, 40);
/* oklch */ color: oklch(55.1% 0.155 36.3);
Tailwind
colors: {
  custom: {
    50: '#d77f64',
    500: '#ba4828',
    950: '#000000',
  },
}
SCSS
$custom: #ba4828;
$custom-light: #d77f64;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4828",
  "rgb": {
    "r": 186,
    "g": 72,
    "b": 40
  },
  "hsl": {
    "h": 13.151,
    "s": 64.602,
    "l": 44.314
  },
  "oklch": {
    "l": 0.55084,
    "c": 0.15451,
    "h": 36.3
  },
  "luminance": 0.15227
}

Semantic roles & 50–950 ramp

primary
#BA4828
secondary
#73B7CA
accent
#C3E840
background
#FEF8F6
surface
#FCEFEB
border
#D5CAC6
text
#160A05
muted
#847C7A

Preview Lab

Preview with #BA4828

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

Preview Lab → · Contrast checker → · Palette generator →

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