#AF6FA2#AF6FA2

#AF6FA2 is a light, moderate pink. Relative luminance 0.231; OKLCH L 62.7% C 0.106 H 334.5°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#AF6FA2
RGBrgb(175, 111, 162)
HSLhsl(312, 29%, 56%)
HSVhsv(312, 37%, 69%)
CMYKcmyk(0%, 36.6%, 7.4%, 31.4%)
CIE-LABlab(55.17, 33.24, -16.94)
CIE-LCHlch(55.17, 37.30, 333.00°)
OKLaboklab(62.67% 0.0952 -0.0455)
OKLCHoklch(62.67% 0.106 334.5)
XYZxyz(29.8850, 23.0929, 37.0586)
Luminance0.2309 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF6FA2 #6FAF7C
analogous
#9C6FAF #AF6FA2 #AF6F82
triadic
#AF6FA2 #A2AF6F #6FA2AF
tetradic
#AF6FA2 #AF9C6F #6FAF7C #6F82AF
square
#AF6FA2 #AF9C6F #6FAF7C #6F82AF
split-complementary
#AF6FA2 #82AF6F #6FAF9C
monochromatic
#693A60 #915083 #AF6FA2 #C596BB #DBBED5

Accessibility & contrast

On white

3.74
#AF6FA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#AF6FA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF6FA2
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF6FA2#FFFFFF#000000##000000
##AF6FA21.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F7EA4
Deuteranopia (green-blind)
#7F87A0
Tritanopia (blue-blind)
#B57282
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #af6fa2;
/* rgb */ color: rgb(175, 111, 162);
/* oklch */ color: oklch(62.7% 0.106 334.5);
Tailwind
colors: {
  custom: {
    50: '#c899bd',
    500: '#af6fa2',
    950: '#000000',
  },
}
SCSS
$custom: #af6fa2;
$custom-light: #c899bd;
$custom-dark: #000000;
JSON
{
  "hex": "#af6fa2",
  "rgb": {
    "r": 175,
    "g": 111,
    "b": 162
  },
  "hsl": {
    "h": 312.188,
    "s": 28.571,
    "l": 56.078
  },
  "oklch": {
    "l": 0.62673,
    "c": 0.10553,
    "h": 334.5
  },
  "luminance": 0.23091
}

Semantic roles & 50–950 ramp

primary
#AF6FA2
secondary
#B0CAB5
accent
#C57763
background
#FCF9FB
surface
#F8F2F6
border
#D1CCD0
text
#130E12
muted
#827E81

Preview Lab

Preview with #AF6FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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