#AF4E93#AF4E93

#AF4E93 is a mid, vivid pink. Relative luminance 0.167; OKLCH L 57.0% C 0.151 H 339.9°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#AF4E93
RGBrgb(175, 78, 147)
HSLhsl(317, 38%, 50%)
HSVhsv(317, 55%, 69%)
CMYKcmyk(0%, 55.4%, 16%, 31.4%)
CIE-LABlab(47.84, 48.01, -19.29)
CIE-LCHlch(47.84, 51.74, 338.11°)
OKLaboklab(57% 0.1417 -0.0518)
OKLCHoklch(57% 0.151 339.9)
XYZxyz(25.6705, 16.6714, 29.4640)
Luminance0.1667 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4E93 #4EAF6A
analogous
#9B4EAF #AF4E93 #AF4E62
triadic
#AF4E93 #93AF4E #4E93AF
tetradic
#AF4E93 #AF9B4E #4EAF6A #4E62AF
square
#AF4E93 #AF9B4E #4EAF6A #4E62AF
split-complementary
#AF4E93 #62AF4E #4EAF9B
monochromatic
#5A284C #853B6F #AF4E93 #C378AD #D6A2C7

Accessibility & contrast

On white

4.85
#AF4E93 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#AF4E93 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4E93
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4E93#FFFFFF#000000##FFFFFF
##AF4E931.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536895
Deuteranopia (green-blind)
#6E7790
Tritanopia (blue-blind)
#B8506A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #af4e93;
/* rgb */ color: rgb(175, 78, 147);
/* oklch */ color: oklch(57.0% 0.151 339.9);
Tailwind
colors: {
  custom: {
    50: '#c984b2',
    500: '#af4e93',
    950: '#000000',
  },
}
SCSS
$custom: #af4e93;
$custom-light: #c984b2;
$custom-dark: #000000;
JSON
{
  "hex": "#af4e93",
  "rgb": {
    "r": 175,
    "g": 78,
    "b": 147
  },
  "hsl": {
    "h": 317.32,
    "s": 38.34,
    "l": 49.608
  },
  "oklch": {
    "l": 0.56997,
    "c": 0.1509,
    "h": 339.9
  },
  "luminance": 0.16669
}

Semantic roles & 50–950 ramp

primary
#AF4E93
secondary
#96C3A3
accent
#CE7B5A
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#130B11
muted
#827C80

Preview Lab

Preview with #AF4E93

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

Preview Lab → · Contrast checker → · Palette generator →

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