#AF204B#AF204B

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

Color values

HEX#AF204B
RGBrgb(175, 32, 75)
HSLhsl(342, 69%, 41%)
HSVhsv(342, 82%, 69%)
CMYKcmyk(0%, 81.7%, 57.1%, 31.4%)
CIE-LABlab(39.00, 57.67, 12.16)
CIE-LCHlch(39.00, 58.94, 11.91°)
OKLaboklab(49.7% 0.175 0.0306)
OKLCHoklch(49.7% 0.178 9.9)
XYZxyz(19.4677, 10.6579, 7.6873)
Luminance0.1066 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF204B #20AF84
analogous
#AF2092 #AF204B #AF3C20
triadic
#AF204B #4BAF20 #204BAF
tetradic
#AF204B #92AF20 #20AF84 #3C20AF
square
#AF204B #92AF20 #20AF84 #3C20AF
split-complementary
#AF204B #20AF3C #2092AF
monochromatic
#480D1F #7B1735 #AF204B #DA3365 #E3668C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF204B#FFFFFF#000000##FFFFFF
##AF204B1.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)
#49494C
Deuteranopia (green-blind)
#6D6647
Tritanopia (blue-blind)
#C00033
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #af204b;
/* rgb */ color: rgb(175, 32, 75);
/* oklch */ color: oklch(49.7% 0.178 9.9);
Tailwind
colors: {
  custom: {
    50: '#ce6c7c',
    500: '#af204b',
    950: '#000000',
  },
}
SCSS
$custom: #af204b;
$custom-light: #ce6c7c;
$custom-dark: #000000;
JSON
{
  "hex": "#af204b",
  "rgb": {
    "r": 175,
    "g": 32,
    "b": 75
  },
  "hsl": {
    "h": 341.958,
    "s": 69.082,
    "l": 40.588
  },
  "oklch": {
    "l": 0.49698,
    "c": 0.17766,
    "h": 9.9
  },
  "luminance": 0.10655
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF204B

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

Preview Lab → · Contrast checker → · Palette generator →

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