#AF2C99#AF2C99

#AF2C99 is a mid, highly saturated pink. Relative luminance 0.132; OKLCH L 53.6% C 0.202 H 335.8°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#AF2C99
RGBrgb(175, 44, 153)
HSLhsl(310, 60%, 43%)
HSVhsv(310, 75%, 69%)
CMYKcmyk(0%, 74.9%, 12.6%, 31.4%)
CIE-LABlab(43.09, 62.78, -30.26)
CIE-LCHlch(43.09, 69.69, 334.27°)
OKLaboklab(53.61% 0.1839 -0.0826)
OKLCHoklch(53.61% 0.202 335.8)
XYZxyz(24.3300, 13.2174, 31.4007)
Luminance0.1321 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2C99 #2CAF42
analogous
#832CAF #AF2C99 #AF2C58
triadic
#AF2C99 #99AF2C #2C99AF
tetradic
#AF2C99 #AF832C #2CAF42 #2C58AF
square
#AF2C99 #AF832C #2CAF42 #2C58AF
split-complementary
#AF2C99 #58AF2C #2CAF83
monochromatic
#4D1343 #7E206E #AF2C99 #D147BA #DD78CC

Accessibility & contrast

On white

5.76
#AF2C99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#AF2C99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2C99
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2C99#FFFFFF#000000##FFFFFF
##AF2C991.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D599C
Deuteranopia (green-blind)
#5C6D96
Tritanopia (blue-blind)
#B83660
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #af2c99;
/* rgb */ color: rgb(175, 44, 153);
/* oklch */ color: oklch(53.6% 0.202 335.8);
Tailwind
colors: {
  custom: {
    50: '#cb73b7',
    500: '#af2c99',
    950: '#000000',
  },
}
SCSS
$custom: #af2c99;
$custom-light: #cb73b7;
$custom-dark: #000000;
JSON
{
  "hex": "#af2c99",
  "rgb": {
    "r": 175,
    "g": 44,
    "b": 153
  },
  "hsl": {
    "h": 310.076,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.5361,
    "c": 0.20162,
    "h": 335.8
  },
  "luminance": 0.13215
}

Semantic roles & 50–950 ramp

primary
#AF2C99
secondary
#72C580
accent
#E35F45
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AF2C99

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

Preview Lab → · Contrast checker → · Palette generator →

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