#AB7186#AB7186

#AB7186 is a mid, moderate pink. Relative luminance 0.222; OKLCH L 61.6% C 0.078 H 356.3°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#AB7186
RGBrgb(171, 113, 134)
HSLhsl(338, 26%, 56%)
HSVhsv(338, 34%, 67%)
CMYKcmyk(0%, 33.9%, 21.6%, 32.9%)
CIE-LABlab(54.23, 25.99, -2.05)
CIE-LCHlch(54.23, 26.07, 355.49°)
OKLaboklab(61.55% 0.0779 -0.0051)
OKLCHoklch(61.55% 0.078 356.3)
XYZxyz(27.0032, 22.1910, 25.4106)
Luminance0.2219 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB7186 #71AB96
analogous
#AB71A3 #AB7186 #AB7971
triadic
#AB7186 #86AB71 #7186AB
tetradic
#AB7186 #A3AB71 #71AB96 #7971AB
square
#AB7186 #A3AB71 #71AB96 #7971AB
split-complementary
#AB7186 #71AB79 #71A3AB
monochromatic
#663C4B #8C5368 #AB7186 #C297A7 #D8BEC8

Accessibility & contrast

On white

3.86
#AB7186 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#AB7186 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB7186
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB7186#FFFFFF#000000##000000
##AB71861.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#787C87
Deuteranopia (green-blind)
#868585
Tritanopia (blue-blind)
#B46E78
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ab7186;
/* rgb */ color: rgb(171, 113, 134);
/* oklch */ color: oklch(61.6% 0.078 356.3);
Tailwind
colors: {
  custom: {
    50: '#c59aa9',
    500: '#ab7186',
    950: '#000000',
  },
}
SCSS
$custom: #ab7186;
$custom-light: #c59aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab7186",
  "rgb": {
    "r": 171,
    "g": 113,
    "b": 134
  },
  "hsl": {
    "h": 338.276,
    "s": 25.664,
    "l": 55.686
  },
  "oklch": {
    "l": 0.6155,
    "c": 0.07809,
    "h": 356.3
  },
  "luminance": 0.22189
}

Semantic roles & 50–950 ramp

primary
#AB7186
secondary
#B0C8BF
accent
#C2A166
background
#FCF9FA
surface
#F8F2F4
border
#D1CCCE
text
#130E0F
muted
#827E7F

Preview Lab

Preview with #AB7186

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

Preview Lab → · Contrast checker → · Palette generator →

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