#AB4128#AB4128

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

Color values

HEX#AB4128
RGBrgb(171, 65, 40)
HSLhsl(11, 62%, 41%)
HSVhsv(11, 77%, 67%)
CMYKcmyk(0%, 62%, 76.6%, 32.9%)
CIE-LABlab(42.15, 42.08, 37.06)
CIE-LCHlch(42.15, 56.08, 41.37°)
OKLaboklab(51.72% 0.1191 0.0822)
OKLCHoklch(51.72% 0.145 34.6)
XYZxyz(19.0699, 12.5944, 3.4339)
Luminance0.1259 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4128 #2892AB
analogous
#AB2851 #AB4128 #AB8328
triadic
#AB4128 #28AB41 #4128AB
tetradic
#AB4128 #51AB28 #2892AB #8328AB
square
#AB4128 #51AB28 #2892AB #8328AB
split-complementary
#AB4128 #28AB83 #2851AB
monochromatic
#481B11 #792E1C #AB4128 #D25A3E #DE8570

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB4128#FFFFFF#000000##FFFFFF
##AB41281.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)
#5F5525
Deuteranopia (green-blind)
#796C24
Tritanopia (blue-blind)
#BC273C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ab4128;
/* rgb */ color: rgb(171, 65, 40);
/* oklch */ color: oklch(51.7% 0.145 34.6);
Tailwind
colors: {
  custom: {
    50: '#cc7a63',
    500: '#ab4128',
    950: '#000000',
  },
}
SCSS
$custom: #ab4128;
$custom-light: #cc7a63;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4128",
  "rgb": {
    "r": 171,
    "g": 65,
    "b": 40
  },
  "hsl": {
    "h": 11.45,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.51723,
    "c": 0.14471,
    "h": 34.6
  },
  "luminance": 0.12592
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB4128

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

Preview Lab → · Contrast checker → · Palette generator →

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