#AF3983#AF3983

#AF3983 is a mid, vivid pink. Relative luminance 0.137; OKLCH L 53.8% C 0.171 H 345.8°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#AF3983
RGBrgb(175, 57, 131)
HSLhsl(322, 51%, 45%)
HSVhsv(322, 67%, 69%)
CMYKcmyk(0%, 67.4%, 25.1%, 31.4%)
CIE-LABlab(43.77, 55.02, -15.86)
CIE-LCHlch(43.77, 57.26, 343.92°)
OKLaboklab(53.79% 0.1663 -0.042)
OKLCHoklch(53.79% 0.171 345.8)
XYZxyz(23.2400, 13.6813, 22.8852)
Luminance0.1368 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3983 #39AF65
analogous
#A039AF #AF3983 #AF3948
triadic
#AF3983 #83AF39 #3983AF
tetradic
#AF3983 #AFA039 #39AF65 #3948AF
square
#AF3983 #AFA039 #39AF65 #3948AF
split-complementary
#AF3983 #48AF39 #39AFA0
monochromatic
#531B3E #812A60 #AF3983 #CA5BA1 #D98ABB

Accessibility & contrast

On white

5.62
#AF3983 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#AF3983 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3983
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3983#FFFFFF#000000##FFFFFF
##AF39831.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465B85
Deuteranopia (green-blind)
#696F80
Tritanopia (blue-blind)
#BB3759
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #af3983;
/* rgb */ color: rgb(175, 57, 131);
/* oklch */ color: oklch(53.8% 0.171 345.8);
Tailwind
colors: {
  custom: {
    50: '#ca78a7',
    500: '#af3983',
    950: '#000000',
  },
}
SCSS
$custom: #af3983;
$custom-light: #ca78a7;
$custom-dark: #000000;
JSON
{
  "hex": "#af3983",
  "rgb": {
    "r": 175,
    "g": 57,
    "b": 131
  },
  "hsl": {
    "h": 322.373,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53788,
    "c": 0.17149,
    "h": 345.8
  },
  "luminance": 0.13679
}

Semantic roles & 50–950 ramp

primary
#AF3983
secondary
#81C399
accent
#DA824D
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AF3983

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

Preview Lab → · Contrast checker → · Palette generator →

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