#AF3371#AF3371

#AF3371 is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.5% C 0.170 H 353.9°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#AF3371
RGBrgb(175, 51, 113)
HSLhsl(330, 55%, 44%)
HSVhsv(330, 71%, 69%)
CMYKcmyk(0%, 70.9%, 35.4%, 31.4%)
CIE-LABlab(42.27, 55.10, -7.05)
CIE-LCHlch(42.27, 55.55, 352.71°)
OKLaboklab(52.47% 0.1687 -0.0179)
OKLCHoklch(52.47% 0.17 353.9)
XYZxyz(21.8450, 12.6764, 16.9160)
Luminance0.1267 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3371 #33AF71
analogous
#AF33AF #AF3371 #AF3333
triadic
#AF3371 #71AF33 #3371AF
tetradic
#AF3371 #AFAF33 #33AF71 #3333AF
square
#AF3371 #AFAF33 #33AF71 #3333AF
split-complementary
#AF3371 #33AF33 #33AFAF
monochromatic
#501734 #802552 #AF3371 #CD5290 #DB82AE

Accessibility & contrast

On white

5.94
#AF3371 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#AF3371 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3371
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3371#FFFFFF#000000##FFFFFF
##AF33711.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495573
Deuteranopia (green-blind)
#6B6C6E
Tritanopia (blue-blind)
#BD284D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #af3371;
/* rgb */ color: rgb(175, 51, 113);
/* oklch */ color: oklch(52.5% 0.170 353.9);
Tailwind
colors: {
  custom: {
    50: '#cb7599',
    500: '#af3371',
    950: '#000000',
  },
}
SCSS
$custom: #af3371;
$custom-light: #cb7599;
$custom-dark: #000000;
JSON
{
  "hex": "#af3371",
  "rgb": {
    "r": 175,
    "g": 51,
    "b": 113
  },
  "hsl": {
    "h": 330,
    "s": 54.867,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52468,
    "c": 0.16967,
    "h": 353.9
  },
  "luminance": 0.12674
}

Semantic roles & 50–950 ramp

primary
#AF3371
secondary
#7AC49F
accent
#DE944A
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #AF3371

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

Preview Lab → · Contrast checker → · Palette generator →

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