#AF429B#AF429B

#AF429B is a mid, vivid pink. Relative luminance 0.154; OKLCH L 55.9% C 0.175 H 335.6°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#AF429B
RGBrgb(175, 66, 155)
HSLhsl(311, 45%, 47%)
HSVhsv(311, 62%, 69%)
CMYKcmyk(0%, 62.3%, 11.4%, 31.4%)
CIE-LABlab(46.15, 54.78, -26.68)
CIE-LCHlch(46.15, 60.93, 334.03°)
OKLaboklab(55.86% 0.1596 -0.0725)
OKLCHoklch(55.86% 0.175 335.6)
XYZxyz(25.5440, 15.3790, 32.6271)
Luminance0.1538 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF429B #42AF56
analogous
#8C42AF #AF429B #AF4265
triadic
#AF429B #9BAF42 #429BAF
tetradic
#AF429B #AF8C42 #42AF56 #4265AF
square
#AF429B #AF8C42 #42AF56 #4265AF
split-complementary
#AF429B #65AF42 #42AF8C
monochromatic
#56204C #833174 #AF429B #C668B5 #D795CB

Accessibility & contrast

On white

5.15
#AF429B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#AF429B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF429B
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF429B#FFFFFF#000000##FFFFFF
##AF429B1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af429b;
/* rgb */ color: rgb(175, 66, 155);
/* oklch */ color: oklch(55.9% 0.175 335.6);
Tailwind
colors: {
  custom: {
    50: '#ca7db8',
    500: '#af429b',
    950: '#000000',
  },
}
SCSS
$custom: #af429b;
$custom-light: #ca7db8;
$custom-dark: #000000;
JSON
{
  "hex": "#af429b",
  "rgb": {
    "r": 175,
    "g": 66,
    "b": 155
  },
  "hsl": {
    "h": 311.009,
    "s": 45.228,
    "l": 47.255
  },
  "oklch": {
    "l": 0.55862,
    "c": 0.17533,
    "h": 335.6
  },
  "luminance": 0.15377
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF429B

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

Preview Lab → · Contrast checker → · Palette generator →

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