#AF6CA2#AF6CA2

#AF6CA2 is a light, moderate pink. Relative luminance 0.224; OKLCH L 62.2% C 0.111 H 334.2°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#AF6CA2
RGBrgb(175, 108, 162)
HSLhsl(312, 30%, 55%)
HSVhsv(312, 38%, 69%)
CMYKcmyk(0%, 38.3%, 7.4%, 31.4%)
CIE-LABlab(54.50, 34.89, -17.95)
CIE-LCHlch(54.50, 39.24, 332.77°)
OKLaboklab(62.17% 0.1 -0.0483)
OKLCHoklch(62.17% 0.111 334.2)
XYZxyz(29.5631, 22.4492, 36.9514)
Luminance0.2245 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF6CA2 #6CAF79
analogous
#9A6CAF #AF6CA2 #AF6C80
triadic
#AF6CA2 #A2AF6C #6CA2AF
tetradic
#AF6CA2 #AF9A6C #6CAF79 #6C80AF
square
#AF6CA2 #AF9A6C #6CAF79 #6C80AF
split-complementary
#AF6CA2 #80AF6C #6CAF9A
monochromatic
#68395F #904E83 #AF6CA2 #C594BB #DABBD4

Accessibility & contrast

On white

3.83
#AF6CA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#AF6CA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF6CA2
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF6CA2#FFFFFF#000000##000000
##AF6CA21.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C7CA4
Deuteranopia (green-blind)
#7D86A0
Tritanopia (blue-blind)
#B56F80
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #af6ca2;
/* rgb */ color: rgb(175, 108, 162);
/* oklch */ color: oklch(62.2% 0.111 334.2);
Tailwind
colors: {
  custom: {
    50: '#c897bd',
    500: '#af6ca2',
    950: '#000000',
  },
}
SCSS
$custom: #af6ca2;
$custom-light: #c897bd;
$custom-dark: #000000;
JSON
{
  "hex": "#af6ca2",
  "rgb": {
    "r": 175,
    "g": 108,
    "b": 162
  },
  "hsl": {
    "h": 311.642,
    "s": 29.515,
    "l": 55.49
  },
  "oklch": {
    "l": 0.62168,
    "c": 0.11101,
    "h": 334.2
  },
  "luminance": 0.22448
}

Semantic roles & 50–950 ramp

primary
#AF6CA2
secondary
#ADC9B3
accent
#C67562
background
#FCF9FB
surface
#F8F2F6
border
#D1CCD0
text
#130E12
muted
#827E81

Preview Lab

Preview with #AF6CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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