#AB3828#AB3828

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

Color values

HEX#AB3828
RGBrgb(171, 56, 40)
HSLhsl(7, 62%, 41%)
HSVhsv(7, 77%, 67%)
CMYKcmyk(0%, 67.3%, 76.6%, 32.9%)
CIE-LABlab(40.64, 46.11, 35.46)
CIE-LCHlch(40.64, 58.17, 37.56°)
OKLaboklab(50.59% 0.1316 0.0787)
OKLCHoklch(50.59% 0.153 30.9)
XYZxyz(18.5938, 11.6422, 3.2752)
Luminance0.1164 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3828 #289BAB
analogous
#AB285A #AB3828 #AB7A28
triadic
#AB3828 #28AB38 #3828AB
tetradic
#AB3828 #5AAB28 #289BAB #7A28AB
square
#AB3828 #5AAB28 #289BAB #7A28AB
split-complementary
#AB3828 #28AB7A #285AAB
monochromatic
#481811 #79281C #AB3828 #D2503E #DE7D70

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB3828#FFFFFF#000000##FFFFFF
##AB38281.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)
#595025
Deuteranopia (green-blind)
#756924
Tritanopia (blue-blind)
#BC1635
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ab3828;
/* rgb */ color: rgb(171, 56, 40);
/* oklch */ color: oklch(50.6% 0.153 30.9);
Tailwind
colors: {
  custom: {
    50: '#cc7563',
    500: '#ab3828',
    950: '#000000',
  },
}
SCSS
$custom: #ab3828;
$custom-light: #cc7563;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3828",
  "rgb": {
    "r": 171,
    "g": 56,
    "b": 40
  },
  "hsl": {
    "h": 7.328,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50591,
    "c": 0.15337,
    "h": 30.9
  },
  "luminance": 0.11639
}

Semantic roles & 50–950 ramp

primary
#AB3828
secondary
#6AB9C4
accent
#D1E543
background
#FDF7F5
surface
#FBEDEA
border
#D4C8C6
text
#150905
muted
#837B79

Preview Lab

Preview with #AB3828

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

Preview Lab → · Contrast checker → · Palette generator →

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