#AB332A#AB332A

#AB332A is a mid, vivid red. Relative luminance 0.112; OKLCH L 50.0% C 0.158 H 28.4°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#AB332A
RGBrgb(171, 51, 42)
HSLhsl(4, 61%, 42%)
HSVhsv(4, 75%, 67%)
CMYKcmyk(0%, 70.2%, 75.4%, 32.9%)
CIE-LABlab(39.91, 48.25, 33.52)
CIE-LCHlch(39.91, 58.75, 34.79°)
OKLaboklab(50.05% 0.1388 0.075)
OKLCHoklch(50.05% 0.158 28.4)
XYZxyz(18.3984, 11.1955, 3.3822)
Luminance0.1119 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB332A #2AA2AB
analogous
#AB2A62 #AB332A #AB742A
triadic
#AB332A #2AAB33 #332AAB
tetradic
#AB332A #62AB2A #2AA2AB #742AAB
square
#AB332A #62AB2A #2AA2AB #742AAB
split-complementary
#AB332A #2AAB74 #2A62AB
monochromatic
#491612 #7A241E #AB332A #D14C42 #DD7A73

Accessibility & contrast

On white

6.48
#AB332A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#AB332A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB332A
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB332A#FFFFFF#000000##FFFFFF
##AB332A1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564D28
Deuteranopia (green-blind)
#736826
Tritanopia (blue-blind)
#BC0832
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #ab332a;
/* rgb */ color: rgb(171, 51, 42);
/* oklch */ color: oklch(50.0% 0.158 28.4);
Tailwind
colors: {
  custom: {
    50: '#cc7264',
    500: '#ab332a',
    950: '#000000',
  },
}
SCSS
$custom: #ab332a;
$custom-light: #cc7264;
$custom-dark: #000000;
JSON
{
  "hex": "#ab332a",
  "rgb": {
    "r": 171,
    "g": 51,
    "b": 42
  },
  "hsl": {
    "h": 4.186,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50048,
    "c": 0.15773,
    "h": 28.4
  },
  "luminance": 0.11193
}

Semantic roles & 50–950 ramp

primary
#AB332A
secondary
#6DBEC4
accent
#D9E444
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150805
muted
#837B7A

Preview Lab

Preview with #AB332A

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

Preview Lab → · Contrast checker → · Palette generator →

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