#AF628D#AF628D

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

Color values

HEX#AF628D
RGBrgb(175, 98, 141)
HSLhsl(326, 32%, 54%)
HSVhsv(326, 44%, 69%)
CMYKcmyk(0%, 44%, 19.4%, 31.4%)
CIE-LABlab(51.58, 36.80, -10.05)
CIE-LCHlch(51.58, 38.15, 344.72°)
OKLaboklab(59.72% 0.1095 -0.0264)
OKLCHoklch(59.72% 0.113 346.4)
XYZxyz(26.8551, 19.7743, 27.5965)
Luminance0.1977 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF628D #62AF84
analogous
#AA62AF #AF628D #AF6266
triadic
#AF628D #8DAF62 #628DAF
tetradic
#AF628D #AFAA62 #62AF84 #6266AF
square
#AF628D #AFAA62 #62AF84 #6266AF
split-complementary
#AF628D #66AF62 #62AFAA
monochromatic
#64334E #8C476E #AF628D #C48BAA #D8B3C8

Accessibility & contrast

On white

4.24
#AF628D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#AF628D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF628D
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF628D#FFFFFF#000000##000000
##AF628D1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#68738F
Deuteranopia (green-blind)
#7C808B
Tritanopia (blue-blind)
#B86172
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #af628d;
/* rgb */ color: rgb(175, 98, 141);
/* oklch */ color: oklch(59.7% 0.113 346.4);
Tailwind
colors: {
  custom: {
    50: '#c890ae',
    500: '#af628d',
    950: '#000000',
  },
}
SCSS
$custom: #af628d;
$custom-light: #c890ae;
$custom-dark: #000000;
JSON
{
  "hex": "#af628d",
  "rgb": {
    "r": 175,
    "g": 98,
    "b": 141
  },
  "hsl": {
    "h": 326.494,
    "s": 32.489,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59719,
    "c": 0.11267,
    "h": 346.4
  },
  "luminance": 0.19772
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF628D

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

Preview Lab → · Contrast checker → · Palette generator →

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