#AF428F#AF428F

#AF428F is a mid, vivid pink. Relative luminance 0.150; OKLCH L 55.3% C 0.167 H 340.9°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#AF428F
RGBrgb(175, 66, 143)
HSLhsl(318, 45%, 47%)
HSVhsv(318, 62%, 69%)
CMYKcmyk(0%, 62.3%, 18.3%, 31.4%)
CIE-LABlab(45.63, 52.94, -20.29)
CIE-LCHlch(45.63, 56.70, 339.03°)
OKLaboklab(55.31% 0.1574 -0.0545)
OKLCHoklch(55.31% 0.167 340.9)
XYZxyz(24.5859, 14.9957, 27.5809)
Luminance0.1499 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF428F #42AF62
analogous
#9942AF #AF428F #AF4258
triadic
#AF428F #8FAF42 #428FAF
tetradic
#AF428F #AF9942 #42AF62 #4258AF
square
#AF428F #AF9942 #42AF62 #4258AF
split-complementary
#AF428F #58AF42 #42AF99
monochromatic
#562046 #83316B #AF428F #C668AB #D795C3

Accessibility & contrast

On white

5.25
#AF428F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#AF428F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF428F
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF428F#FFFFFF#000000##FFFFFF
##AF428F1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#496191
Deuteranopia (green-blind)
#69728C
Tritanopia (blue-blind)
#B94462
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #af428f;
/* rgb */ color: rgb(175, 66, 143);
/* oklch */ color: oklch(55.3% 0.167 340.9);
Tailwind
colors: {
  custom: {
    50: '#ca7db0',
    500: '#af428f',
    950: '#000000',
  },
}
SCSS
$custom: #af428f;
$custom-light: #ca7db0;
$custom-dark: #000000;
JSON
{
  "hex": "#af428f",
  "rgb": {
    "r": 175,
    "g": 66,
    "b": 143
  },
  "hsl": {
    "h": 317.615,
    "s": 45.228,
    "l": 47.255
  },
  "oklch": {
    "l": 0.5531,
    "c": 0.16658,
    "h": 340.9
  },
  "luminance": 0.14994
}

Semantic roles & 50–950 ramp

primary
#AF428F
secondary
#8AC29B
accent
#D57953
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A10
muted
#827C7F

Preview Lab

Preview with #AF428F

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

Preview Lab → · Contrast checker → · Palette generator →

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