#AF4E8A#AF4E8A

#AF4E8A is a mid, vivid pink. Relative luminance 0.164; OKLCH L 56.6% C 0.145 H 344.7°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#AF4E8A
RGBrgb(175, 78, 138)
HSLhsl(323, 38%, 50%)
HSVhsv(323, 55%, 69%)
CMYKcmyk(0%, 55.4%, 21.1%, 31.4%)
CIE-LABlab(47.49, 46.64, -14.43)
CIE-LCHlch(47.49, 48.82, 342.81°)
OKLaboklab(56.62% 0.1395 -0.0382)
OKLCHoklch(56.62% 0.145 344.7)
XYZxyz(24.9917, 16.3998, 25.8891)
Luminance0.1640 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4E8A #4EAF73
analogous
#A44EAF #AF4E8A #AF4E59
triadic
#AF4E8A #8AAF4E #4E8AAF
tetradic
#AF4E8A #AFA44E #4EAF73 #4E59AF
square
#AF4E8A #AFA44E #4EAF73 #4E59AF
split-complementary
#AF4E8A #59AF4E #4EAFA4
monochromatic
#5A2847 #853B69 #AF4E8A #C378A6 #D6A2C2

Accessibility & contrast

On white

4.91
#AF4E8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#AF4E8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4E8A
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4E8A#FFFFFF#000000##FFFFFF
##AF4E8A1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#56668C
Deuteranopia (green-blind)
#717788
Tritanopia (blue-blind)
#B94D66
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #af4e8a;
/* rgb */ color: rgb(175, 78, 138);
/* oklch */ color: oklch(56.6% 0.145 344.7);
Tailwind
colors: {
  custom: {
    50: '#c984ac',
    500: '#af4e8a',
    950: '#000000',
  },
}
SCSS
$custom: #af4e8a;
$custom-light: #c984ac;
$custom-dark: #000000;
JSON
{
  "hex": "#af4e8a",
  "rgb": {
    "r": 175,
    "g": 78,
    "b": 138
  },
  "hsl": {
    "h": 322.887,
    "s": 38.34,
    "l": 49.608
  },
  "oklch": {
    "l": 0.56624,
    "c": 0.14463,
    "h": 344.7
  },
  "luminance": 0.16398
}

Semantic roles & 50–950 ramp

primary
#AF4E8A
secondary
#96C3A7
accent
#CE865A
background
#FCF8FA
surface
#F9EFF4
border
#D2CACE
text
#140B10
muted
#827C7F

Preview Lab

Preview with #AF4E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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