#AF3E87#AF3E87

#AF3E87 is a mid, vivid pink. Relative luminance 0.143; OKLCH L 54.5% C 0.167 H 344.4°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#AF3E87
RGBrgb(175, 62, 135)
HSLhsl(321, 48%, 46%)
HSVhsv(321, 65%, 69%)
CMYKcmyk(0%, 64.6%, 22.9%, 31.4%)
CIE-LABlab(44.68, 53.51, -16.91)
CIE-LCHlch(44.68, 56.12, 342.46°)
OKLaboklab(54.5% 0.1609 -0.045)
OKLCHoklch(54.5% 0.167 344.4)
XYZxyz(23.7758, 14.3108, 24.4271)
Luminance0.1431 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3E87 #3EAF66
analogous
#9F3EAF #AF3E87 #AF3E4F
triadic
#AF3E87 #87AF3E #3E87AF
tetradic
#AF3E87 #AF9F3E #3EAF66 #3E4FAF
square
#AF3E87 #AF9F3E #3EAF66 #3E4FAF
split-complementary
#AF3E87 #4FAF3E #3EAF9F
monochromatic
#551E41 #822E64 #AF3E87 #C863A4 #D890BE

Accessibility & contrast

On white

5.44
#AF3E87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#AF3E87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3E87
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3E87#FFFFFF#000000##FFFFFF
##AF3E871.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495E89
Deuteranopia (green-blind)
#6A7184
Tritanopia (blue-blind)
#BA3D5D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #af3e87;
/* rgb */ color: rgb(175, 62, 135);
/* oklch */ color: oklch(54.5% 0.167 344.4);
Tailwind
colors: {
  custom: {
    50: '#ca7baa',
    500: '#af3e87',
    950: '#000000',
  },
}
SCSS
$custom: #af3e87;
$custom-light: #ca7baa;
$custom-dark: #000000;
JSON
{
  "hex": "#af3e87",
  "rgb": {
    "r": 175,
    "g": 62,
    "b": 135
  },
  "hsl": {
    "h": 321.239,
    "s": 47.679,
    "l": 46.471
  },
  "oklch": {
    "l": 0.54503,
    "c": 0.16706,
    "h": 344.4
  },
  "luminance": 0.14308
}

Semantic roles & 50–950 ramp

primary
#AF3E87
secondary
#86C39C
accent
#D78051
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A10
muted
#827C7F

Preview Lab

Preview with #AF3E87

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

Preview Lab → · Contrast checker → · Palette generator →

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