#AF2083#AF2083

#AF2083 is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.7% C 0.199 H 344.2°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#AF2083
RGBrgb(175, 32, 131)
HSLhsl(318, 69%, 41%)
HSVhsv(318, 82%, 69%)
CMYKcmyk(0%, 81.7%, 25.1%, 31.4%)
CIE-LABlab(40.88, 63.19, -20.30)
CIE-LCHlch(40.88, 66.37, 342.19°)
OKLaboklab(51.68% 0.1915 -0.0542)
OKLCHoklch(51.68% 0.199 344.2)
XYZxyz(22.2934, 11.7882, 22.5696)
Luminance0.1179 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2083 #20AF4C
analogous
#9420AF #AF2083 #AF203B
triadic
#AF2083 #83AF20 #2083AF
tetradic
#AF2083 #AF9420 #20AF4C #203BAF
square
#AF2083 #AF9420 #20AF4C #203BAF
split-complementary
#AF2083 #3BAF20 #20AF94
monochromatic
#480D36 #7B175C #AF2083 #DA33A6 #E366BD

Accessibility & contrast

On white

6.26
#AF2083 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#AF2083 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2083
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2083#FFFFFF#000000##FFFFFF
##AF20831.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345185
Deuteranopia (green-blind)
#606980
Tritanopia (blue-blind)
#BB1E50
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af2083;
/* rgb */ color: rgb(175, 32, 131);
/* oklch */ color: oklch(51.7% 0.199 344.2);
Tailwind
colors: {
  custom: {
    50: '#cb6ea7',
    500: '#af2083',
    950: '#000000',
  },
}
SCSS
$custom: #af2083;
$custom-light: #cb6ea7;
$custom-dark: #000000;
JSON
{
  "hex": "#af2083",
  "rgb": {
    "r": 175,
    "g": 32,
    "b": 131
  },
  "hsl": {
    "h": 318.462,
    "s": 69.082,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51682,
    "c": 0.19903,
    "h": 344.2
  },
  "luminance": 0.11786
}

Semantic roles & 50–950 ramp

primary
#AF2083
secondary
#62C882
accent
#EC723C
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14080F
muted
#837B7F

Preview Lab

Preview with #AF2083

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

Preview Lab → · Contrast checker → · Palette generator →

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