#AF3189#AF3189

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

Color values

HEX#AF3189
RGBrgb(175, 49, 137)
HSLhsl(318, 56%, 44%)
HSVhsv(318, 72%, 69%)
CMYKcmyk(0%, 72%, 21.7%, 31.4%)
CIE-LABlab(42.94, 58.84, -20.79)
CIE-LCHlch(42.94, 62.40, 340.54°)
OKLaboklab(53.26% 0.1767 -0.0557)
OKLCHoklch(53.26% 0.185 342.5)
XYZxyz(23.2936, 13.1191, 24.9675)
Luminance0.1312 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3189 #31AF57
analogous
#9631AF #AF3189 #AF314A
triadic
#AF3189 #89AF31 #3189AF
tetradic
#AF3189 #AF9631 #31AF57 #314AAF
square
#AF3189 #AF9631 #31AF57 #314AAF
split-complementary
#AF3189 #4AAF31 #31AF96
monochromatic
#4F163E #7F2464 #AF3189 #CE4FA8 #DB7FBF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF3189#FFFFFF#000000##FFFFFF
##AF31891.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)
#3D588B
Deuteranopia (green-blind)
#646D86
Tritanopia (blue-blind)
#BA3259
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #af3189;
/* rgb */ color: rgb(175, 49, 137);
/* oklch */ color: oklch(53.3% 0.185 342.5);
Tailwind
colors: {
  custom: {
    50: '#cb74ab',
    500: '#af3189',
    950: '#000000',
  },
}
SCSS
$custom: #af3189;
$custom-light: #cb74ab;
$custom-dark: #000000;
JSON
{
  "hex": "#af3189",
  "rgb": {
    "r": 175,
    "g": 49,
    "b": 137
  },
  "hsl": {
    "h": 318.095,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.53263,
    "c": 0.18531,
    "h": 342.5
  },
  "luminance": 0.13117
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF3189

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

Preview Lab → · Contrast checker → · Palette generator →

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