#AB474E#AB474E

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

Color values

HEX#AB474E
RGBrgb(171, 71, 78)
HSLhsl(356, 41%, 47%)
HSVhsv(356, 58%, 67%)
CMYKcmyk(0%, 58.5%, 54.4%, 32.9%)
CIE-LABlab(43.82, 41.62, 16.75)
CIE-LCHlch(43.82, 44.86, 21.92°)
OKLaboklab(53.18% 0.1247 0.0417)
OKLCHoklch(53.18% 0.131 18.5)
XYZxyz(20.4246, 13.7169, 8.7783)
Luminance0.1371 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB474E #47ABA4
analogous
#AB4780 #AB474E #AB7247
triadic
#AB474E #4EAB47 #474EAB
tetradic
#AB474E #80AB47 #47ABA4 #7247AB
square
#AB474E #80AB47 #47ABA4 #7247AB
split-complementary
#AB474E #47AB72 #4780AB
monochromatic
#552327 #80353A #AB474E #C26D73 #D4989C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB474E#FFFFFF#000000##FFFFFF
##AB474E1.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)
#5E5B4E
Deuteranopia (green-blind)
#786F4C
Tritanopia (blue-blind)
#BA374A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ab474e;
/* rgb */ color: rgb(171, 71, 78);
/* oklch */ color: oklch(53.2% 0.131 18.5);
Tailwind
colors: {
  custom: {
    50: '#c97e7f',
    500: '#ab474e',
    950: '#000000',
  },
}
SCSS
$custom: #ab474e;
$custom-light: #c97e7f;
$custom-dark: #000000;
JSON
{
  "hex": "#ab474e",
  "rgb": {
    "r": 171,
    "g": 71,
    "b": 78
  },
  "hsl": {
    "h": 355.8,
    "s": 41.322,
    "l": 47.451
  },
  "oklch": {
    "l": 0.5318,
    "c": 0.13144,
    "h": 18.5
  },
  "luminance": 0.13714
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB474E

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

Preview Lab → · Contrast checker → · Palette generator →

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