#AB382A#AB382A

#AB382A is a mid, vivid red. Relative luminance 0.117; OKLCH L 50.6% C 0.153 H 30.1°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#AB382A
RGBrgb(171, 56, 42)
HSLhsl(7, 61%, 42%)
HSVhsv(7, 75%, 67%)
CMYKcmyk(0%, 67.3%, 75.4%, 32.9%)
CIE-LABlab(40.66, 46.19, 34.35)
CIE-LCHlch(40.66, 57.57, 36.64°)
OKLaboklab(50.62% 0.1323 0.0768)
OKLCHoklch(50.62% 0.153 30.1)
XYZxyz(18.6287, 11.6562, 3.4590)
Luminance0.1165 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB382A #2A9DAB
analogous
#AB2A5C #AB382A #AB792A
triadic
#AB382A #2AAB38 #382AAB
tetradic
#AB382A #5CAB2A #2A9DAB #792AAB
square
#AB382A #5CAB2A #2A9DAB #792AAB
split-complementary
#AB382A #2AAB79 #2A5CAB
monochromatic
#491812 #7A281E #AB382A #D15142 #DD7E73

Accessibility & contrast

On white

6.31
#AB382A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#AB382A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB382A
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB382A#FFFFFF#000000##FFFFFF
##AB382A1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595028
Deuteranopia (green-blind)
#756926
Tritanopia (blue-blind)
#BC1736
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ab382a;
/* rgb */ color: rgb(171, 56, 42);
/* oklch */ color: oklch(50.6% 0.153 30.1);
Tailwind
colors: {
  custom: {
    50: '#cc7564',
    500: '#ab382a',
    950: '#000000',
  },
}
SCSS
$custom: #ab382a;
$custom-light: #cc7564;
$custom-dark: #000000;
JSON
{
  "hex": "#ab382a",
  "rgb": {
    "r": 171,
    "g": 56,
    "b": 42
  },
  "hsl": {
    "h": 6.512,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50615,
    "c": 0.15298,
    "h": 30.1
  },
  "luminance": 0.11653
}

Semantic roles & 50–950 ramp

primary
#AB382A
secondary
#6DBAC4
accent
#D2E444
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150905
muted
#837B7A

Preview Lab

Preview with #AB382A

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

Preview Lab → · Contrast checker → · Palette generator →

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