#AF3397#AF3397

#AF3397 is a mid, vivid pink. Relative luminance 0.137; OKLCH L 54.1% C 0.192 H 336.8°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#AF3397
RGBrgb(175, 51, 151)
HSLhsl(312, 55%, 44%)
HSVhsv(312, 71%, 69%)
CMYKcmyk(0%, 70.9%, 13.7%, 31.4%)
CIE-LABlab(43.83, 60.12, -27.90)
CIE-LCHlch(43.83, 66.28, 335.10°)
OKLaboklab(54.11% 0.1767 -0.0759)
OKLCHoklch(54.11% 0.192 336.8)
XYZxyz(24.4493, 13.7182, 30.6324)
Luminance0.1372 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3397 #33AF4B
analogous
#8933AF #AF3397 #AF3359
triadic
#AF3397 #97AF33 #3397AF
tetradic
#AF3397 #AF8933 #33AF4B #3359AF
square
#AF3397 #AF8933 #33AF4B #3359AF
split-complementary
#AF3397 #59AF33 #33AF89
monochromatic
#501745 #80256E #AF3397 #CD52B5 #DB82C9

Accessibility & contrast

On white

5.61
#AF3397 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#AF3397 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3397
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3397#FFFFFF#000000##FFFFFF
##AF33971.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365C9A
Deuteranopia (green-blind)
#5F6E94
Tritanopia (blue-blind)
#B83A61
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #af3397;
/* rgb */ color: rgb(175, 51, 151);
/* oklch */ color: oklch(54.1% 0.192 336.8);
Tailwind
colors: {
  custom: {
    50: '#ca76b6',
    500: '#af3397',
    950: '#000000',
  },
}
SCSS
$custom: #af3397;
$custom-light: #ca76b6;
$custom-dark: #000000;
JSON
{
  "hex": "#af3397",
  "rgb": {
    "r": 175,
    "g": 51,
    "b": 151
  },
  "hsl": {
    "h": 311.613,
    "s": 54.867,
    "l": 44.314
  },
  "oklch": {
    "l": 0.5411,
    "c": 0.1923,
    "h": 336.8
  },
  "luminance": 0.13716
}

Semantic roles & 50–950 ramp

primary
#AF3397
secondary
#7AC488
accent
#DE664A
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AF3397

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

Preview Lab → · Contrast checker → · Palette generator →

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