#AF6C8A#AF6C8A

#AF6C8A is a mid, moderate pink. Relative luminance 0.217; OKLCH L 61.3% C 0.093 H 351.8°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#AF6C8A
RGBrgb(175, 108, 138)
HSLhsl(333, 30%, 55%)
HSVhsv(333, 38%, 69%)
CMYKcmyk(0%, 38.3%, 21.1%, 31.4%)
CIE-LABlab(53.68, 30.87, -5.15)
CIE-LCHlch(53.68, 31.30, 350.53°)
OKLaboklab(61.28% 0.0923 -0.0132)
OKLCHoklch(61.28% 0.093 351.8)
XYZxyz(27.6297, 21.6758, 26.7684)
Luminance0.2167 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF6C8A #6CAF91
analogous
#AF6CAB #AF6C8A #AF6F6C
triadic
#AF6C8A #8AAF6C #6C8AAF
tetradic
#AF6C8A #ABAF6C #6CAF91 #6F6CAF
square
#AF6C8A #ABAF6C #6CAF91 #6F6CAF
split-complementary
#AF6C8A #6CAF6F #6CABAF
monochromatic
#68394E #904E6B #AF6C8A #C594AA #DABBC9

Accessibility & contrast

On white

3.94
#AF6C8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#AF6C8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF6C8A
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF6C8A#FFFFFF#000000##000000
##AF6C8A1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#73798B
Deuteranopia (green-blind)
#838588
Tritanopia (blue-blind)
#B86A77
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #af6c8a;
/* rgb */ color: rgb(175, 108, 138);
/* oklch */ color: oklch(61.3% 0.093 351.8);
Tailwind
colors: {
  custom: {
    50: '#c897ac',
    500: '#af6c8a',
    950: '#000000',
  },
}
SCSS
$custom: #af6c8a;
$custom-light: #c897ac;
$custom-dark: #000000;
JSON
{
  "hex": "#af6c8a",
  "rgb": {
    "r": 175,
    "g": 108,
    "b": 138
  },
  "hsl": {
    "h": 333.134,
    "s": 29.515,
    "l": 55.49
  },
  "oklch": {
    "l": 0.61278,
    "c": 0.09327,
    "h": 351.8
  },
  "luminance": 0.21674
}

Semantic roles & 50–950 ramp

primary
#AF6C8A
secondary
#ADC9BD
accent
#C69962
background
#FCF9FA
surface
#F8F2F4
border
#D1CCCE
text
#130D10
muted
#827E7F

Preview Lab

Preview with #AF6C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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