#AF419C#AF419C

#AF419C is a mid, vivid pink. Relative luminance 0.153; OKLCH L 55.8% C 0.178 H 335.1°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#AF419C
RGBrgb(175, 65, 156)
HSLhsl(310, 46%, 47%)
HSVhsv(310, 63%, 69%)
CMYKcmyk(0%, 62.9%, 10.9%, 31.4%)
CIE-LABlab(46.04, 55.37, -27.45)
CIE-LCHlch(46.04, 61.80, 333.63°)
OKLaboklab(55.8% 0.161 -0.0747)
OKLCHoklch(55.8% 0.178 335.1)
XYZxyz(25.5705, 15.2969, 33.0519)
Luminance0.1530 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF419C #41AF54
analogous
#8B41AF #AF419C #AF4165
triadic
#AF419C #9CAF41 #419CAF
tetradic
#AF419C #AF8B41 #41AF54 #4165AF
square
#AF419C #AF8B41 #41AF54 #4165AF
split-complementary
#AF419C #65AF41 #41AF8B
monochromatic
#56204C #823074 #AF419C #C667B6 #D793CB

Accessibility & contrast

On white

5.17
#AF419C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#AF419C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF419C
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF419C#FFFFFF#000000##FFFFFF
##AF419C1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41639F
Deuteranopia (green-blind)
#647399
Tritanopia (blue-blind)
#B74868
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #af419c;
/* rgb */ color: rgb(175, 65, 156);
/* oklch */ color: oklch(55.8% 0.178 335.1);
Tailwind
colors: {
  custom: {
    50: '#ca7db9',
    500: '#af419c',
    950: '#000000',
  },
}
SCSS
$custom: #af419c;
$custom-light: #ca7db9;
$custom-dark: #000000;
JSON
{
  "hex": "#af419c",
  "rgb": {
    "r": 175,
    "g": 65,
    "b": 156
  },
  "hsl": {
    "h": 310.364,
    "s": 45.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.55796,
    "c": 0.17753,
    "h": 335.1
  },
  "luminance": 0.15295
}

Semantic roles & 50–950 ramp

primary
#AF419C
secondary
#89C293
accent
#D56952
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140A11
muted
#827C80

Preview Lab

Preview with #AF419C

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

Preview Lab → · Contrast checker → · Palette generator →

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