#AB4126#AB4126

#AB4126 is a mid, vivid red. Relative luminance 0.126; OKLCH L 51.7% C 0.145 H 35.3°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#AB4126
RGBrgb(171, 65, 38)
HSLhsl(12, 64%, 41%)
HSVhsv(12, 78%, 67%)
CMYKcmyk(0%, 62%, 77.8%, 32.9%)
CIE-LABlab(42.13, 42.00, 38.12)
CIE-LCHlch(42.13, 56.72, 42.22°)
OKLaboklab(51.7% 0.1185 0.0839)
OKLCHoklch(51.7% 0.145 35.3)
XYZxyz(19.0368, 12.5811, 3.2593)
Luminance0.1258 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4126 #2690AB
analogous
#AB264E #AB4126 #AB8326
triadic
#AB4126 #26AB41 #4126AB
tetradic
#AB4126 #4EAB26 #2690AB #8326AB
square
#AB4126 #4EAB26 #2690AB #8326AB
split-complementary
#AB4126 #26AB83 #264EAB
monochromatic
#471B10 #792E1B #AB4126 #D35A3B #DF846D

Accessibility & contrast

On white

5.97
#AB4126 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#AB4126 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4126
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4126#FFFFFF#000000##FFFFFF
##AB41261.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5522
Deuteranopia (green-blind)
#796C22
Tritanopia (blue-blind)
#BC273B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ab4126;
/* rgb */ color: rgb(171, 65, 38);
/* oklch */ color: oklch(51.7% 0.145 35.3);
Tailwind
colors: {
  custom: {
    50: '#cc7a62',
    500: '#ab4126',
    950: '#000000',
  },
}
SCSS
$custom: #ab4126;
$custom-light: #cc7a62;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4126",
  "rgb": {
    "r": 171,
    "g": 65,
    "b": 38
  },
  "hsl": {
    "h": 12.18,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51701,
    "c": 0.14519,
    "h": 35.3
  },
  "luminance": 0.12578
}

Semantic roles & 50–950 ramp

primary
#AB4126
secondary
#68B2C5
accent
#C5E741
background
#FDF7F5
surface
#FBEEEA
border
#D4C9C6
text
#150905
muted
#837B79

Preview Lab

Preview with #AB4126

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

Preview Lab → · Contrast checker → · Palette generator →

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