#AB628F#AB628F

#AB628F is a mid, moderate pink. Relative luminance 0.194; OKLCH L 59.3% C 0.110 H 343.3°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#AB628F
RGBrgb(171, 98, 143)
HSLhsl(323, 30%, 53%)
HSVhsv(323, 43%, 67%)
CMYKcmyk(0%, 42.7%, 16.4%, 32.9%)
CIE-LABlab(51.13, 35.74, -11.97)
CIE-LCHlch(51.13, 37.69, 341.48°)
OKLaboklab(59.29% 0.1055 -0.0317)
OKLCHoklch(59.29% 0.11 343.3)
XYZxyz(26.1205, 19.3782, 28.3458)
Luminance0.1938 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB628F #62AB7E
analogous
#A262AB #AB628F #AB626A
triadic
#AB628F #8FAB62 #628FAB
tetradic
#AB628F #ABA262 #62AB7E #626AAB
square
#AB628F #ABA262 #62AB7E #626AAB
split-complementary
#AB628F #6AAB62 #62ABA2
monochromatic
#60334E #87486F #AB628F #C08AAB #D6B2C8

Accessibility & contrast

On white

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

On black

4.88
#AB628F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB628F
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB628F#FFFFFF#000000##000000
##AB628F1.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#677391
Deuteranopia (green-blind)
#797E8D
Tritanopia (blue-blind)
#B36272
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ab628f;
/* rgb */ color: rgb(171, 98, 143);
/* oklch */ color: oklch(59.3% 0.110 343.3);
Tailwind
colors: {
  custom: {
    50: '#c590af',
    500: '#ab628f',
    950: '#000000',
  },
}
SCSS
$custom: #ab628f;
$custom-light: #c590af;
$custom-dark: #000000;
JSON
{
  "hex": "#ab628f",
  "rgb": {
    "r": 171,
    "g": 98,
    "b": 143
  },
  "hsl": {
    "h": 323.014,
    "s": 30.29,
    "l": 52.745
  },
  "oklch": {
    "l": 0.59288,
    "c": 0.11019,
    "h": 343.3
  },
  "luminance": 0.19376
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB628F

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

Preview Lab → · Contrast checker → · Palette generator →

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