#AB3122#AB3122

#AB3122 is a mid, vivid red. Relative luminance 0.110; OKLCH L 49.7% C 0.161 H 30.5°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#AB3122
RGBrgb(171, 49, 34)
HSLhsl(7, 67%, 40%)
HSVhsv(7, 80%, 67%)
CMYKcmyk(0%, 71.3%, 80.1%, 32.9%)
CIE-LABlab(39.53, 48.73, 37.62)
CIE-LCHlch(39.53, 61.56, 37.67°)
OKLaboklab(49.74% 0.1386 0.0816)
OKLCHoklch(49.74% 0.161 30.5)
XYZxyz(18.1838, 10.9728, 2.6736)
Luminance0.1097 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3122 #229CAB
analogous
#AB2258 #AB3122 #AB7522
triadic
#AB3122 #22AB31 #3122AB
tetradic
#AB3122 #58AB22 #229CAB #7522AB
square
#AB3122 #58AB22 #229CAB #7522AB
split-complementary
#AB3122 #22AB75 #2258AB
monochromatic
#45140E #782218 #AB3122 #D74534 #E17467

Accessibility & contrast

On white

6.57
#AB3122 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#AB3122 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3122
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3122#FFFFFF#000000##FFFFFF
##AB31221.006.573.196.57
#FFFFFF6.571.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554C1F
Deuteranopia (green-blind)
#73671D
Tritanopia (blue-blind)
#BD002F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #ab3122;
/* rgb */ color: rgb(171, 49, 34);
/* oklch */ color: oklch(49.7% 0.161 30.5);
Tailwind
colors: {
  custom: {
    50: '#cd715e',
    500: '#ab3122',
    950: '#000000',
  },
}
SCSS
$custom: #ab3122;
$custom-light: #cd715e;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3122",
  "rgb": {
    "r": 171,
    "g": 49,
    "b": 34
  },
  "hsl": {
    "h": 6.569,
    "s": 66.829,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49742,
    "c": 0.16088,
    "h": 30.5
  },
  "luminance": 0.1097
}

Semantic roles & 50–950 ramp

primary
#AB3122
secondary
#63BBC6
accent
#D7EA3E
background
#FDF7F5
surface
#FBEDE9
border
#D4C8C5
text
#150804
muted
#837B79

Preview Lab

Preview with #AB3122

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

Preview Lab → · Contrast checker → · Palette generator →

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