#AB472D#AB472D

#AB472D is a mid, vivid red. Relative luminance 0.134; OKLCH L 52.6% C 0.138 H 35.6°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#AB472D
RGBrgb(171, 71, 45)
HSLhsl(12, 58%, 42%)
HSVhsv(12, 74%, 67%)
CMYKcmyk(0%, 58.5%, 73.7%, 32.9%)
CIE-LABlab(43.30, 39.43, 35.57)
CIE-LCHlch(43.30, 53.10, 42.05°)
OKLaboklab(52.61% 0.1119 0.0801)
OKLCHoklch(52.61% 0.138 35.6)
XYZxyz(19.5235, 13.3565, 4.0321)
Luminance0.1335 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB472D #2D91AB
analogous
#AB2D52 #AB472D #AB862D
triadic
#AB472D #2DAB47 #472DAB
tetradic
#AB472D #52AB2D #2D91AB #862DAB
square
#AB472D #52AB2D #2D91AB #862DAB
split-complementary
#AB472D #2DAB86 #2D52AB
monochromatic
#4A1F14 #7B3320 #AB472D #CE6347 #DB8C77

Accessibility & contrast

On white

5.72
#AB472D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#AB472D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB472D
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB472D#FFFFFF#000000##FFFFFF
##AB472D1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#62592A
Deuteranopia (green-blind)
#7B6F2A
Tritanopia (blue-blind)
#BC3141
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ab472d;
/* rgb */ color: rgb(171, 71, 45);
/* oklch */ color: oklch(52.6% 0.138 35.6);
Tailwind
colors: {
  custom: {
    50: '#cb7e67',
    500: '#ab472d',
    950: '#000000',
  },
}
SCSS
$custom: #ab472d;
$custom-light: #cb7e67;
$custom-dark: #000000;
JSON
{
  "hex": "#ab472d",
  "rgb": {
    "r": 171,
    "g": 71,
    "b": 45
  },
  "hsl": {
    "h": 12.381,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.5261,
    "c": 0.13762,
    "h": 35.6
  },
  "luminance": 0.13354
}

Semantic roles & 50–950 ramp

primary
#AB472D
secondary
#71B2C3
accent
#C2E246
background
#FDF7F6
surface
#FAEEEB
border
#D3C9C6
text
#150A06
muted
#837C7A

Preview Lab

Preview with #AB472D

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

Preview Lab → · Contrast checker → · Palette generator →

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