#AF3988#AF3988

#AF3988 is a mid, vivid pink. Relative luminance 0.138; OKLCH L 54.0% C 0.175 H 343.5°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#AF3988
RGBrgb(175, 57, 136)
HSLhsl(320, 51%, 45%)
HSVhsv(320, 67%, 69%)
CMYKcmyk(0%, 67.4%, 22.3%, 31.4%)
CIE-LABlab(43.97, 55.70, -18.59)
CIE-LCHlch(43.97, 58.72, 341.54°)
OKLaboklab(54% 0.1674 -0.0496)
OKLCHoklch(54% 0.175 343.5)
XYZxyz(23.5870, 13.8201, 24.7131)
Luminance0.1382 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3988 #39AF60
analogous
#9B39AF #AF3988 #AF394D
triadic
#AF3988 #88AF39 #3988AF
tetradic
#AF3988 #AF9B39 #39AF60 #394DAF
square
#AF3988 #AF9B39 #39AF60 #394DAF
split-complementary
#AF3988 #4DAF39 #39AF9B
monochromatic
#531B40 #812A64 #AF3988 #CA5BA5 #D98ABF

Accessibility & contrast

On white

5.58
#AF3988 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#AF3988 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3988
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3988#FFFFFF#000000##FFFFFF
##AF39881.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445B8A
Deuteranopia (green-blind)
#676F85
Tritanopia (blue-blind)
#BA395B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #af3988;
/* rgb */ color: rgb(175, 57, 136);
/* oklch */ color: oklch(54.0% 0.175 343.5);
Tailwind
colors: {
  custom: {
    50: '#ca78aa',
    500: '#af3988',
    950: '#000000',
  },
}
SCSS
$custom: #af3988;
$custom-light: #ca78aa;
$custom-dark: #000000;
JSON
{
  "hex": "#af3988",
  "rgb": {
    "r": 175,
    "g": 57,
    "b": 136
  },
  "hsl": {
    "h": 319.831,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.54002,
    "c": 0.17457,
    "h": 343.5
  },
  "luminance": 0.13818
}

Semantic roles & 50–950 ramp

primary
#AF3988
secondary
#81C397
accent
#DA7C4D
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A10
muted
#827C7F

Preview Lab

Preview with #AF3988

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

Preview Lab → · Contrast checker → · Palette generator →

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