#AF3496#AF3496

#AF3496 is a mid, vivid pink. Relative luminance 0.138; OKLCH L 54.2% C 0.190 H 337.2°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#AF3496
RGBrgb(175, 52, 150)
HSLhsl(312, 54%, 45%)
HSVhsv(312, 70%, 69%)
CMYKcmyk(0%, 70.3%, 14.3%, 31.4%)
CIE-LABlab(43.91, 59.61, -27.17)
CIE-LCHlch(43.91, 65.51, 335.49°)
OKLaboklab(54.15% 0.1755 -0.0738)
OKLCHoklch(54.15% 0.19 337.2)
XYZxyz(24.4126, 13.7741, 30.2212)
Luminance0.1377 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3496 #34AF4D
analogous
#8B34AF #AF3496 #AF3459
triadic
#AF3496 #96AF34 #3496AF
tetradic
#AF3496 #AF8B34 #34AF4D #3459AF
square
#AF3496 #AF8B34 #34AF4D #3459AF
split-complementary
#AF3496 #59AF34 #34AF8B
monochromatic
#511845 #80266E #AF3496 #CC54B4 #DA83C9

Accessibility & contrast

On white

5.59
#AF3496 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#AF3496 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3496
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3496#FFFFFF#000000##FFFFFF
##AF34961.005.593.755.59
#FFFFFF5.591.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385C99
Deuteranopia (green-blind)
#606F93
Tritanopia (blue-blind)
#B83B61
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #af3496;
/* rgb */ color: rgb(175, 52, 150);
/* oklch */ color: oklch(54.2% 0.190 337.2);
Tailwind
colors: {
  custom: {
    50: '#ca76b5',
    500: '#af3496',
    950: '#000000',
  },
}
SCSS
$custom: #af3496;
$custom-light: #ca76b5;
$custom-dark: #000000;
JSON
{
  "hex": "#af3496",
  "rgb": {
    "r": 175,
    "g": 52,
    "b": 150
  },
  "hsl": {
    "h": 312.195,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.54154,
    "c": 0.19038,
    "h": 337.2
  },
  "luminance": 0.13772
}

Semantic roles & 50–950 ramp

primary
#AF3496
secondary
#7BC48A
accent
#DE684A
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AF3496

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

Preview Lab → · Contrast checker → · Palette generator →

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