#AB4229#AB4229

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

Color values

HEX#AB4229
RGBrgb(171, 66, 41)
HSLhsl(12, 61%, 42%)
HSVhsv(12, 76%, 67%)
CMYKcmyk(0%, 61.4%, 76%, 32.9%)
CIE-LABlab(42.33, 41.66, 36.72)
CIE-LCHlch(42.33, 55.53, 41.40°)
OKLaboklab(51.87% 0.118 0.0817)
OKLCHoklch(51.87% 0.144 34.7)
XYZxyz(19.1451, 12.7171, 3.5439)
Luminance0.1271 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4229 #2992AB
analogous
#AB2951 #AB4229 #AB8329
triadic
#AB4229 #29AB42 #4229AB
tetradic
#AB4229 #51AB29 #2992AB #8329AB
square
#AB4229 #51AB29 #2992AB #8329AB
split-complementary
#AB4229 #29AB83 #2951AB
monochromatic
#481C11 #7A2F1D #AB4229 #D15C40 #DD8671

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB4229#FFFFFF#000000##FFFFFF
##AB42291.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)
#5F5526
Deuteranopia (green-blind)
#796D26
Tritanopia (blue-blind)
#BC293D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ab4229;
/* rgb */ color: rgb(171, 66, 41);
/* oklch */ color: oklch(51.9% 0.144 34.7);
Tailwind
colors: {
  custom: {
    50: '#cb7a64',
    500: '#ab4229',
    950: '#000000',
  },
}
SCSS
$custom: #ab4229;
$custom-light: #cb7a64;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4229",
  "rgb": {
    "r": 171,
    "g": 66,
    "b": 41
  },
  "hsl": {
    "h": 11.538,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51868,
    "c": 0.14351,
    "h": 34.7
  },
  "luminance": 0.12714
}

Semantic roles & 50–950 ramp

primary
#AB4229
secondary
#6CB3C4
accent
#C5E443
background
#FDF7F6
surface
#FAEEEB
border
#D3C9C6
text
#150905
muted
#837B7A

Preview Lab

Preview with #AB4229

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

Preview Lab → · Contrast checker → · Palette generator →

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