#AF3886#AF3886

#AF3886 is a mid, vivid pink. Relative luminance 0.137; OKLCH L 53.8% C 0.175 H 344.3°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#AF3886
RGBrgb(175, 56, 134)
HSLhsl(321, 52%, 45%)
HSVhsv(321, 68%, 69%)
CMYKcmyk(0%, 68%, 23.4%, 31.4%)
CIE-LABlab(43.75, 55.82, -17.72)
CIE-LCHlch(43.75, 58.56, 342.39°)
OKLaboklab(53.81% 0.1682 -0.0472)
OKLCHoklch(53.81% 0.175 344.3)
XYZxyz(23.3973, 13.6659, 23.9552)
Luminance0.1366 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3886 #38AF61
analogous
#9C38AF #AF3886 #AF384B
triadic
#AF3886 #86AF38 #3886AF
tetradic
#AF3886 #AF9C38 #38AF61 #384BAF
square
#AF3886 #AF9C38 #38AF61 #384BAF
split-complementary
#AF3886 #4BAF38 #38AF9C
monochromatic
#521A3F #812962 #AF3886 #CA5AA4 #D988BD

Accessibility & contrast

On white

5.63
#AF3886 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#AF3886 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3886
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3886#FFFFFF#000000##FFFFFF
##AF38861.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445B88
Deuteranopia (green-blind)
#686F83
Tritanopia (blue-blind)
#BA375A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #af3886;
/* rgb */ color: rgb(175, 56, 134);
/* oklch */ color: oklch(53.8% 0.175 344.3);
Tailwind
colors: {
  custom: {
    50: '#ca78a9',
    500: '#af3886',
    950: '#000000',
  },
}
SCSS
$custom: #af3886;
$custom-light: #ca78a9;
$custom-dark: #000000;
JSON
{
  "hex": "#af3886",
  "rgb": {
    "r": 175,
    "g": 56,
    "b": 134
  },
  "hsl": {
    "h": 320.672,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.53811,
    "c": 0.17465,
    "h": 344.3
  },
  "luminance": 0.13664
}

Semantic roles & 50–950 ramp

primary
#AF3886
secondary
#80C397
accent
#DB7E4D
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AF3886

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

Preview Lab → · Contrast checker → · Palette generator →

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