#AF628F#AF628F

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

Color values

HEX#AF628F
RGBrgb(175, 98, 143)
HSLhsl(325, 32%, 54%)
HSVhsv(325, 44%, 69%)
CMYKcmyk(0%, 44%, 18.3%, 31.4%)
CIE-LABlab(51.65, 37.11, -11.13)
CIE-LCHlch(51.65, 38.75, 343.31°)
OKLaboklab(59.79% 0.1102 -0.0294)
OKLCHoklch(59.79% 0.114 345.1)
XYZxyz(27.0052, 19.8343, 28.3873)
Luminance0.1983 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF628F #62AF82
analogous
#A862AF #AF628F #AF6268
triadic
#AF628F #8FAF62 #628FAF
tetradic
#AF628F #AFA862 #62AF82 #6268AF
square
#AF628F #AFA862 #62AF82 #6268AF
split-complementary
#AF628F #68AF62 #62AFA8
monochromatic
#64334F #8C4770 #AF628F #C48BAC #D8B3C9

Accessibility & contrast

On white

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

On black

4.97
#AF628F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF628F
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF628F#FFFFFF#000000##000000
##AF628F1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#687391
Deuteranopia (green-blind)
#7C808D
Tritanopia (blue-blind)
#B86173
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #af628f;
/* rgb */ color: rgb(175, 98, 143);
/* oklch */ color: oklch(59.8% 0.114 345.1);
Tailwind
colors: {
  custom: {
    50: '#c890af',
    500: '#af628f',
    950: '#000000',
  },
}
SCSS
$custom: #af628f;
$custom-light: #c890af;
$custom-dark: #000000;
JSON
{
  "hex": "#af628f",
  "rgb": {
    "r": 175,
    "g": 98,
    "b": 143
  },
  "hsl": {
    "h": 324.935,
    "s": 32.489,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59793,
    "c": 0.11401,
    "h": 345.1
  },
  "luminance": 0.19832
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF628F

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

Preview Lab → · Contrast checker → · Palette generator →

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