#AF3D99#AF3D99

#AF3D99 is a mid, vivid pink. Relative luminance 0.148; OKLCH L 55.2% C 0.181 H 336.2°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#AF3D99
RGBrgb(175, 61, 153)
HSLhsl(312, 48%, 46%)
HSVhsv(312, 65%, 69%)
CMYKcmyk(0%, 65.1%, 12.6%, 31.4%)
CIE-LABlab(45.29, 56.58, -26.81)
CIE-LCHlch(45.29, 62.61, 334.64°)
OKLaboklab(55.21% 0.1655 -0.0729)
OKLCHoklch(55.21% 0.181 336.2)
XYZxyz(25.0980, 14.7535, 31.6567)
Luminance0.1475 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3D99 #3DAF53
analogous
#8C3DAF #AF3D99 #AF3D60
triadic
#AF3D99 #99AF3D #3D99AF
tetradic
#AF3D99 #AF8C3D #3DAF53 #3D60AF
square
#AF3D99 #AF8C3D #3DAF53 #3D60AF
split-complementary
#AF3D99 #60AF3D #3DAF8C
monochromatic
#541D4A #822D71 #AF3D99 #C861B4 #D88FCA

Accessibility & contrast

On white

5.32
#AF3D99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#AF3D99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3D99
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3D99#FFFFFF#000000##FFFFFF
##AF3D991.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F609C
Deuteranopia (green-blind)
#637196
Tritanopia (blue-blind)
#B84365
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #af3d99;
/* rgb */ color: rgb(175, 61, 153);
/* oklch */ color: oklch(55.2% 0.181 336.2);
Tailwind
colors: {
  custom: {
    50: '#ca7bb7',
    500: '#af3d99',
    950: '#000000',
  },
}
SCSS
$custom: #af3d99;
$custom-light: #ca7bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#af3d99",
  "rgb": {
    "r": 175,
    "g": 61,
    "b": 153
  },
  "hsl": {
    "h": 311.579,
    "s": 48.305,
    "l": 46.275
  },
  "oklch": {
    "l": 0.55208,
    "c": 0.18086,
    "h": 336.2
  },
  "luminance": 0.14751
}

Semantic roles & 50–950 ramp

primary
#AF3D99
secondary
#85C391
accent
#D86A50
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140A11
muted
#827C80

Preview Lab

Preview with #AF3D99

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

Preview Lab → · Contrast checker → · Palette generator →

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