#AB3322#AB3322

#AB3322 is a mid, vivid red. Relative luminance 0.111; OKLCH L 50.0% C 0.159 H 31.1°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#AB3322
RGBrgb(171, 51, 34)
HSLhsl(7, 67%, 40%)
HSVhsv(7, 80%, 67%)
CMYKcmyk(0%, 70.2%, 80.1%, 32.9%)
CIE-LABlab(39.82, 47.95, 37.91)
CIE-LCHlch(39.82, 61.12, 38.33°)
OKLaboklab(49.96% 0.1362 0.0823)
OKLCHoklch(49.96% 0.159 31.1)
XYZxyz(18.2693, 11.1438, 2.7021)
Luminance0.1114 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3322 #229AAB
analogous
#AB2256 #AB3322 #AB7722
triadic
#AB3322 #22AB33 #3322AB
tetradic
#AB3322 #56AB22 #229AAB #7722AB
square
#AB3322 #56AB22 #229AAB #7722AB
split-complementary
#AB3322 #22AB77 #2256AB
monochromatic
#45150E #782418 #AB3322 #D74834 #E17667

Accessibility & contrast

On white

6.51
#AB3322 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#AB3322 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3322
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3322#FFFFFF#000000##FFFFFF
##AB33221.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564D1F
Deuteranopia (green-blind)
#74681D
Tritanopia (blue-blind)
#BD0430
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #ab3322;
/* rgb */ color: rgb(171, 51, 34);
/* oklch */ color: oklch(50.0% 0.159 31.1);
Tailwind
colors: {
  custom: {
    50: '#cd725f',
    500: '#ab3322',
    950: '#000000',
  },
}
SCSS
$custom: #ab3322;
$custom-light: #cd725f;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3322",
  "rgb": {
    "r": 171,
    "g": 51,
    "b": 34
  },
  "hsl": {
    "h": 7.445,
    "s": 66.829,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49956,
    "c": 0.15909,
    "h": 31.1
  },
  "luminance": 0.11141
}

Semantic roles & 50–950 ramp

primary
#AB3322
secondary
#63BAC6
accent
#D4EA3E
background
#FDF7F5
surface
#FBEDE9
border
#D4C8C5
text
#150804
muted
#837B79

Preview Lab

Preview with #AB3322

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

Preview Lab → · Contrast checker → · Palette generator →

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