#AF428A#AF428A

#AF428A is a mid, vivid pink. Relative luminance 0.148; OKLCH L 55.1% C 0.163 H 343.3°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#AF428A
RGBrgb(175, 66, 138)
HSLhsl(320, 45%, 47%)
HSVhsv(320, 62%, 69%)
CMYKcmyk(0%, 62.3%, 21.1%, 31.4%)
CIE-LABlab(45.42, 52.21, -17.58)
CIE-LCHlch(45.42, 55.09, 341.39°)
OKLaboklab(55.09% 0.1563 -0.0469)
OKLCHoklch(55.09% 0.163 343.3)
XYZxyz(24.2156, 14.8476, 25.6304)
Luminance0.1484 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF428A #42AF67
analogous
#9E42AF #AF428A #AF4254
triadic
#AF428A #8AAF42 #428AAF
tetradic
#AF428A #AF9E42 #42AF67 #4254AF
square
#AF428A #AF9E42 #42AF67 #4254AF
split-complementary
#AF428A #54AF42 #42AF9E
monochromatic
#562044 #833167 #AF428A #C668A6 #D795C0

Accessibility & contrast

On white

5.29
#AF428A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#AF428A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF428A
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF428A#FFFFFF#000000##FFFFFF
##AF428A1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B608C
Deuteranopia (green-blind)
#6B7287
Tritanopia (blue-blind)
#BA4260
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #af428a;
/* rgb */ color: rgb(175, 66, 138);
/* oklch */ color: oklch(55.1% 0.163 343.3);
Tailwind
colors: {
  custom: {
    50: '#ca7dac',
    500: '#af428a',
    950: '#000000',
  },
}
SCSS
$custom: #af428a;
$custom-light: #ca7dac;
$custom-dark: #000000;
JSON
{
  "hex": "#af428a",
  "rgb": {
    "r": 175,
    "g": 66,
    "b": 138
  },
  "hsl": {
    "h": 320.367,
    "s": 45.228,
    "l": 47.255
  },
  "oklch": {
    "l": 0.55093,
    "c": 0.16321,
    "h": 343.3
  },
  "luminance": 0.14845
}

Semantic roles & 50–950 ramp

primary
#AF428A
secondary
#8AC29D
accent
#D57F53
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A10
muted
#827C7F

Preview Lab

Preview with #AF428A

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

Preview Lab → · Contrast checker → · Palette generator →

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