#AF4493#AF4493

#AF4493 is a mid, vivid pink. Relative luminance 0.154; OKLCH L 55.7% C 0.166 H 339.2°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#AF4493
RGBrgb(175, 68, 147)
HSLhsl(316, 44%, 48%)
HSVhsv(316, 61%, 69%)
CMYKcmyk(0%, 61.1%, 16%, 31.4%)
CIE-LABlab(46.12, 52.66, -21.94)
CIE-LCHlch(46.12, 57.05, 337.38°)
OKLaboklab(55.73% 0.1556 -0.0591)
OKLCHoklch(55.73% 0.166 339.2)
XYZxyz(25.0132, 15.3569, 29.2449)
Luminance0.1535 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4493 #44AF60
analogous
#9544AF #AF4493 #AF445D
triadic
#AF4493 #93AF44 #4493AF
tetradic
#AF4493 #AF9544 #44AF60 #445DAF
square
#AF4493 #AF9544 #44AF60 #445DAF
split-complementary
#AF4493 #5DAF44 #44AF95
monochromatic
#572249 #83336E #AF4493 #C56BAE #D797C6

Accessibility & contrast

On white

5.16
#AF4493 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#AF4493 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4493
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4493#FFFFFF#000000##FFFFFF
##AF44931.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#496395
Deuteranopia (green-blind)
#697390
Tritanopia (blue-blind)
#B84765
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #af4493;
/* rgb */ color: rgb(175, 68, 147);
/* oklch */ color: oklch(55.7% 0.166 339.2);
Tailwind
colors: {
  custom: {
    50: '#ca7eb3',
    500: '#af4493',
    950: '#000000',
  },
}
SCSS
$custom: #af4493;
$custom-light: #ca7eb3;
$custom-dark: #000000;
JSON
{
  "hex": "#af4493",
  "rgb": {
    "r": 175,
    "g": 68,
    "b": 147
  },
  "hsl": {
    "h": 315.701,
    "s": 44.033,
    "l": 47.647
  },
  "oklch": {
    "l": 0.55725,
    "c": 0.16645,
    "h": 339.2
  },
  "luminance": 0.15355
}

Semantic roles & 50–950 ramp

primary
#AF4493
secondary
#8CC29B
accent
#D47554
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#140A11
muted
#827C80

Preview Lab

Preview with #AF4493

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

Preview Lab → · Contrast checker → · Palette generator →

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