#AB5A6B#AB5A6B

#AB5A6B is a mid, moderate red. Relative luminance 0.170; OKLCH L 56.8% C 0.107 H 7.7°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#AB5A6B
RGBrgb(171, 90, 107)
HSLhsl(347, 33%, 51%)
HSVhsv(347, 47%, 67%)
CMYKcmyk(0%, 47.4%, 37.4%, 32.9%)
CIE-LABlab(48.30, 34.89, 5.38)
CIE-LCHlch(48.30, 35.30, 8.76°)
OKLaboklab(56.79% 0.1059 0.0143)
OKLCHoklch(56.79% 0.107 7.7)
XYZxyz(23.1057, 17.0339, 15.9781)
Luminance0.1703 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5A6B #5AAB9A
analogous
#AB5A93 #AB5A6B #AB715A
triadic
#AB5A6B #6BAB5A #5A6BAB
tetradic
#AB5A6B #93AB5A #5AAB9A #715AAB
square
#AB5A6B #93AB5A #5AAB9A #715AAB
split-complementary
#AB5A6B #5AAB71 #5A93AB
monochromatic
#5C2F38 #844351 #AB5A6B #C0838F #D4ABB4

Accessibility & contrast

On white

4.77
#AB5A6B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#AB5A6B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB5A6B
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5A6B#FFFFFF#000000##FFFFFF
##AB5A6B1.004.774.414.77
#FFFFFF4.771.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#68696B
Deuteranopia (green-blind)
#7D7969
Tritanopia (blue-blind)
#B85260
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ab5a6b;
/* rgb */ color: rgb(171, 90, 107);
/* oklch */ color: oklch(56.8% 0.107 7.7);
Tailwind
colors: {
  custom: {
    50: '#c78a95',
    500: '#ab5a6b',
    950: '#000000',
  },
}
SCSS
$custom: #ab5a6b;
$custom-light: #c78a95;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5a6b",
  "rgb": {
    "r": 171,
    "g": 90,
    "b": 107
  },
  "hsl": {
    "h": 347.407,
    "s": 32.53,
    "l": 51.176
  },
  "oklch": {
    "l": 0.56788,
    "c": 0.10685,
    "h": 7.7
  },
  "luminance": 0.17032
}

Semantic roles & 50–950 ramp

primary
#AB5A6B
secondary
#9FC2BB
accent
#C9B35F
background
#FCF8F9
surface
#F8F0F1
border
#D1CBCB
text
#130C0D
muted
#827D7E

Preview Lab

Preview with #AB5A6B

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

Preview Lab → · Contrast checker → · Palette generator →

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