#AB627C#AB627C

#AB627C is a mid, moderate pink. Relative luminance 0.188; OKLCH L 58.6% C 0.099 H 357.8°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#AB627C
RGBrgb(171, 98, 124)
HSLhsl(339, 30%, 53%)
HSVhsv(339, 43%, 67%)
CMYKcmyk(0%, 42.7%, 27.5%, 32.9%)
CIE-LABlab(50.51, 32.82, -1.60)
CIE-LCHlch(50.51, 32.86, 357.21°)
OKLaboklab(58.62% 0.0991 -0.0038)
OKLCHoklch(58.62% 0.099 357.8)
XYZxyz(24.8011, 18.8504, 21.3971)
Luminance0.1885 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB627C #62AB91
analogous
#AB62A0 #AB627C #AB6C62
triadic
#AB627C #7CAB62 #627CAB
tetradic
#AB627C #A0AB62 #62AB91 #6C62AB
square
#AB627C #A0AB62 #62AB91 #6C62AB
split-complementary
#AB627C #62AB6C #62A0AB
monochromatic
#603343 #87485F #AB627C #C08A9D #D6B2BF

Accessibility & contrast

On white

4.40
#AB627C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#AB627C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB627C
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB627C#FFFFFF#000000##000000
##AB627C1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C707D
Deuteranopia (green-blind)
#7E7D7A
Tritanopia (blue-blind)
#B65E6B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ab627c;
/* rgb */ color: rgb(171, 98, 124);
/* oklch */ color: oklch(58.6% 0.099 357.8);
Tailwind
colors: {
  custom: {
    50: '#c690a1',
    500: '#ab627c',
    950: '#000000',
  },
}
SCSS
$custom: #ab627c;
$custom-light: #c690a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab627c",
  "rgb": {
    "r": 171,
    "g": 98,
    "b": 124
  },
  "hsl": {
    "h": 338.63,
    "s": 30.29,
    "l": 52.745
  },
  "oklch": {
    "l": 0.5862,
    "c": 0.09918,
    "h": 357.8
  },
  "luminance": 0.18849
}

Semantic roles & 50–950 ramp

primary
#AB627C
secondary
#A5C4B9
accent
#C7A261
background
#FCF8F9
surface
#F8F0F2
border
#D1CBCC
text
#130D0F
muted
#827D7E

Preview Lab

Preview with #AB627C

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

Preview Lab → · Contrast checker → · Palette generator →

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