#AF3183#AF3183

#AF3183 is a mid, vivid pink. Relative luminance 0.129; OKLCH L 53.0% C 0.182 H 345.1°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#AF3183
RGBrgb(175, 49, 131)
HSLhsl(321, 56%, 44%)
HSVhsv(321, 72%, 69%)
CMYKcmyk(0%, 72%, 25.1%, 31.4%)
CIE-LABlab(42.69, 58.04, -17.51)
CIE-LCHlch(42.69, 60.62, 343.21°)
OKLaboklab(53% 0.1756 -0.0465)
OKLCHoklch(53% 0.182 345.1)
XYZxyz(22.8752, 12.9517, 22.7636)
Luminance0.1295 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3183 #31AF5D
analogous
#9C31AF #AF3183 #AF3144
triadic
#AF3183 #83AF31 #3183AF
tetradic
#AF3183 #AF9C31 #31AF5D #3144AF
square
#AF3183 #AF9C31 #31AF5D #3144AF
split-complementary
#AF3183 #44AF31 #31AF9C
monochromatic
#4F163B #7F245F #AF3183 #CE4FA2 #DB7FBB

Accessibility & contrast

On white

5.85
#AF3183 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#AF3183 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3183
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3183#FFFFFF#000000##FFFFFF
##AF31831.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405785
Deuteranopia (green-blind)
#666D80
Tritanopia (blue-blind)
#BB2F56
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #af3183;
/* rgb */ color: rgb(175, 49, 131);
/* oklch */ color: oklch(53.0% 0.182 345.1);
Tailwind
colors: {
  custom: {
    50: '#cb74a7',
    500: '#af3183',
    950: '#000000',
  },
}
SCSS
$custom: #af3183;
$custom-light: #cb74a7;
$custom-dark: #000000;
JSON
{
  "hex": "#af3183",
  "rgb": {
    "r": 175,
    "g": 49,
    "b": 131
  },
  "hsl": {
    "h": 320.952,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52997,
    "c": 0.18163,
    "h": 345.1
  },
  "luminance": 0.12949
}

Semantic roles & 50–950 ramp

primary
#AF3183
secondary
#78C492
accent
#E07D48
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AF3183

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

Preview Lab → · Contrast checker → · Palette generator →

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