#AB474F#AB474F

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

Color values

HEX#AB474F
RGBrgb(171, 71, 79)
HSLhsl(355, 41%, 47%)
HSVhsv(355, 58%, 67%)
CMYKcmyk(0%, 58.5%, 53.8%, 32.9%)
CIE-LABlab(43.85, 41.71, 16.16)
CIE-LCHlch(43.85, 44.73, 21.18°)
OKLaboklab(53.2% 0.1251 0.0404)
OKLCHoklch(53.2% 0.131 17.9)
XYZxyz(20.4608, 13.7314, 8.9686)
Luminance0.1373 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB474F #47ABA3
analogous
#AB4781 #AB474F #AB7147
triadic
#AB474F #4FAB47 #474FAB
tetradic
#AB474F #81AB47 #47ABA3 #7147AB
square
#AB474F #81AB47 #47ABA3 #7147AB
split-complementary
#AB474F #47AB71 #4781AB
monochromatic
#552327 #80353B #AB474F #C26D74 #D4989D

Accessibility & contrast

On white

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

On black

3.75
#AB474F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##AB474F#FFFFFF#000000##FFFFFF
##AB474F1.005.613.755.61
#FFFFFF5.611.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5B4F
Deuteranopia (green-blind)
#776F4D
Tritanopia (blue-blind)
#BA374A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ab474f;
/* rgb */ color: rgb(171, 71, 79);
/* oklch */ color: oklch(53.2% 0.131 17.9);
Tailwind
colors: {
  custom: {
    50: '#c97e80',
    500: '#ab474f',
    950: '#000000',
  },
}
SCSS
$custom: #ab474f;
$custom-light: #c97e80;
$custom-dark: #000000;
JSON
{
  "hex": "#ab474f",
  "rgb": {
    "r": 171,
    "g": 71,
    "b": 79
  },
  "hsl": {
    "h": 355.2,
    "s": 41.322,
    "l": 47.451
  },
  "oklch": {
    "l": 0.53202,
    "c": 0.13141,
    "h": 17.9
  },
  "luminance": 0.13729
}

Semantic roles & 50–950 ramp

primary
#AB474F
secondary
#8DC0BC
accent
#D1C757
background
#FCF7F7
surface
#F9EEEE
border
#D2C9C9
text
#140A0A
muted
#827C7C

Preview Lab

Preview with #AB474F

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

Preview Lab → · Contrast checker → · Palette generator →

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