#AF4E8E#AF4E8E

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

Color values

HEX#AF4E8E
RGBrgb(175, 78, 142)
HSLhsl(320, 38%, 50%)
HSVhsv(320, 55%, 69%)
CMYKcmyk(0%, 55.4%, 18.9%, 31.4%)
CIE-LABlab(47.65, 47.24, -16.60)
CIE-LCHlch(47.65, 50.07, 340.64°)
OKLaboklab(56.79% 0.1405 -0.0442)
OKLCHoklch(56.79% 0.147 342.5)
XYZxyz(25.2866, 16.5178, 27.4424)
Luminance0.1652 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4E8E #4EAF6F
analogous
#9F4EAF #AF4E8E #AF4E5E
triadic
#AF4E8E #8EAF4E #4E8EAF
tetradic
#AF4E8E #AF9F4E #4EAF6F #4E5EAF
square
#AF4E8E #AF9F4E #4EAF6F #4E5EAF
split-complementary
#AF4E8E #5EAF4E #4EAF9F
monochromatic
#5A2849 #853B6C #AF4E8E #C378A9 #D6A2C4

Accessibility & contrast

On white

4.88
#AF4E8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#AF4E8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4E8E
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4E8E#FFFFFF#000000##FFFFFF
##AF4E8E1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#556790
Deuteranopia (green-blind)
#70778C
Tritanopia (blue-blind)
#B94F67
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #af4e8e;
/* rgb */ color: rgb(175, 78, 142);
/* oklch */ color: oklch(56.8% 0.147 342.5);
Tailwind
colors: {
  custom: {
    50: '#c984af',
    500: '#af4e8e',
    950: '#000000',
  },
}
SCSS
$custom: #af4e8e;
$custom-light: #c984af;
$custom-dark: #000000;
JSON
{
  "hex": "#af4e8e",
  "rgb": {
    "r": 175,
    "g": 78,
    "b": 142
  },
  "hsl": {
    "h": 320.412,
    "s": 38.34,
    "l": 49.608
  },
  "oklch": {
    "l": 0.56787,
    "c": 0.14733,
    "h": 342.5
  },
  "luminance": 0.16516
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF4E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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