#AF3196#AF3196

#AF3196 is a mid, vivid pink. Relative luminance 0.135; OKLCH L 53.9% C 0.194 H 337.1°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#AF3196
RGBrgb(175, 49, 150)
HSLhsl(312, 56%, 44%)
HSVhsv(312, 72%, 69%)
CMYKcmyk(0%, 72%, 14.3%, 31.4%)
CIE-LABlab(43.53, 60.68, -27.76)
CIE-LCHlch(43.53, 66.73, 335.41°)
OKLaboklab(53.88% 0.1787 -0.0755)
OKLCHoklch(53.88% 0.194 337.1)
XYZxyz(24.2830, 13.5148, 30.1780)
Luminance0.1351 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3196 #31AF4A
analogous
#8931AF #AF3196 #AF3157
triadic
#AF3196 #96AF31 #3196AF
tetradic
#AF3196 #AF8931 #31AF4A #3157AF
square
#AF3196 #AF8931 #31AF4A #3157AF
split-complementary
#AF3196 #57AF31 #31AF89
monochromatic
#4F1644 #7F246D #AF3196 #CE4FB5 #DB7FC9

Accessibility & contrast

On white

5.67
#AF3196 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#AF3196 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3196
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3196#FFFFFF#000000##FFFFFF
##AF31961.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355B99
Deuteranopia (green-blind)
#5F6E93
Tritanopia (blue-blind)
#B83860
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #af3196;
/* rgb */ color: rgb(175, 49, 150);
/* oklch */ color: oklch(53.9% 0.194 337.1);
Tailwind
colors: {
  custom: {
    50: '#cb75b5',
    500: '#af3196',
    950: '#000000',
  },
}
SCSS
$custom: #af3196;
$custom-light: #cb75b5;
$custom-dark: #000000;
JSON
{
  "hex": "#af3196",
  "rgb": {
    "r": 175,
    "g": 49,
    "b": 150
  },
  "hsl": {
    "h": 311.905,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.5388,
    "c": 0.19396,
    "h": 337.1
  },
  "luminance": 0.13513
}

Semantic roles & 50–950 ramp

primary
#AF3196
secondary
#78C487
accent
#E06648
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AF3196

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

Preview Lab → · Contrast checker → · Palette generator →

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