#AB474D#AB474D

#AB474D is a mid, vivid red. Relative luminance 0.137; OKLCH L 53.2% C 0.131 H 19.1°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#AB474D
RGBrgb(171, 71, 77)
HSLhsl(356, 41%, 47%)
HSVhsv(356, 58%, 67%)
CMYKcmyk(0%, 58.5%, 55%, 32.9%)
CIE-LABlab(43.80, 41.54, 17.33)
CIE-LCHlch(43.80, 45.01, 22.65°)
OKLaboklab(53.16% 0.1242 0.043)
OKLCHoklch(53.16% 0.131 19.1)
XYZxyz(20.3891, 13.7027, 8.5909)
Luminance0.1370 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB474D #47ABA5
analogous
#AB477F #AB474D #AB7347
triadic
#AB474D #4DAB47 #474DAB
tetradic
#AB474D #7FAB47 #47ABA5 #7347AB
square
#AB474D #7FAB47 #47ABA5 #7347AB
split-complementary
#AB474D #47AB73 #477FAB
monochromatic
#552326 #80353A #AB474D #C26D72 #D4989C

Accessibility & contrast

On white

5.61
#AB474D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#AB474D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB474D
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB474D#FFFFFF#000000##FFFFFF
##AB474D1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5B4D
Deuteranopia (green-blind)
#786F4B
Tritanopia (blue-blind)
#BA374A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ab474d;
/* rgb */ color: rgb(171, 71, 77);
/* oklch */ color: oklch(53.2% 0.131 19.1);
Tailwind
colors: {
  custom: {
    50: '#c97e7e',
    500: '#ab474d',
    950: '#000000',
  },
}
SCSS
$custom: #ab474d;
$custom-light: #c97e7e;
$custom-dark: #000000;
JSON
{
  "hex": "#ab474d",
  "rgb": {
    "r": 171,
    "g": 71,
    "b": 77
  },
  "hsl": {
    "h": 356.4,
    "s": 41.322,
    "l": 47.451
  },
  "oklch": {
    "l": 0.53157,
    "c": 0.13148,
    "h": 19.1
  },
  "luminance": 0.137
}

Semantic roles & 50–950 ramp

primary
#AB474D
secondary
#8DC0BD
accent
#D1CA57
background
#FDF7F7
surface
#FAEEEE
border
#D3C9C9
text
#140A0A
muted
#837C7C

Preview Lab

Preview with #AB474D

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

Preview Lab → · Contrast checker → · Palette generator →

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