#AF628E#AF628E

#AF628E is a mid, moderate pink. Relative luminance 0.198; OKLCH L 59.8% C 0.113 H 345.8°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#AF628E
RGBrgb(175, 98, 142)
HSLhsl(326, 32%, 54%)
HSVhsv(326, 44%, 69%)
CMYKcmyk(0%, 44%, 18.9%, 31.4%)
CIE-LABlab(51.62, 36.95, -10.59)
CIE-LCHlch(51.62, 38.44, 344.01°)
OKLaboklab(59.76% 0.1098 -0.0279)
OKLCHoklch(59.76% 0.113 345.8)
XYZxyz(26.9298, 19.8042, 27.9901)
Luminance0.1980 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF628E #62AF83
analogous
#A962AF #AF628E #AF6267
triadic
#AF628E #8EAF62 #628EAF
tetradic
#AF628E #AFA962 #62AF83 #6267AF
square
#AF628E #AFA962 #62AF83 #6267AF
split-complementary
#AF628E #67AF62 #62AFA9
monochromatic
#64334F #8C476F #AF628E #C48BAB #D8B3C8

Accessibility & contrast

On white

4.23
#AF628E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#AF628E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF628E
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF628E#FFFFFF#000000##000000
##AF628E1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#687390
Deuteranopia (green-blind)
#7C808C
Tritanopia (blue-blind)
#B86172
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #af628e;
/* rgb */ color: rgb(175, 98, 142);
/* oklch */ color: oklch(59.8% 0.113 345.8);
Tailwind
colors: {
  custom: {
    50: '#c890af',
    500: '#af628e',
    950: '#000000',
  },
}
SCSS
$custom: #af628e;
$custom-light: #c890af;
$custom-dark: #000000;
JSON
{
  "hex": "#af628e",
  "rgb": {
    "r": 175,
    "g": 98,
    "b": 142
  },
  "hsl": {
    "h": 325.714,
    "s": 32.489,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59756,
    "c": 0.11333,
    "h": 345.8
  },
  "luminance": 0.19802
}

Semantic roles & 50–950 ramp

primary
#AF628E
secondary
#A6C7B4
accent
#C98C5F
background
#FCF9FA
surface
#F8F1F4
border
#D1CBCE
text
#130D10
muted
#827E7F

Preview Lab

Preview with #AF628E

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

Preview Lab → · Contrast checker → · Palette generator →

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