#AF208F#AF208F

#AF208F is a mid, highly saturated pink. Relative luminance 0.121; OKLCH L 52.3% C 0.206 H 339.4°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#AF208F
RGBrgb(175, 32, 143)
HSLhsl(313, 69%, 41%)
HSVhsv(313, 82%, 69%)
CMYKcmyk(0%, 81.7%, 18.3%, 31.4%)
CIE-LABlab(41.43, 64.75, -26.80)
CIE-LCHlch(41.43, 70.08, 337.51°)
OKLaboklab(52.26% 0.1931 -0.0726)
OKLCHoklch(52.26% 0.206 339.4)
XYZxyz(23.1543, 12.1325, 27.1037)
Luminance0.1213 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF208F #20AF40
analogous
#8820AF #AF208F #AF2047
triadic
#AF208F #8FAF20 #208FAF
tetradic
#AF208F #AF8820 #20AF40 #2047AF
square
#AF208F #AF8820 #20AF40 #2047AF
split-complementary
#AF208F #47AF20 #20AF88
monochromatic
#480D3A #7B1765 #AF208F #DA33B4 #E366C7

Accessibility & contrast

On white

6.13
#AF208F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#AF208F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF208F
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF208F#FFFFFF#000000##FFFFFF
##AF208F1.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5492
Deuteranopia (green-blind)
#5C6A8C
Tritanopia (blue-blind)
#B92757
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #af208f;
/* rgb */ color: rgb(175, 32, 143);
/* oklch */ color: oklch(52.3% 0.206 339.4);
Tailwind
colors: {
  custom: {
    50: '#cb6eb0',
    500: '#af208f',
    950: '#000000',
  },
}
SCSS
$custom: #af208f;
$custom-light: #cb6eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#af208f",
  "rgb": {
    "r": 175,
    "g": 32,
    "b": 143
  },
  "hsl": {
    "h": 313.427,
    "s": 69.082,
    "l": 40.588
  },
  "oklch": {
    "l": 0.52255,
    "c": 0.20632,
    "h": 339.4
  },
  "luminance": 0.1213
}

Semantic roles & 50–950 ramp

primary
#AF208F
secondary
#62C879
accent
#EC633C
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140810
muted
#837B7F

Preview Lab

Preview with #AF208F

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

Preview Lab → · Contrast checker → · Palette generator →

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