#AF29AC#AF29AC

#AF29AC is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.4% C 0.218 H 329.1°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#AF29AC
RGBrgb(175, 41, 172)
HSLhsl(301, 62%, 42%)
HSVhsv(301, 77%, 69%)
CMYKcmyk(0%, 76.6%, 1.7%, 31.4%)
CIE-LABlab(43.77, 66.60, -40.54)
CIE-LCHlch(43.77, 77.97, 328.67°)
OKLaboklab(54.42% 0.1873 -0.1122)
OKLCHoklch(54.42% 0.218 329.1)
XYZxyz(25.9183, 13.6804, 40.2972)
Luminance0.1368 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF29AC #29AF2C
analogous
#6F29AF #AF29AC #AF2969
triadic
#AF29AC #ACAF29 #29ACAF
tetradic
#AF29AC #AF6F29 #29AF2C #2969AF
square
#AF29AC #AF6F29 #29AF2C #2969AF
split-complementary
#AF29AC #69AF29 #29AF6F
monochromatic
#4C124B #7D1D7B #AF29AC #D342D0 #DE74DC

Accessibility & contrast

On white

5.62
#AF29AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#AF29AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF29AC
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF29AC#FFFFFF#000000##FFFFFF
##AF29AC1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D5CAF
Deuteranopia (green-blind)
#516EA9
Tritanopia (blue-blind)
#B53E6A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #af29ac;
/* rgb */ color: rgb(175, 41, 172);
/* oklch */ color: oklch(54.4% 0.218 329.1);
Tailwind
colors: {
  custom: {
    50: '#cb72c5',
    500: '#af29ac',
    950: '#000000',
  },
}
SCSS
$custom: #af29ac;
$custom-light: #cb72c5;
$custom-dark: #000000;
JSON
{
  "hex": "#af29ac",
  "rgb": {
    "r": 175,
    "g": 41,
    "b": 172
  },
  "hsl": {
    "h": 301.343,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.54422,
    "c": 0.21835,
    "h": 329.1
  },
  "luminance": 0.13678
}

Semantic roles & 50–950 ramp

primary
#AF29AC
secondary
#6EC670
accent
#E54643
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AF29AC

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

Preview Lab → · Contrast checker → · Palette generator →

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