#AF628B#AF628B

#AF628B is a mid, moderate pink. Relative luminance 0.197; OKLCH L 59.6% C 0.111 H 347.8°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#AF628B
RGBrgb(175, 98, 139)
HSLhsl(328, 32%, 54%)
HSVhsv(328, 44%, 69%)
CMYKcmyk(0%, 44%, 20.6%, 31.4%)
CIE-LABlab(51.51, 36.49, -8.97)
CIE-LCHlch(51.51, 37.57, 346.19°)
OKLaboklab(59.65% 0.1089 -0.0235)
OKLCHoklch(59.65% 0.111 347.8)
XYZxyz(26.7076, 19.7153, 26.8198)
Luminance0.1971 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF628B #62AF86
analogous
#AC62AF #AF628B #AF6264
triadic
#AF628B #8BAF62 #628BAF
tetradic
#AF628B #AFAC62 #62AF86 #6264AF
square
#AF628B #AFAC62 #62AF86 #6264AF
split-complementary
#AF628B #64AF62 #62AFAC
monochromatic
#64334D #8C476C #AF628B #C48BA9 #D8B3C7

Accessibility & contrast

On white

4.25
#AF628B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#AF628B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF628B
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF628B#FFFFFF#000000##000000
##AF628B1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#69738C
Deuteranopia (green-blind)
#7D8089
Tritanopia (blue-blind)
#B96071
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #af628b;
/* rgb */ color: rgb(175, 98, 139);
/* oklch */ color: oklch(59.6% 0.111 347.8);
Tailwind
colors: {
  custom: {
    50: '#c990ac',
    500: '#af628b',
    950: '#000000',
  },
}
SCSS
$custom: #af628b;
$custom-light: #c990ac;
$custom-dark: #000000;
JSON
{
  "hex": "#af628b",
  "rgb": {
    "r": 175,
    "g": 98,
    "b": 139
  },
  "hsl": {
    "h": 328.052,
    "s": 32.489,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59646,
    "c": 0.11138,
    "h": 347.8
  },
  "luminance": 0.19713
}

Semantic roles & 50–950 ramp

primary
#AF628B
secondary
#A6C7B5
accent
#C9905F
background
#FCF9FA
surface
#F8F1F4
border
#D1CBCE
text
#130D10
muted
#827E7F

Preview Lab

Preview with #AF628B

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

Preview Lab → · Contrast checker → · Palette generator →

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