#AF3497#AF3497

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

Color values

HEX#AF3497
RGBrgb(175, 52, 151)
HSLhsl(312, 54%, 45%)
HSVhsv(312, 70%, 69%)
CMYKcmyk(0%, 70.3%, 13.7%, 31.4%)
CIE-LABlab(43.95, 59.76, -27.70)
CIE-LCHlch(43.95, 65.87, 335.13°)
OKLaboklab(54.2% 0.1756 -0.0753)
OKLCHoklch(54.2% 0.191 336.8)
XYZxyz(24.4935, 13.8065, 30.6471)
Luminance0.1380 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3497 #34AF4C
analogous
#8934AF #AF3497 #AF345A
triadic
#AF3497 #97AF34 #3497AF
tetradic
#AF3497 #AF8934 #34AF4C #345AAF
square
#AF3497 #AF8934 #34AF4C #345AAF
split-complementary
#AF3497 #5AAF34 #34AF89
monochromatic
#511846 #80266E #AF3497 #CC54B5 #DA83C9

Accessibility & contrast

On white

5.58
#AF3497 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#AF3497 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3497
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3497#FFFFFF#000000##FFFFFF
##AF34971.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375C9A
Deuteranopia (green-blind)
#606F94
Tritanopia (blue-blind)
#B83B61
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #af3497;
/* rgb */ color: rgb(175, 52, 151);
/* oklch */ color: oklch(54.2% 0.191 336.8);
Tailwind
colors: {
  custom: {
    50: '#ca76b6',
    500: '#af3497',
    950: '#000000',
  },
}
SCSS
$custom: #af3497;
$custom-light: #ca76b6;
$custom-dark: #000000;
JSON
{
  "hex": "#af3497",
  "rgb": {
    "r": 175,
    "g": 52,
    "b": 151
  },
  "hsl": {
    "h": 311.707,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.54203,
    "c": 0.19109,
    "h": 336.8
  },
  "luminance": 0.13804
}

Semantic roles & 50–950 ramp

primary
#AF3497
secondary
#7BC489
accent
#DE674A
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AF3497

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

Preview Lab → · Contrast checker → · Palette generator →

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