#AF3296#AF3296

#AF3296 is a mid, vivid pink. Relative luminance 0.136; OKLCH L 54.0% C 0.193 H 337.1°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#AF3296
RGBrgb(175, 50, 150)
HSLhsl(312, 56%, 44%)
HSVhsv(312, 71%, 69%)
CMYKcmyk(0%, 71.4%, 14.3%, 31.4%)
CIE-LABlab(43.65, 60.33, -27.57)
CIE-LCHlch(43.65, 66.33, 335.44°)
OKLaboklab(53.97% 0.1776 -0.0749)
OKLCHoklch(53.97% 0.193 337.1)
XYZxyz(24.3253, 13.5994, 30.1921)
Luminance0.1360 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3296 #32AF4B
analogous
#8A32AF #AF3296 #AF3258
triadic
#AF3296 #96AF32 #3296AF
tetradic
#AF3296 #AF8A32 #32AF4B #3258AF
square
#AF3296 #AF8A32 #32AF4B #3258AF
split-complementary
#AF3296 #58AF32 #32AF8A
monochromatic
#501744 #7F246D #AF3296 #CD51B4 #DB81C9

Accessibility & contrast

On white

5.65
#AF3296 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#AF3296 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3296
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3296#FFFFFF#000000##FFFFFF
##AF32961.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af3296;
/* rgb */ color: rgb(175, 50, 150);
/* oklch */ color: oklch(54.0% 0.193 337.1);
Tailwind
colors: {
  custom: {
    50: '#ca75b5',
    500: '#af3296',
    950: '#000000',
  },
}
SCSS
$custom: #af3296;
$custom-light: #ca75b5;
$custom-dark: #000000;
JSON
{
  "hex": "#af3296",
  "rgb": {
    "r": 175,
    "g": 50,
    "b": 150
  },
  "hsl": {
    "h": 312,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.5397,
    "c": 0.19278,
    "h": 337.1
  },
  "luminance": 0.13597
}

Semantic roles & 50–950 ramp

primary
#AF3296
secondary
#79C488
accent
#DF6749
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AF3296

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

Preview Lab → · Contrast checker → · Palette generator →

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