#AB4226#AB4226

#AB4226 is a mid, vivid red. Relative luminance 0.127; OKLCH L 51.8% C 0.144 H 35.8°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#AB4226
RGBrgb(171, 66, 38)
HSLhsl(13, 64%, 41%)
HSVhsv(13, 78%, 67%)
CMYKcmyk(0%, 61.4%, 77.8%, 32.9%)
CIE-LABlab(42.30, 41.53, 38.30)
CIE-LCHlch(42.30, 56.50, 42.68°)
OKLaboklab(51.84% 0.117 0.0843)
OKLCHoklch(51.84% 0.144 35.8)
XYZxyz(19.0947, 12.6970, 3.2786)
Luminance0.1269 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4226 #268FAB
analogous
#AB264C #AB4226 #AB8426
triadic
#AB4226 #26AB42 #4226AB
tetradic
#AB4226 #4CAB26 #268FAB #8426AB
square
#AB4226 #4CAB26 #268FAB #8426AB
split-complementary
#AB4226 #26AB84 #264CAB
monochromatic
#471B10 #792F1B #AB4226 #D35B3B #DF856D

Accessibility & contrast

On white

5.93
#AB4226 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#AB4226 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4226
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4226#FFFFFF#000000##FFFFFF
##AB42261.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5522
Deuteranopia (green-blind)
#796D22
Tritanopia (blue-blind)
#BC283C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ab4226;
/* rgb */ color: rgb(171, 66, 38);
/* oklch */ color: oklch(51.8% 0.144 35.8);
Tailwind
colors: {
  custom: {
    50: '#cc7a62',
    500: '#ab4226',
    950: '#000000',
  },
}
SCSS
$custom: #ab4226;
$custom-light: #cc7a62;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4226",
  "rgb": {
    "r": 171,
    "g": 66,
    "b": 38
  },
  "hsl": {
    "h": 12.632,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51835,
    "c": 0.14424,
    "h": 35.8
  },
  "luminance": 0.12694
}

Semantic roles & 50–950 ramp

primary
#AB4226
secondary
#68B1C5
accent
#C4E741
background
#FDF7F5
surface
#FBEEEA
border
#D4C9C6
text
#150905
muted
#837B79

Preview Lab

Preview with #AB4226

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

Preview Lab → · Contrast checker → · Palette generator →

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