#AB5166#AB5166

#AB5166 is a mid, moderate red. Relative luminance 0.155; OKLCH L 55.2% C 0.119 H 7.1°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#AB5166
RGBrgb(171, 81, 102)
HSLhsl(346, 36%, 49%)
HSVhsv(346, 53%, 67%)
CMYKcmyk(0%, 52.6%, 40.4%, 32.9%)
CIE-LABlab(46.32, 39.02, 5.56)
CIE-LCHlch(46.32, 39.41, 8.11°)
OKLaboklab(55.24% 0.1186 0.0148)
OKLCHoklch(55.24% 0.119 7.1)
XYZxyz(22.1366, 15.5043, 14.3946)
Luminance0.1550 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5166 #51AB96
analogous
#AB5193 #AB5166 #AB6951
triadic
#AB5166 #66AB51 #5166AB
tetradic
#AB5166 #93AB51 #51AB96 #6951AB
square
#AB5166 #93AB51 #51AB96 #6951AB
split-complementary
#AB5166 #51AB69 #5193AB
monochromatic
#582A34 #813D4D #AB5166 #C0798A #D3A3AE

Accessibility & contrast

On white

5.12
#AB5166 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#AB5166 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB5166
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5166#FFFFFF#000000##FFFFFF
##AB51661.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#626366
Deuteranopia (green-blind)
#797464
Tritanopia (blue-blind)
#B84859
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ab5166;
/* rgb */ color: rgb(171, 81, 102);
/* oklch */ color: oklch(55.2% 0.119 7.1);
Tailwind
colors: {
  custom: {
    50: '#c78591',
    500: '#ab5166',
    950: '#000000',
  },
}
SCSS
$custom: #ab5166;
$custom-light: #c78591;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5166",
  "rgb": {
    "r": 171,
    "g": 81,
    "b": 102
  },
  "hsl": {
    "h": 346,
    "s": 35.714,
    "l": 49.412
  },
  "oklch": {
    "l": 0.55244,
    "c": 0.11947,
    "h": 7.1
  },
  "luminance": 0.15502
}

Semantic roles & 50–950 ramp

primary
#AB5166
secondary
#97C1B7
accent
#CCB25C
background
#FCF8F8
surface
#F9EFF0
border
#D2CACB
text
#130B0C
muted
#827C7D

Preview Lab

Preview with #AB5166

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

Preview Lab → · Contrast checker → · Palette generator →

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