#AF4E86#AF4E86

#AF4E86 is a mid, vivid pink. Relative luminance 0.163; OKLCH L 56.5% C 0.142 H 346.9°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#AF4E86
RGBrgb(175, 78, 134)
HSLhsl(325, 38%, 50%)
HSVhsv(325, 55%, 69%)
CMYKcmyk(0%, 55.4%, 23.4%, 31.4%)
CIE-LABlab(47.35, 46.05, -12.25)
CIE-LCHlch(47.35, 47.65, 345.11°)
OKLaboklab(56.47% 0.1384 -0.0322)
OKLCHoklch(56.47% 0.142 346.9)
XYZxyz(24.7074, 16.2861, 24.3919)
Luminance0.1628 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4E86 #4EAF77
analogous
#A84EAF #AF4E86 #AF4E55
triadic
#AF4E86 #86AF4E #4E86AF
tetradic
#AF4E86 #AFA84E #4EAF77 #4E55AF
square
#AF4E86 #AFA84E #4EAF77 #4E55AF
split-complementary
#AF4E86 #55AF4E #4EAFA8
monochromatic
#5A2845 #853B66 #AF4E86 #C378A3 #D6A2C0

Accessibility & contrast

On white

4.93
#AF4E86 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#AF4E86 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4E86
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4E86#FFFFFF#000000##FFFFFF
##AF4E861.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#586688
Deuteranopia (green-blind)
#727684
Tritanopia (blue-blind)
#BA4C64
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #af4e86;
/* rgb */ color: rgb(175, 78, 134);
/* oklch */ color: oklch(56.5% 0.142 346.9);
Tailwind
colors: {
  custom: {
    50: '#ca84a9',
    500: '#af4e86',
    950: '#000000',
  },
}
SCSS
$custom: #af4e86;
$custom-light: #ca84a9;
$custom-dark: #000000;
JSON
{
  "hex": "#af4e86",
  "rgb": {
    "r": 175,
    "g": 78,
    "b": 134
  },
  "hsl": {
    "h": 325.361,
    "s": 38.34,
    "l": 49.608
  },
  "oklch": {
    "l": 0.56467,
    "c": 0.14209,
    "h": 346.9
  },
  "luminance": 0.16284
}

Semantic roles & 50–950 ramp

primary
#AF4E86
secondary
#96C3A9
accent
#CE8B5A
background
#FCF8FA
surface
#F9EFF4
border
#D2CACE
text
#140B0F
muted
#827C7F

Preview Lab

Preview with #AF4E86

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

Preview Lab → · Contrast checker → · Palette generator →

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