#AF3985#AF3985

#AF3985 is a mid, vivid pink. Relative luminance 0.137; OKLCH L 53.9% C 0.173 H 344.9°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#AF3985
RGBrgb(175, 57, 133)
HSLhsl(321, 51%, 45%)
HSVhsv(321, 67%, 69%)
CMYKcmyk(0%, 67.4%, 24%, 31.4%)
CIE-LABlab(43.85, 55.29, -16.96)
CIE-LCHlch(43.85, 57.83, 342.95°)
OKLaboklab(53.87% 0.1667 -0.0451)
OKLCHoklch(53.87% 0.173 344.9)
XYZxyz(23.3768, 13.7360, 23.6059)
Luminance0.1373 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3985 #39AF63
analogous
#9E39AF #AF3985 #AF394A
triadic
#AF3985 #85AF39 #3985AF
tetradic
#AF3985 #AF9E39 #39AF63 #394AAF
square
#AF3985 #AF9E39 #39AF63 #394AAF
split-complementary
#AF3985 #4AAF39 #39AF9E
monochromatic
#531B3F #812A62 #AF3985 #CA5BA2 #D98ABD

Accessibility & contrast

On white

5.60
#AF3985 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#AF3985 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3985
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3985#FFFFFF#000000##FFFFFF
##AF39851.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455B87
Deuteranopia (green-blind)
#686F82
Tritanopia (blue-blind)
#BA385A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #af3985;
/* rgb */ color: rgb(175, 57, 133);
/* oklch */ color: oklch(53.9% 0.173 344.9);
Tailwind
colors: {
  custom: {
    50: '#ca78a8',
    500: '#af3985',
    950: '#000000',
  },
}
SCSS
$custom: #af3985;
$custom-light: #ca78a8;
$custom-dark: #000000;
JSON
{
  "hex": "#af3985",
  "rgb": {
    "r": 175,
    "g": 57,
    "b": 133
  },
  "hsl": {
    "h": 321.356,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53873,
    "c": 0.17269,
    "h": 344.9
  },
  "luminance": 0.13734
}

Semantic roles & 50–950 ramp

primary
#AF3985
secondary
#81C398
accent
#DA804D
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AF3985

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

Preview Lab → · Contrast checker → · Palette generator →

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