#AF429A#AF429A

#AF429A is a mid, vivid pink. Relative luminance 0.153; OKLCH L 55.8% C 0.175 H 336.0°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#AF429A
RGBrgb(175, 66, 154)
HSLhsl(312, 45%, 47%)
HSVhsv(312, 62%, 69%)
CMYKcmyk(0%, 62.3%, 12%, 31.4%)
CIE-LABlab(46.10, 54.62, -26.15)
CIE-LCHlch(46.10, 60.56, 334.42°)
OKLaboklab(55.81% 0.1595 -0.071)
OKLCHoklch(55.81% 0.175 336)
XYZxyz(25.4604, 15.3455, 32.1866)
Luminance0.1534 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF429A #42AF57
analogous
#8E42AF #AF429A #AF4263
triadic
#AF429A #9AAF42 #429AAF
tetradic
#AF429A #AF8E42 #42AF57 #4263AF
square
#AF429A #AF8E42 #42AF57 #4263AF
split-complementary
#AF429A #63AF42 #42AF8E
monochromatic
#56204C #833173 #AF429A #C668B4 #D795CA

Accessibility & contrast

On white

5.16
#AF429A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#AF429A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF429A
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF429A#FFFFFF#000000##FFFFFF
##AF429A1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43639D
Deuteranopia (green-blind)
#657397
Tritanopia (blue-blind)
#B74868
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #af429a;
/* rgb */ color: rgb(175, 66, 154);
/* oklch */ color: oklch(55.8% 0.175 336.0);
Tailwind
colors: {
  custom: {
    50: '#ca7db8',
    500: '#af429a',
    950: '#000000',
  },
}
SCSS
$custom: #af429a;
$custom-light: #ca7db8;
$custom-dark: #000000;
JSON
{
  "hex": "#af429a",
  "rgb": {
    "r": 175,
    "g": 66,
    "b": 154
  },
  "hsl": {
    "h": 311.56,
    "s": 45.228,
    "l": 47.255
  },
  "oklch": {
    "l": 0.55814,
    "c": 0.17456,
    "h": 336
  },
  "luminance": 0.15343
}

Semantic roles & 50–950 ramp

primary
#AF429A
secondary
#8AC295
accent
#D56C53
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140A11
muted
#827C80

Preview Lab

Preview with #AF429A

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

Preview Lab → · Contrast checker → · Palette generator →

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