#AF3391#AF3391

#AF3391 is a mid, vivid pink. Relative luminance 0.135; OKLCH L 53.8% C 0.188 H 339.2°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#AF3391
RGBrgb(175, 51, 145)
HSLhsl(315, 55%, 44%)
HSVhsv(315, 71%, 69%)
CMYKcmyk(0%, 70.9%, 17.1%, 31.4%)
CIE-LABlab(43.55, 59.24, -24.71)
CIE-LCHlch(43.55, 64.19, 337.36°)
OKLaboklab(53.82% 0.1759 -0.0668)
OKLCHoklch(53.82% 0.188 339.2)
XYZxyz(23.9744, 13.5282, 28.1311)
Luminance0.1353 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3391 #33AF51
analogous
#8F33AF #AF3391 #AF3353
triadic
#AF3391 #91AF33 #3391AF
tetradic
#AF3391 #AF8F33 #33AF51 #3353AF
square
#AF3391 #AF8F33 #33AF51 #3353AF
split-complementary
#AF3391 #53AF33 #33AF8F
monochromatic
#501742 #80256A #AF3391 #CD52AF #DB82C5

Accessibility & contrast

On white

5.67
#AF3391 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#AF3391 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3391
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3391#FFFFFF#000000##FFFFFF
##AF33911.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5A94
Deuteranopia (green-blind)
#626E8E
Tritanopia (blue-blind)
#B9385E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #af3391;
/* rgb */ color: rgb(175, 51, 145);
/* oklch */ color: oklch(53.8% 0.188 339.2);
Tailwind
colors: {
  custom: {
    50: '#ca76b1',
    500: '#af3391',
    950: '#000000',
  },
}
SCSS
$custom: #af3391;
$custom-light: #ca76b1;
$custom-dark: #000000;
JSON
{
  "hex": "#af3391",
  "rgb": {
    "r": 175,
    "g": 51,
    "b": 145
  },
  "hsl": {
    "h": 314.516,
    "s": 54.867,
    "l": 44.314
  },
  "oklch": {
    "l": 0.53819,
    "c": 0.18815,
    "h": 339.2
  },
  "luminance": 0.13526
}

Semantic roles & 50–950 ramp

primary
#AF3391
secondary
#7AC48C
accent
#DE6E4A
background
#FCF7FA
surface
#F9EEF5
border
#D2C9CF
text
#140910
muted
#827B7F

Preview Lab

Preview with #AF3391

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

Preview Lab → · Contrast checker → · Palette generator →

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