#AF3187#AF3187

#AF3187 is a mid, vivid pink. Relative luminance 0.131; OKLCH L 53.2% C 0.184 H 343.4°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#AF3187
RGBrgb(175, 49, 135)
HSLhsl(319, 56%, 44%)
HSVhsv(319, 72%, 69%)
CMYKcmyk(0%, 72%, 22.9%, 31.4%)
CIE-LABlab(42.86, 58.57, -19.70)
CIE-LCHlch(42.86, 61.79, 341.41°)
OKLaboklab(53.17% 0.1764 -0.0527)
OKLCHoklch(53.17% 0.184 343.4)
XYZxyz(23.1515, 13.0622, 24.2190)
Luminance0.1306 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3187 #31AF59
analogous
#9831AF #AF3187 #AF3148
triadic
#AF3187 #87AF31 #3187AF
tetradic
#AF3187 #AF9831 #31AF59 #3148AF
square
#AF3187 #AF9831 #31AF59 #3148AF
split-complementary
#AF3187 #48AF31 #31AF98
monochromatic
#4F163D #7F2462 #AF3187 #CE4FA6 #DB7FBE

Accessibility & contrast

On white

5.81
#AF3187 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#AF3187 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3187
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3187#FFFFFF#000000##FFFFFF
##AF31871.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5889
Deuteranopia (green-blind)
#646D84
Tritanopia (blue-blind)
#BA3158
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #af3187;
/* rgb */ color: rgb(175, 49, 135);
/* oklch */ color: oklch(53.2% 0.184 343.4);
Tailwind
colors: {
  custom: {
    50: '#cb74aa',
    500: '#af3187',
    950: '#000000',
  },
}
SCSS
$custom: #af3187;
$custom-light: #cb74aa;
$custom-dark: #000000;
JSON
{
  "hex": "#af3187",
  "rgb": {
    "r": 175,
    "g": 49,
    "b": 135
  },
  "hsl": {
    "h": 319.048,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.53173,
    "c": 0.18405,
    "h": 343.4
  },
  "luminance": 0.1306
}

Semantic roles & 50–950 ramp

primary
#AF3187
secondary
#78C490
accent
#E07848
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AF3187

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

Preview Lab → · Contrast checker → · Palette generator →

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