#AF204A#AF204A

#AF204A is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.7% C 0.178 H 10.4°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#AF204A
RGBrgb(175, 32, 74)
HSLhsl(342, 69%, 41%)
HSVhsv(342, 82%, 69%)
CMYKcmyk(0%, 81.7%, 57.7%, 31.4%)
CIE-LABlab(38.97, 57.60, 12.77)
CIE-LCHlch(38.97, 59.00, 12.50°)
OKLaboklab(49.67% 0.1746 0.032)
OKLCHoklch(49.67% 0.178 10.4)
XYZxyz(19.4337, 10.6443, 7.5085)
Luminance0.1064 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF204A #20AF85
analogous
#AF2091 #AF204A #AF3E20
triadic
#AF204A #4AAF20 #204AAF
tetradic
#AF204A #91AF20 #20AF85 #3E20AF
square
#AF204A #91AF20 #20AF85 #3E20AF
split-complementary
#AF204A #20AF3E #2091AF
monochromatic
#480D1E #7B1734 #AF204A #DA3364 #E3668B

Accessibility & contrast

On white

6.71
#AF204A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#AF204A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF204A
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF204A#FFFFFF#000000##FFFFFF
##AF204A1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49494B
Deuteranopia (green-blind)
#6D6646
Tritanopia (blue-blind)
#C00033
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #af204a;
/* rgb */ color: rgb(175, 32, 74);
/* oklch */ color: oklch(49.7% 0.178 10.4);
Tailwind
colors: {
  custom: {
    50: '#ce6c7c',
    500: '#af204a',
    950: '#000000',
  },
}
SCSS
$custom: #af204a;
$custom-light: #ce6c7c;
$custom-dark: #000000;
JSON
{
  "hex": "#af204a",
  "rgb": {
    "r": 175,
    "g": 32,
    "b": 74
  },
  "hsl": {
    "h": 342.378,
    "s": 69.082,
    "l": 40.588
  },
  "oklch": {
    "l": 0.49674,
    "c": 0.17753,
    "h": 10.4
  },
  "luminance": 0.10641
}

Semantic roles & 50–950 ramp

primary
#AF204A
secondary
#62C8AA
accent
#ECB83C
background
#FDF6F7
surface
#FBECEE
border
#D4C7C9
text
#150809
muted
#837A7B

Preview Lab

Preview with #AF204A

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

Preview Lab → · Contrast checker → · Palette generator →

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