#AB474B#AB474B

#AB474B is a mid, vivid red. Relative luminance 0.137; OKLCH L 53.1% C 0.132 H 20.3°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#AB474B
RGBrgb(171, 71, 75)
HSLhsl(358, 41%, 47%)
HSVhsv(358, 58%, 67%)
CMYKcmyk(0%, 58.5%, 56.1%, 32.9%)
CIE-LABlab(43.76, 41.37, 18.50)
CIE-LCHlch(43.76, 45.32, 24.09°)
OKLaboklab(53.11% 0.1234 0.0457)
OKLCHoklch(53.11% 0.132 20.3)
XYZxyz(20.3195, 13.6749, 8.2247)
Luminance0.1367 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB474B #47ABA7
analogous
#AB477D #AB474B #AB7547
triadic
#AB474B #4BAB47 #474BAB
tetradic
#AB474B #7DAB47 #47ABA7 #7547AB
square
#AB474B #7DAB47 #47ABA7 #7547AB
split-complementary
#AB474B #47AB75 #477DAB
monochromatic
#552325 #803538 #AB474B #C26D70 #D4989B

Accessibility & contrast

On white

5.62
#AB474B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#AB474B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB474B
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB474B#FFFFFF#000000##FFFFFF
##AB474B1.005.623.735.62
#FFFFFF5.621.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5A4A
Deuteranopia (green-blind)
#786F49
Tritanopia (blue-blind)
#BA3649
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ab474b;
/* rgb */ color: rgb(171, 71, 75);
/* oklch */ color: oklch(53.1% 0.132 20.3);
Tailwind
colors: {
  custom: {
    50: '#c97e7d',
    500: '#ab474b',
    950: '#000000',
  },
}
SCSS
$custom: #ab474b;
$custom-light: #c97e7d;
$custom-dark: #000000;
JSON
{
  "hex": "#ab474b",
  "rgb": {
    "r": 171,
    "g": 71,
    "b": 75
  },
  "hsl": {
    "h": 357.6,
    "s": 41.322,
    "l": 47.451
  },
  "oklch": {
    "l": 0.53114,
    "c": 0.13161,
    "h": 20.3
  },
  "luminance": 0.13672
}

Semantic roles & 50–950 ramp

primary
#AB474B
secondary
#8DC0BE
accent
#D1CC57
background
#FDF7F7
surface
#FAEEEE
border
#D3C9C9
text
#140A09
muted
#837C7B

Preview Lab

Preview with #AB474B

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

Preview Lab → · Contrast checker → · Palette generator →

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