#AF6DA2#AF6DA2

#AF6DA2 is a light, moderate pink. Relative luminance 0.227; OKLCH L 62.3% C 0.109 H 334.3°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#AF6DA2
RGBrgb(175, 109, 162)
HSLhsl(312, 29%, 56%)
HSVhsv(312, 38%, 69%)
CMYKcmyk(0%, 37.7%, 7.4%, 31.4%)
CIE-LABlab(54.72, 34.34, -17.61)
CIE-LCHlch(54.72, 38.59, 332.85°)
OKLaboklab(62.34% 0.0984 -0.0474)
OKLCHoklch(62.34% 0.109 334.3)
XYZxyz(29.6692, 22.6614, 36.9867)
Luminance0.2266 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF6DA2 #6DAF7A
analogous
#9B6DAF #AF6DA2 #AF6D81
triadic
#AF6DA2 #A2AF6D #6DA2AF
tetradic
#AF6DA2 #AF9B6D #6DAF7A #6D81AF
square
#AF6DA2 #AF9B6D #6DAF7A #6D81AF
split-complementary
#AF6DA2 #81AF6D #6DAF9B
monochromatic
#68395F #904F83 #AF6DA2 #C595BB #DABCD4

Accessibility & contrast

On white

3.80
#AF6DA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#AF6DA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF6DA2
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF6DA2#FFFFFF#000000##000000
##AF6DA21.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D7DA4
Deuteranopia (green-blind)
#7D86A0
Tritanopia (blue-blind)
#B57080
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #af6da2;
/* rgb */ color: rgb(175, 109, 162);
/* oklch */ color: oklch(62.3% 0.109 334.3);
Tailwind
colors: {
  custom: {
    50: '#c898bd',
    500: '#af6da2',
    950: '#000000',
  },
}
SCSS
$custom: #af6da2;
$custom-light: #c898bd;
$custom-dark: #000000;
JSON
{
  "hex": "#af6da2",
  "rgb": {
    "r": 175,
    "g": 109,
    "b": 162
  },
  "hsl": {
    "h": 311.818,
    "s": 29.204,
    "l": 55.686
  },
  "oklch": {
    "l": 0.62336,
    "c": 0.10918,
    "h": 334.3
  },
  "luminance": 0.2266
}

Semantic roles & 50–950 ramp

primary
#AF6DA2
secondary
#AECAB4
accent
#C57662
background
#FCF9FB
surface
#F8F2F6
border
#D1CCD0
text
#130E12
muted
#827E81

Preview Lab

Preview with #AF6DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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