#AF3D96#AF3D96

#AF3D96 is a mid, vivid pink. Relative luminance 0.147; OKLCH L 55.1% C 0.179 H 337.5°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#AF3D96
RGBrgb(175, 61, 150)
HSLhsl(313, 48%, 46%)
HSVhsv(313, 65%, 69%)
CMYKcmyk(0%, 65.1%, 14.3%, 31.4%)
CIE-LABlab(45.16, 56.12, -25.23)
CIE-LCHlch(45.16, 61.53, 335.79°)
OKLaboklab(55.07% 0.1651 -0.0683)
OKLCHoklch(55.07% 0.179 337.5)
XYZxyz(24.8534, 14.6556, 30.3681)
Luminance0.1465 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3D96 #3DAF56
analogous
#8F3DAF #AF3D96 #AF3D5D
triadic
#AF3D96 #96AF3D #3D96AF
tetradic
#AF3D96 #AF8F3D #3DAF56 #3D5DAF
square
#AF3D96 #AF8F3D #3DAF56 #3D5DAF
split-complementary
#AF3D96 #5DAF3D #3DAF8F
monochromatic
#541D48 #822D6F #AF3D96 #C861B1 #D88FC8

Accessibility & contrast

On white

5.34
#AF3D96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#AF3D96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3D96
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3D96#FFFFFF#000000##FFFFFF
##AF3D961.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#406099
Deuteranopia (green-blind)
#647193
Tritanopia (blue-blind)
#B84264
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #af3d96;
/* rgb */ color: rgb(175, 61, 150);
/* oklch */ color: oklch(55.1% 0.179 337.5);
Tailwind
colors: {
  custom: {
    50: '#ca7bb5',
    500: '#af3d96',
    950: '#000000',
  },
}
SCSS
$custom: #af3d96;
$custom-light: #ca7bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#af3d96",
  "rgb": {
    "r": 175,
    "g": 61,
    "b": 150
  },
  "hsl": {
    "h": 313.158,
    "s": 48.305,
    "l": 46.275
  },
  "oklch": {
    "l": 0.55065,
    "c": 0.17867,
    "h": 337.5
  },
  "luminance": 0.14653
}

Semantic roles & 50–950 ramp

primary
#AF3D96
secondary
#85C393
accent
#D86E50
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140A11
muted
#827C80

Preview Lab

Preview with #AF3D96

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

Preview Lab → · Contrast checker → · Palette generator →

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