#AB4228#AB4228

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

Color values

HEX#AB4228
RGBrgb(171, 66, 40)
HSLhsl(12, 62%, 41%)
HSVhsv(12, 77%, 67%)
CMYKcmyk(0%, 61.4%, 76.6%, 32.9%)
CIE-LABlab(42.32, 41.61, 37.25)
CIE-LCHlch(42.32, 55.85, 41.83°)
OKLaboklab(51.86% 0.1177 0.0826)
OKLCHoklch(51.86% 0.144 35.1)
XYZxyz(19.1278, 12.7102, 3.4532)
Luminance0.1271 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4228 #2891AB
analogous
#AB2850 #AB4228 #AB8428
triadic
#AB4228 #28AB42 #4228AB
tetradic
#AB4228 #50AB28 #2891AB #8428AB
square
#AB4228 #50AB28 #2891AB #8428AB
split-complementary
#AB4228 #28AB84 #2850AB
monochromatic
#481C11 #792F1C #AB4228 #D25C3E #DE8670

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB4228#FFFFFF#000000##FFFFFF
##AB42281.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)
#5F5525
Deuteranopia (green-blind)
#796D25
Tritanopia (blue-blind)
#BC293D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ab4228;
/* rgb */ color: rgb(171, 66, 40);
/* oklch */ color: oklch(51.9% 0.144 35.1);
Tailwind
colors: {
  custom: {
    50: '#cb7a63',
    500: '#ab4228',
    950: '#000000',
  },
}
SCSS
$custom: #ab4228;
$custom-light: #cb7a63;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4228",
  "rgb": {
    "r": 171,
    "g": 66,
    "b": 40
  },
  "hsl": {
    "h": 11.908,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.51857,
    "c": 0.14375,
    "h": 35.1
  },
  "luminance": 0.12708
}

Semantic roles & 50–950 ramp

primary
#AB4228
secondary
#6AB3C4
accent
#C5E543
background
#FDF7F6
surface
#FBEEEB
border
#D4C9C6
text
#150905
muted
#837B7A

Preview Lab

Preview with #AB4228

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

Preview Lab → · Contrast checker → · Palette generator →

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