#AF208D#AF208D

#AF208D is a mid, highly saturated pink. Relative luminance 0.121; OKLCH L 52.2% C 0.205 H 340.2°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#AF208D
RGBrgb(175, 32, 141)
HSLhsl(314, 69%, 41%)
HSVhsv(314, 82%, 69%)
CMYKcmyk(0%, 81.7%, 19.4%, 31.4%)
CIE-LABlab(41.33, 64.48, -25.73)
CIE-LCHlch(41.33, 69.42, 338.25°)
OKLaboklab(52.16% 0.1929 -0.0695)
OKLCHoklch(52.16% 0.205 340.2)
XYZxyz(23.0041, 12.0725, 26.3129)
Luminance0.1207 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF208D #20AF42
analogous
#8920AF #AF208D #AF2045
triadic
#AF208D #8DAF20 #208DAF
tetradic
#AF208D #AF8920 #20AF42 #2045AF
square
#AF208D #AF8920 #20AF42 #2045AF
split-complementary
#AF208D #45AF20 #20AF89
monochromatic
#480D3A #7B1763 #AF208D #DA33B2 #E366C5

Accessibility & contrast

On white

6.15
#AF208D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#AF208D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF208D
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF208D#FFFFFF#000000##FFFFFF
##AF208D1.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5390
Deuteranopia (green-blind)
#5D698A
Tritanopia (blue-blind)
#BA2656
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #af208d;
/* rgb */ color: rgb(175, 32, 141);
/* oklch */ color: oklch(52.2% 0.205 340.2);
Tailwind
colors: {
  custom: {
    50: '#cb6eae',
    500: '#af208d',
    950: '#000000',
  },
}
SCSS
$custom: #af208d;
$custom-light: #cb6eae;
$custom-dark: #000000;
JSON
{
  "hex": "#af208d",
  "rgb": {
    "r": 175,
    "g": 32,
    "b": 141
  },
  "hsl": {
    "h": 314.266,
    "s": 69.082,
    "l": 40.588
  },
  "oklch": {
    "l": 0.52156,
    "c": 0.20506,
    "h": 340.2
  },
  "luminance": 0.1207
}

Semantic roles & 50–950 ramp

primary
#AF208D
secondary
#62C87B
accent
#EC663C
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140810
muted
#837B7F

Preview Lab

Preview with #AF208D

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

Preview Lab → · Contrast checker → · Palette generator →

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