#AF3896#AF3896

#AF3896 is a mid, vivid pink. Relative luminance 0.141; OKLCH L 54.5% C 0.185 H 337.3°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#AF3896
RGBrgb(175, 56, 150)
HSLhsl(313, 52%, 45%)
HSVhsv(313, 68%, 69%)
CMYKcmyk(0%, 68%, 14.3%, 31.4%)
CIE-LABlab(44.44, 58.11, -26.34)
CIE-LCHlch(44.44, 63.80, 335.62°)
OKLaboklab(54.54% 0.171 -0.0715)
OKLCHoklch(54.54% 0.185 337.3)
XYZxyz(24.5988, 14.1465, 30.2833)
Luminance0.1414 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3896 #38AF51
analogous
#8C38AF #AF3896 #AF385A
triadic
#AF3896 #96AF38 #3896AF
tetradic
#AF3896 #AF8C38 #38AF51 #385AAF
square
#AF3896 #AF8C38 #38AF51 #385AAF
split-complementary
#AF3896 #5AAF38 #38AF8C
monochromatic
#521A47 #81296E #AF3896 #CA5AB3 #D988C8

Accessibility & contrast

On white

5.48
#AF3896 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#AF3896 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3896
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3896#FFFFFF#000000##FFFFFF
##AF38961.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5D99
Deuteranopia (green-blind)
#627093
Tritanopia (blue-blind)
#B83E62
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #af3896;
/* rgb */ color: rgb(175, 56, 150);
/* oklch */ color: oklch(54.5% 0.185 337.3);
Tailwind
colors: {
  custom: {
    50: '#ca78b5',
    500: '#af3896',
    950: '#000000',
  },
}
SCSS
$custom: #af3896;
$custom-light: #ca78b5;
$custom-dark: #000000;
JSON
{
  "hex": "#af3896",
  "rgb": {
    "r": 175,
    "g": 56,
    "b": 150
  },
  "hsl": {
    "h": 312.605,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.54543,
    "c": 0.18535,
    "h": 337.3
  },
  "luminance": 0.14144
}

Semantic roles & 50–950 ramp

primary
#AF3896
secondary
#80C38E
accent
#DB6B4D
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140A11
muted
#827C80

Preview Lab

Preview with #AF3896

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

Preview Lab → · Contrast checker → · Palette generator →

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