#AB628E#AB628E

#AB628E is a mid, moderate pink. Relative luminance 0.193; OKLCH L 59.3% C 0.109 H 344.0°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#AB628E
RGBrgb(171, 98, 142)
HSLhsl(324, 30%, 53%)
HSVhsv(324, 43%, 67%)
CMYKcmyk(0%, 42.7%, 17%, 32.9%)
CIE-LABlab(51.09, 35.57, -11.43)
CIE-LCHlch(51.09, 37.36, 342.19°)
OKLaboklab(59.25% 0.1052 -0.0302)
OKLCHoklch(59.25% 0.109 344)
XYZxyz(26.0451, 19.3480, 27.9487)
Luminance0.1935 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB628E #62AB7F
analogous
#A362AB #AB628E #AB6269
triadic
#AB628E #8EAB62 #628EAB
tetradic
#AB628E #ABA362 #62AB7F #6269AB
square
#AB628E #ABA362 #62AB7F #6269AB
split-complementary
#AB628E #69AB62 #62ABA3
monochromatic
#60334E #87486E #AB628E #C08AAB #D6B2C7

Accessibility & contrast

On white

4.31
#AB628E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#AB628E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB628E
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB628E#FFFFFF#000000##000000
##AB628E1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#677290
Deuteranopia (green-blind)
#7A7E8C
Tritanopia (blue-blind)
#B36272
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ab628e;
/* rgb */ color: rgb(171, 98, 142);
/* oklch */ color: oklch(59.3% 0.109 344.0);
Tailwind
colors: {
  custom: {
    50: '#c590af',
    500: '#ab628e',
    950: '#000000',
  },
}
SCSS
$custom: #ab628e;
$custom-light: #c590af;
$custom-dark: #000000;
JSON
{
  "hex": "#ab628e",
  "rgb": {
    "r": 171,
    "g": 98,
    "b": 142
  },
  "hsl": {
    "h": 323.836,
    "s": 30.29,
    "l": 52.745
  },
  "oklch": {
    "l": 0.5925,
    "c": 0.10947,
    "h": 344
  },
  "luminance": 0.19346
}

Semantic roles & 50–950 ramp

primary
#AB628E
secondary
#A5C4B1
accent
#C78961
background
#FCF8FA
surface
#F8F0F4
border
#D1CBCE
text
#130D10
muted
#827D7F

Preview Lab

Preview with #AB628E

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

Preview Lab → · Contrast checker → · Palette generator →

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