#AF627A#AF627A

#AF627A is a mid, moderate pink. Relative luminance 0.193; OKLCH L 59.1% C 0.103 H 0.8°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#AF627A
RGBrgb(175, 98, 122)
HSLhsl(341, 32%, 54%)
HSVhsv(341, 44%, 69%)
CMYKcmyk(0%, 44%, 30.3%, 31.4%)
CIE-LABlab(50.99, 34.00, 0.35)
CIE-LCHlch(50.99, 34.01, 0.58°)
OKLaboklab(59.07% 0.103 0.0014)
OKLCHoklch(59.07% 0.103 0.8)
XYZxyz(25.5606, 19.2565, 20.7792)
Luminance0.1925 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF627A #62AF97
analogous
#AF62A0 #AF627A #AF7062
triadic
#AF627A #7AAF62 #627AAF
tetradic
#AF627A #A0AF62 #62AF97 #7062AF
square
#AF627A #A0AF62 #62AF97 #7062AF
split-complementary
#AF627A #62AF70 #62A0AF
monochromatic
#643342 #8C475D #AF627A #C48B9C #D8B3BF

Accessibility & contrast

On white

4.33
#AF627A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#AF627A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF627A
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF627A#FFFFFF#000000##000000
##AF627A1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D717B
Deuteranopia (green-blind)
#817F78
Tritanopia (blue-blind)
#BB5D6B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #af627a;
/* rgb */ color: rgb(175, 98, 122);
/* oklch */ color: oklch(59.1% 0.103 0.8);
Tailwind
colors: {
  custom: {
    50: '#c990a0',
    500: '#af627a',
    950: '#000000',
  },
}
SCSS
$custom: #af627a;
$custom-light: #c990a0;
$custom-dark: #000000;
JSON
{
  "hex": "#af627a",
  "rgb": {
    "r": 175,
    "g": 98,
    "b": 122
  },
  "hsl": {
    "h": 341.299,
    "s": 32.489,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59073,
    "c": 0.10298,
    "h": 0.8
  },
  "luminance": 0.19254
}

Semantic roles & 50–950 ramp

primary
#AF627A
secondary
#A6C7BD
accent
#C9A85F
background
#FCF8F9
surface
#F9F0F2
border
#D2CBCC
text
#130D0E
muted
#827D7E

Preview Lab

Preview with #AF627A

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

Preview Lab → · Contrast checker → · Palette generator →

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