#AF4E85#AF4E85

#AF4E85 is a mid, vivid pink. Relative luminance 0.163; OKLCH L 56.4% C 0.141 H 347.5°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#AF4E85
RGBrgb(175, 78, 133)
HSLhsl(326, 38%, 50%)
HSVhsv(326, 55%, 69%)
CMYKcmyk(0%, 55.4%, 24%, 31.4%)
CIE-LABlab(47.31, 45.91, -11.70)
CIE-LCHlch(47.31, 47.38, 345.70°)
OKLaboklab(56.43% 0.1381 -0.0307)
OKLCHoklch(56.43% 0.141 347.5)
XYZxyz(24.6380, 16.2584, 24.0263)
Luminance0.1626 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4E85 #4EAF78
analogous
#A94EAF #AF4E85 #AF4E55
triadic
#AF4E85 #85AF4E #4E85AF
tetradic
#AF4E85 #AFA94E #4EAF78 #4E55AF
square
#AF4E85 #AFA94E #4EAF78 #4E55AF
split-complementary
#AF4E85 #55AF4E #4EAFA9
monochromatic
#5A2845 #853B65 #AF4E85 #C378A2 #D6A2BF

Accessibility & contrast

On white

4.94
#AF4E85 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#AF4E85 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4E85
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4E85#FFFFFF#000000##FFFFFF
##AF4E851.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#586687
Deuteranopia (green-blind)
#727683
Tritanopia (blue-blind)
#BA4C63
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #af4e85;
/* rgb */ color: rgb(175, 78, 133);
/* oklch */ color: oklch(56.4% 0.141 347.5);
Tailwind
colors: {
  custom: {
    50: '#ca84a8',
    500: '#af4e85',
    950: '#000000',
  },
}
SCSS
$custom: #af4e85;
$custom-light: #ca84a8;
$custom-dark: #000000;
JSON
{
  "hex": "#af4e85",
  "rgb": {
    "r": 175,
    "g": 78,
    "b": 133
  },
  "hsl": {
    "h": 325.979,
    "s": 38.34,
    "l": 49.608
  },
  "oklch": {
    "l": 0.56428,
    "c": 0.14147,
    "h": 347.5
  },
  "luminance": 0.16256
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF4E85

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

Preview Lab → · Contrast checker → · Palette generator →

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