#AF6EA2#AF6EA2

#AF6EA2 is a light, moderate pink. Relative luminance 0.229; OKLCH L 62.5% C 0.107 H 334.4°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#AF6EA2
RGBrgb(175, 110, 162)
HSLhsl(312, 29%, 56%)
HSVhsv(312, 37%, 69%)
CMYKcmyk(0%, 37.1%, 7.4%, 31.4%)
CIE-LABlab(54.94, 33.79, -17.28)
CIE-LCHlch(54.94, 37.95, 332.92°)
OKLaboklab(62.5% 0.0968 -0.0464)
OKLCHoklch(62.5% 0.107 334.4)
XYZxyz(29.7765, 22.8759, 37.0225)
Luminance0.2287 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF6EA2 #6EAF7B
analogous
#9B6EAF #AF6EA2 #AF6E81
triadic
#AF6EA2 #A2AF6E #6EA2AF
tetradic
#AF6EA2 #AF9B6E #6EAF7B #6E81AF
square
#AF6EA2 #AF9B6E #6EAF7B #6E81AF
split-complementary
#AF6EA2 #81AF6E #6EAF9B
monochromatic
#693A5F #905083 #AF6EA2 #C595BB #DBBDD5

Accessibility & contrast

On white

3.77
#AF6EA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#AF6EA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF6EA2
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF6EA2#FFFFFF#000000##000000
##AF6EA21.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E7EA4
Deuteranopia (green-blind)
#7E87A0
Tritanopia (blue-blind)
#B57181
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #af6ea2;
/* rgb */ color: rgb(175, 110, 162);
/* oklch */ color: oklch(62.5% 0.107 334.4);
Tailwind
colors: {
  custom: {
    50: '#c899bd',
    500: '#af6ea2',
    950: '#000000',
  },
}
SCSS
$custom: #af6ea2;
$custom-light: #c899bd;
$custom-dark: #000000;
JSON
{
  "hex": "#af6ea2",
  "rgb": {
    "r": 175,
    "g": 110,
    "b": 162
  },
  "hsl": {
    "h": 312,
    "s": 28.889,
    "l": 55.882
  },
  "oklch": {
    "l": 0.62504,
    "c": 0.10736,
    "h": 334.4
  },
  "luminance": 0.22874
}

Semantic roles & 50–950 ramp

primary
#AF6EA2
secondary
#AFCAB4
accent
#C57663
background
#FCF9FB
surface
#F8F2F6
border
#D1CCD0
text
#130E12
muted
#827E81

Preview Lab

Preview with #AF6EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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