#AF6987#AF6987

#AF6987 is a mid, moderate pink. Relative luminance 0.210; OKLCH L 60.7% C 0.097 H 353.2°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#AF6987
RGBrgb(175, 105, 135)
HSLhsl(334, 30%, 55%)
HSVhsv(334, 40%, 69%)
CMYKcmyk(0%, 40%, 22.9%, 31.4%)
CIE-LABlab(52.91, 32.06, -4.52)
CIE-LCHlch(52.91, 32.38, 351.98°)
OKLaboklab(60.66% 0.0962 -0.0115)
OKLCHoklch(60.66% 0.097 353.2)
XYZxyz(27.1045, 20.9682, 25.5366)
Luminance0.2097 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF6987 #69AF91
analogous
#AF69AA #AF6987 #AF6E69
triadic
#AF6987 #87AF69 #6987AF
tetradic
#AF6987 #AAAF69 #69AF91 #6E69AF
square
#AF6987 #AAAF69 #69AF91 #6E69AF
split-complementary
#AF6987 #69AF6E #69AAAF
monochromatic
#67374B #8F4C69 #AF6987 #C491A7 #DAB9C7

Accessibility & contrast

On white

4.04
#AF6987 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#AF6987 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF6987
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF6987#FFFFFF#000000##000000
##AF69871.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#717788
Deuteranopia (green-blind)
#828385
Tritanopia (blue-blind)
#B96674
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #af6987;
/* rgb */ color: rgb(175, 105, 135);
/* oklch */ color: oklch(60.7% 0.097 353.2);
Tailwind
colors: {
  custom: {
    50: '#c895a9',
    500: '#af6987',
    950: '#000000',
  },
}
SCSS
$custom: #af6987;
$custom-light: #c895a9;
$custom-dark: #000000;
JSON
{
  "hex": "#af6987",
  "rgb": {
    "r": 175,
    "g": 105,
    "b": 135
  },
  "hsl": {
    "h": 334.286,
    "s": 30.435,
    "l": 54.902
  },
  "oklch": {
    "l": 0.60664,
    "c": 0.09687,
    "h": 353.2
  },
  "luminance": 0.20966
}

Semantic roles & 50–950 ramp

primary
#AF6987
secondary
#ABC9BC
accent
#C79B61
background
#FCF9FA
surface
#F8F2F4
border
#D1CCCE
text
#130D10
muted
#827E7F

Preview Lab

Preview with #AF6987

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

Preview Lab → · Contrast checker → · Palette generator →

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