#AF419A#AF419A

#AF419A is a mid, vivid pink. Relative luminance 0.152; OKLCH L 55.7% C 0.176 H 336.0°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#AF419A
RGBrgb(175, 65, 154)
HSLhsl(311, 46%, 47%)
HSVhsv(311, 63%, 69%)
CMYKcmyk(0%, 62.9%, 12%, 31.4%)
CIE-LABlab(45.95, 55.06, -26.40)
CIE-LCHlch(45.95, 61.06, 334.38°)
OKLaboklab(55.7% 0.1607 -0.0717)
OKLCHoklch(55.7% 0.176 336)
XYZxyz(25.4025, 15.2297, 32.1673)
Luminance0.1523 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF419A #41AF56
analogous
#8D41AF #AF419A #AF4163
triadic
#AF419A #9AAF41 #419AAF
tetradic
#AF419A #AF8D41 #41AF56 #4163AF
square
#AF419A #AF8D41 #41AF56 #4163AF
split-complementary
#AF419A #63AF41 #41AF8D
monochromatic
#56204B #823073 #AF419A #C667B4 #D793CA

Accessibility & contrast

On white

5.19
#AF419A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#AF419A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF419A
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF419A#FFFFFF#000000##FFFFFF
##AF419A1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af419a;
/* rgb */ color: rgb(175, 65, 154);
/* oklch */ color: oklch(55.7% 0.176 336.0);
Tailwind
colors: {
  custom: {
    50: '#ca7db8',
    500: '#af419a',
    950: '#000000',
  },
}
SCSS
$custom: #af419a;
$custom-light: #ca7db8;
$custom-dark: #000000;
JSON
{
  "hex": "#af419a",
  "rgb": {
    "r": 175,
    "g": 65,
    "b": 154
  },
  "hsl": {
    "h": 311.455,
    "s": 45.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.55699,
    "c": 0.176,
    "h": 336
  },
  "luminance": 0.15228
}

Semantic roles & 50–950 ramp

primary
#AF419A
secondary
#89C294
accent
#D56B52
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140A11
muted
#827C80

Preview Lab

Preview with #AF419A

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

Preview Lab → · Contrast checker → · Palette generator →

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