#AB475F#AB475F

#AB475F is a mid, vivid red. Relative luminance 0.140; OKLCH L 53.6% C 0.133 H 7.8°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#AB475F
RGBrgb(171, 71, 95)
HSLhsl(346, 41%, 47%)
HSVhsv(346, 58%, 67%)
CMYKcmyk(0%, 58.5%, 44.4%, 32.9%)
CIE-LABlab(44.22, 43.24, 6.86)
CIE-LCHlch(44.22, 43.78, 9.01°)
OKLaboklab(53.61% 0.1314 0.018)
OKLCHoklch(53.61% 0.133 7.8)
XYZxyz(21.1148, 13.9930, 12.4132)
Luminance0.1399 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB475F #47AB93
analogous
#AB4791 #AB475F #AB6147
triadic
#AB475F #5FAB47 #475FAB
tetradic
#AB475F #91AB47 #47AB93 #6147AB
square
#AB475F #91AB47 #47AB93 #6147AB
split-complementary
#AB475F #47AB61 #4791AB
monochromatic
#55232F #803547 #AB475F #C26D81 #D498A7

Accessibility & contrast

On white

5.53
#AB475F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#AB475F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB475F
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB475F#FFFFFF#000000##FFFFFF
##AB475F1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5C60
Deuteranopia (green-blind)
#75705D
Tritanopia (blue-blind)
#B93B50
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ab475f;
/* rgb */ color: rgb(171, 71, 95);
/* oklch */ color: oklch(53.6% 0.133 7.8);
Tailwind
colors: {
  custom: {
    50: '#c87e8c',
    500: '#ab475f',
    950: '#000000',
  },
}
SCSS
$custom: #ab475f;
$custom-light: #c87e8c;
$custom-dark: #000000;
JSON
{
  "hex": "#ab475f",
  "rgb": {
    "r": 171,
    "g": 71,
    "b": 95
  },
  "hsl": {
    "h": 345.6,
    "s": 41.322,
    "l": 47.451
  },
  "oklch": {
    "l": 0.53609,
    "c": 0.13267,
    "h": 7.8
  },
  "luminance": 0.13991
}

Semantic roles & 50–950 ramp

primary
#AB475F
secondary
#8DC0B4
accent
#D1B457
background
#FCF7F8
surface
#F9EEF0
border
#D2C9CB
text
#140A0C
muted
#827C7D

Preview Lab

Preview with #AB475F

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

Preview Lab → · Contrast checker → · Palette generator →

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