#AF3188#AF3188

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

Color values

HEX#AF3188
RGBrgb(175, 49, 136)
HSLhsl(319, 56%, 44%)
HSVhsv(319, 72%, 69%)
CMYKcmyk(0%, 72%, 22.3%, 31.4%)
CIE-LABlab(42.90, 58.70, -20.25)
CIE-LCHlch(42.90, 62.10, 340.97°)
OKLaboklab(53.22% 0.1766 -0.0542)
OKLCHoklch(53.22% 0.185 342.9)
XYZxyz(23.2222, 13.0905, 24.5915)
Luminance0.1309 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3188 #31AF58
analogous
#9731AF #AF3188 #AF3149
triadic
#AF3188 #88AF31 #3188AF
tetradic
#AF3188 #AF9731 #31AF58 #3149AF
square
#AF3188 #AF9731 #31AF58 #3149AF
split-complementary
#AF3188 #49AF31 #31AF97
monochromatic
#4F163E #7F2463 #AF3188 #CE4FA7 #DB7FBF

Accessibility & contrast

On white

5.80
#AF3188 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#AF3188 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3188
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3188#FFFFFF#000000##FFFFFF
##AF31881.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D588A
Deuteranopia (green-blind)
#646D85
Tritanopia (blue-blind)
#BA3258
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #af3188;
/* rgb */ color: rgb(175, 49, 136);
/* oklch */ color: oklch(53.2% 0.185 342.9);
Tailwind
colors: {
  custom: {
    50: '#cb74ab',
    500: '#af3188',
    950: '#000000',
  },
}
SCSS
$custom: #af3188;
$custom-light: #cb74ab;
$custom-dark: #000000;
JSON
{
  "hex": "#af3188",
  "rgb": {
    "r": 175,
    "g": 49,
    "b": 136
  },
  "hsl": {
    "h": 318.571,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.53218,
    "c": 0.18468,
    "h": 342.9
  },
  "luminance": 0.13088
}

Semantic roles & 50–950 ramp

primary
#AF3188
secondary
#78C48F
accent
#E07748
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AF3188

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

Preview Lab → · Contrast checker → · Palette generator →

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