#AF418A#AF418A

#AF418A is a mid, vivid pink. Relative luminance 0.147; OKLCH L 55.0% C 0.165 H 343.2°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#AF418A
RGBrgb(175, 65, 138)
HSLhsl(320, 46%, 47%)
HSVhsv(320, 63%, 69%)
CMYKcmyk(0%, 62.9%, 21.1%, 31.4%)
CIE-LABlab(45.26, 52.65, -17.83)
CIE-LCHlch(45.26, 55.59, 341.29°)
OKLaboklab(54.97% 0.1577 -0.0476)
OKLCHoklch(54.97% 0.165 343.2)
XYZxyz(24.1576, 14.7318, 25.6111)
Luminance0.1473 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF418A #41AF66
analogous
#9D41AF #AF418A #AF4153
triadic
#AF418A #8AAF41 #418AAF
tetradic
#AF418A #AF9D41 #41AF66 #4153AF
square
#AF418A #AF9D41 #41AF66 #4153AF
split-complementary
#AF418A #53AF41 #41AF9D
monochromatic
#562044 #823067 #AF418A #C667A6 #D793C0

Accessibility & contrast

On white

5.32
#AF418A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#AF418A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF418A
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF418A#FFFFFF#000000##FFFFFF
##AF418A1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A608C
Deuteranopia (green-blind)
#6A7287
Tritanopia (blue-blind)
#BA4160
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #af418a;
/* rgb */ color: rgb(175, 65, 138);
/* oklch */ color: oklch(55.0% 0.165 343.2);
Tailwind
colors: {
  custom: {
    50: '#ca7cac',
    500: '#af418a',
    950: '#000000',
  },
}
SCSS
$custom: #af418a;
$custom-light: #ca7cac;
$custom-dark: #000000;
JSON
{
  "hex": "#af418a",
  "rgb": {
    "r": 175,
    "g": 65,
    "b": 138
  },
  "hsl": {
    "h": 320.182,
    "s": 45.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.54975,
    "c": 0.16468,
    "h": 343.2
  },
  "luminance": 0.1473
}

Semantic roles & 50–950 ramp

primary
#AF418A
secondary
#89C29D
accent
#D57E52
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A10
muted
#827C7F

Preview Lab

Preview with #AF418A

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

Preview Lab → · Contrast checker → · Palette generator →

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