#AF428D#AF428D

#AF428D is a mid, vivid pink. Relative luminance 0.149; OKLCH L 55.2% C 0.165 H 341.9°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#AF428D
RGBrgb(175, 66, 141)
HSLhsl(319, 45%, 47%)
HSVhsv(319, 62%, 69%)
CMYKcmyk(0%, 62.3%, 19.4%, 31.4%)
CIE-LABlab(45.55, 52.65, -19.21)
CIE-LCHlch(45.55, 56.04, 339.95°)
OKLaboklab(55.22% 0.157 -0.0514)
OKLCHoklch(55.22% 0.165 341.9)
XYZxyz(24.4358, 14.9357, 26.7901)
Luminance0.1493 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF428D #42AF64
analogous
#9B42AF #AF428D #AF4256
triadic
#AF428D #8DAF42 #428DAF
tetradic
#AF428D #AF9B42 #42AF64 #4256AF
square
#AF428D #AF9B42 #42AF64 #4256AF
split-complementary
#AF428D #56AF42 #42AF9B
monochromatic
#562045 #833169 #AF428D #C668A9 #D795C2

Accessibility & contrast

On white

5.27
#AF428D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#AF428D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF428D
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF428D#FFFFFF#000000##FFFFFF
##AF428D1.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A618F
Deuteranopia (green-blind)
#6A728A
Tritanopia (blue-blind)
#B94361
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #af428d;
/* rgb */ color: rgb(175, 66, 141);
/* oklch */ color: oklch(55.2% 0.165 341.9);
Tailwind
colors: {
  custom: {
    50: '#ca7dae',
    500: '#af428d',
    950: '#000000',
  },
}
SCSS
$custom: #af428d;
$custom-light: #ca7dae;
$custom-dark: #000000;
JSON
{
  "hex": "#af428d",
  "rgb": {
    "r": 175,
    "g": 66,
    "b": 141
  },
  "hsl": {
    "h": 318.716,
    "s": 45.228,
    "l": 47.255
  },
  "oklch": {
    "l": 0.55222,
    "c": 0.16522,
    "h": 341.9
  },
  "luminance": 0.14933
}

Semantic roles & 50–950 ramp

primary
#AF428D
secondary
#8AC29C
accent
#D57B53
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A10
muted
#827C7F

Preview Lab

Preview with #AF428D

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

Preview Lab → · Contrast checker → · Palette generator →

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