#AF208E#AF208E

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

Color values

HEX#AF208E
RGBrgb(175, 32, 142)
HSLhsl(314, 69%, 41%)
HSVhsv(314, 82%, 69%)
CMYKcmyk(0%, 81.7%, 18.9%, 31.4%)
CIE-LABlab(41.38, 64.61, -26.27)
CIE-LCHlch(41.38, 69.75, 337.88°)
OKLaboklab(52.21% 0.193 -0.0711)
OKLCHoklch(52.21% 0.206 339.8)
XYZxyz(23.0789, 12.1024, 26.7065)
Luminance0.1210 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF208E #20AF41
analogous
#8820AF #AF208E #AF2047
triadic
#AF208E #8EAF20 #208EAF
tetradic
#AF208E #AF8820 #20AF41 #2047AF
square
#AF208E #AF8820 #20AF41 #2047AF
split-complementary
#AF208E #47AF20 #20AF88
monochromatic
#480D3A #7B1764 #AF208E #DA33B3 #E366C6

Accessibility & contrast

On white

6.14
#AF208E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#AF208E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF208E
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF208E#FFFFFF#000000##FFFFFF
##AF208E1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5391
Deuteranopia (green-blind)
#5C698B
Tritanopia (blue-blind)
#BA2657
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #af208e;
/* rgb */ color: rgb(175, 32, 142);
/* oklch */ color: oklch(52.2% 0.206 339.8);
Tailwind
colors: {
  custom: {
    50: '#cb6eaf',
    500: '#af208e',
    950: '#000000',
  },
}
SCSS
$custom: #af208e;
$custom-light: #cb6eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#af208e",
  "rgb": {
    "r": 175,
    "g": 32,
    "b": 142
  },
  "hsl": {
    "h": 313.846,
    "s": 69.082,
    "l": 40.588
  },
  "oklch": {
    "l": 0.52206,
    "c": 0.20569,
    "h": 339.8
  },
  "luminance": 0.121
}

Semantic roles & 50–950 ramp

primary
#AF208E
secondary
#62C87A
accent
#EC653C
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140810
muted
#837B7F

Preview Lab

Preview with #AF208E

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

Preview Lab → · Contrast checker → · Palette generator →

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