#AF3B96#AF3B96

#AF3B96 is a mid, vivid pink. Relative luminance 0.144; OKLCH L 54.9% C 0.181 H 337.4°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#AF3B96
RGBrgb(175, 59, 150)
HSLhsl(313, 50%, 46%)
HSVhsv(313, 66%, 69%)
CMYKcmyk(0%, 66.3%, 14.3%, 31.4%)
CIE-LABlab(44.87, 56.93, -25.68)
CIE-LCHlch(44.87, 62.45, 335.72°)
OKLaboklab(54.85% 0.1675 -0.0696)
OKLCHoklch(54.85% 0.181 337.4)
XYZxyz(24.7486, 14.4461, 30.3332)
Luminance0.1444 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3B96 #3BAF54
analogous
#8E3BAF #AF3B96 #AF3B5C
triadic
#AF3B96 #96AF3B #3B96AF
tetradic
#AF3B96 #AF8E3B #3BAF54 #3B5CAF
square
#AF3B96 #AF8E3B #3BAF54 #3B5CAF
split-complementary
#AF3B96 #5CAF3B #3BAF8E
monochromatic
#531C48 #812C6F #AF3B96 #C95EB2 #D88CC8

Accessibility & contrast

On white

5.40
#AF3B96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#AF3B96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3B96
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3B96#FFFFFF#000000##FFFFFF
##AF3B961.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5F99
Deuteranopia (green-blind)
#637193
Tritanopia (blue-blind)
#B84163
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #af3b96;
/* rgb */ color: rgb(175, 59, 150);
/* oklch */ color: oklch(54.9% 0.181 337.4);
Tailwind
colors: {
  custom: {
    50: '#ca7ab5',
    500: '#af3b96',
    950: '#000000',
  },
}
SCSS
$custom: #af3b96;
$custom-light: #ca7ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#af3b96",
  "rgb": {
    "r": 175,
    "g": 59,
    "b": 150
  },
  "hsl": {
    "h": 312.931,
    "s": 49.573,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54851,
    "c": 0.18139,
    "h": 337.4
  },
  "luminance": 0.14444
}

Semantic roles & 50–950 ramp

primary
#AF3B96
secondary
#83C391
accent
#D96D4F
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140A11
muted
#827C80

Preview Lab

Preview with #AF3B96

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

Preview Lab → · Contrast checker → · Palette generator →

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