#AF6D8A#AF6D8A

#AF6D8A is a mid, moderate pink. Relative luminance 0.219; OKLCH L 61.5% C 0.092 H 352.2°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#AF6D8A
RGBrgb(175, 109, 138)
HSLhsl(334, 29%, 56%)
HSVhsv(334, 38%, 69%)
CMYKcmyk(0%, 37.7%, 21.1%, 31.4%)
CIE-LABlab(53.91, 30.32, -4.81)
CIE-LCHlch(53.91, 30.70, 350.98°)
OKLaboklab(61.45% 0.0907 -0.0124)
OKLCHoklch(61.45% 0.092 352.2)
XYZxyz(27.7357, 21.8880, 26.8038)
Luminance0.2189 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF6D8A #6DAF92
analogous
#AF6DAB #AF6D8A #AF716D
triadic
#AF6D8A #8AAF6D #6D8AAF
tetradic
#AF6D8A #ABAF6D #6DAF92 #716DAF
square
#AF6D8A #ABAF6D #6DAF92 #716DAF
split-complementary
#AF6D8A #6DAF71 #6DABAF
monochromatic
#68394E #904F6B #AF6D8A #C595AA #DABCC9

Accessibility & contrast

On white

3.91
#AF6D8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#AF6D8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF6D8A
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF6D8A#FFFFFF#000000##000000
##AF6D8A1.003.915.385.38
#FFFFFF3.911.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#747A8B
Deuteranopia (green-blind)
#848588
Tritanopia (blue-blind)
#B86B77
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #af6d8a;
/* rgb */ color: rgb(175, 109, 138);
/* oklch */ color: oklch(61.5% 0.092 352.2);
Tailwind
colors: {
  custom: {
    50: '#c898ac',
    500: '#af6d8a',
    950: '#000000',
  },
}
SCSS
$custom: #af6d8a;
$custom-light: #c898ac;
$custom-dark: #000000;
JSON
{
  "hex": "#af6d8a",
  "rgb": {
    "r": 175,
    "g": 109,
    "b": 138
  },
  "hsl": {
    "h": 333.636,
    "s": 29.204,
    "l": 55.686
  },
  "oklch": {
    "l": 0.6145,
    "c": 0.09152,
    "h": 352.2
  },
  "luminance": 0.21886
}

Semantic roles & 50–950 ramp

primary
#AF6D8A
secondary
#AECABE
accent
#C59A62
background
#FCF9FA
surface
#F8F2F4
border
#D1CCCE
text
#130E10
muted
#827E7F

Preview Lab

Preview with #AF6D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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