#AF204C#AF204C

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

Color values

HEX#AF204C
RGBrgb(175, 32, 76)
HSLhsl(342, 69%, 41%)
HSVhsv(342, 82%, 69%)
CMYKcmyk(0%, 81.7%, 56.6%, 31.4%)
CIE-LABlab(39.02, 57.74, 11.56)
CIE-LCHlch(39.02, 58.89, 11.32°)
OKLaboklab(49.72% 0.1754 0.0292)
OKLCHoklch(49.72% 0.178 9.4)
XYZxyz(19.5021, 10.6717, 7.8690)
Luminance0.1067 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF204C #20AF83
analogous
#AF2094 #AF204C #AF3B20
triadic
#AF204C #4CAF20 #204CAF
tetradic
#AF204C #94AF20 #20AF83 #3B20AF
square
#AF204C #94AF20 #20AF83 #3B20AF
split-complementary
#AF204C #20AF3B #2094AF
monochromatic
#480D1F #7B1736 #AF204C #DA3366 #E3668D

Accessibility & contrast

On white

6.70
#AF204C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF204C
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF204C#FFFFFF#000000##FFFFFF
##AF204C1.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484A4D
Deuteranopia (green-blind)
#6D6648
Tritanopia (blue-blind)
#C00034
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #af204c;
/* rgb */ color: rgb(175, 32, 76);
/* oklch */ color: oklch(49.7% 0.178 9.4);
Tailwind
colors: {
  custom: {
    50: '#ce6c7d',
    500: '#af204c',
    950: '#000000',
  },
}
SCSS
$custom: #af204c;
$custom-light: #ce6c7d;
$custom-dark: #000000;
JSON
{
  "hex": "#af204c",
  "rgb": {
    "r": 175,
    "g": 32,
    "b": 76
  },
  "hsl": {
    "h": 341.538,
    "s": 69.082,
    "l": 40.588
  },
  "oklch": {
    "l": 0.49724,
    "c": 0.17781,
    "h": 9.4
  },
  "luminance": 0.10669
}

Semantic roles & 50–950 ramp

primary
#AF204C
secondary
#62C8A9
accent
#ECB63C
background
#FDF6F7
surface
#FBECEE
border
#D4C7C9
text
#150809
muted
#837A7B

Preview Lab

Preview with #AF204C

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

Preview Lab → · Contrast checker → · Palette generator →

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