#AF4E8F#AF4E8F

#AF4E8F is a mid, vivid pink. Relative luminance 0.165; OKLCH L 56.8% C 0.148 H 342.0°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#AF4E8F
RGBrgb(175, 78, 143)
HSLhsl(320, 38%, 50%)
HSVhsv(320, 55%, 69%)
CMYKcmyk(0%, 55.4%, 18.3%, 31.4%)
CIE-LABlab(47.69, 47.39, -17.14)
CIE-LCHlch(47.69, 50.40, 340.12°)
OKLaboklab(56.83% 0.1408 -0.0458)
OKLCHoklch(56.83% 0.148 342)
XYZxyz(25.3620, 16.5480, 27.8396)
Luminance0.1655 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4E8F #4EAF6E
analogous
#9F4EAF #AF4E8F #AF4E5E
triadic
#AF4E8F #8FAF4E #4E8FAF
tetradic
#AF4E8F #AF9F4E #4EAF6E #4E5EAF
square
#AF4E8F #AF9F4E #4EAF6E #4E5EAF
split-complementary
#AF4E8F #5EAF4E #4EAF9F
monochromatic
#5A284A #853B6C #AF4E8F #C378AA #D6A2C4

Accessibility & contrast

On white

4.87
#AF4E8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#AF4E8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4E8F
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4E8F#FFFFFF#000000##FFFFFF
##AF4E8F1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546791
Deuteranopia (green-blind)
#6F778D
Tritanopia (blue-blind)
#B94F68
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #af4e8f;
/* rgb */ color: rgb(175, 78, 143);
/* oklch */ color: oklch(56.8% 0.148 342.0);
Tailwind
colors: {
  custom: {
    50: '#c984b0',
    500: '#af4e8f',
    950: '#000000',
  },
}
SCSS
$custom: #af4e8f;
$custom-light: #c984b0;
$custom-dark: #000000;
JSON
{
  "hex": "#af4e8f",
  "rgb": {
    "r": 175,
    "g": 78,
    "b": 143
  },
  "hsl": {
    "h": 319.794,
    "s": 38.34,
    "l": 49.608
  },
  "oklch": {
    "l": 0.56828,
    "c": 0.14803,
    "h": 342
  },
  "luminance": 0.16546
}

Semantic roles & 50–950 ramp

primary
#AF4E8F
secondary
#96C3A5
accent
#CE805A
background
#FCF8FA
surface
#F9EFF4
border
#D2CACE
text
#130B10
muted
#827C7F

Preview Lab

Preview with #AF4E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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