#AF29A3#AF29A3

#AF29A3 is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 53.9% C 0.212 H 332.1°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#AF29A3
RGBrgb(175, 41, 163)
HSLhsl(305, 62%, 42%)
HSVhsv(305, 77%, 69%)
CMYKcmyk(0%, 76.6%, 6.9%, 31.4%)
CIE-LABlab(43.28, 65.19, -35.96)
CIE-LCHlch(43.28, 74.45, 331.12°)
OKLaboklab(53.91% 0.1872 -0.0989)
OKLCHoklch(53.91% 0.212 332.1)
XYZxyz(25.0831, 13.3463, 35.8983)
Luminance0.1334 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF29A3 #29AF35
analogous
#7829AF #AF29A3 #AF2960
triadic
#AF29A3 #A3AF29 #29A3AF
tetradic
#AF29A3 #AF7829 #29AF35 #2960AF
square
#AF29A3 #AF7829 #29AF35 #2960AF
split-complementary
#AF29A3 #60AF29 #29AF78
monochromatic
#4C1247 #7D1D75 #AF29A3 #D342C6 #DE74D5

Accessibility & contrast

On white

5.72
#AF29A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#AF29A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF29A3
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF29A3#FFFFFF#000000##FFFFFF
##AF29A31.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5AA6
Deuteranopia (green-blind)
#566DA0
Tritanopia (blue-blind)
#B73964
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #af29a3;
/* rgb */ color: rgb(175, 41, 163);
/* oklch */ color: oklch(53.9% 0.212 332.1);
Tailwind
colors: {
  custom: {
    50: '#cb72bf',
    500: '#af29a3',
    950: '#000000',
  },
}
SCSS
$custom: #af29a3;
$custom-light: #cb72bf;
$custom-dark: #000000;
JSON
{
  "hex": "#af29a3",
  "rgb": {
    "r": 175,
    "g": 41,
    "b": 163
  },
  "hsl": {
    "h": 305.373,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.53913,
    "c": 0.21176,
    "h": 332.1
  },
  "luminance": 0.13344
}

Semantic roles & 50–950 ramp

primary
#AF29A3
secondary
#6EC676
accent
#E55143
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AF29A3

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

Preview Lab → · Contrast checker → · Palette generator →

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