#AF5E99#AF5E99

#AF5E99 is a mid, vivid pink. Relative luminance 0.194; OKLCH L 59.6% C 0.128 H 338.2°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#AF5E99
RGBrgb(175, 94, 153)
HSLhsl(316, 34%, 53%)
HSVhsv(316, 46%, 69%)
CMYKcmyk(0%, 46.3%, 12.6%, 31.4%)
CIE-LABlab(51.18, 40.87, -17.75)
CIE-LCHlch(51.18, 44.56, 336.53°)
OKLaboklab(59.56% 0.1193 -0.0476)
OKLCHoklch(59.56% 0.128 338.2)
XYZxyz(27.4318, 19.4211, 32.4346)
Luminance0.1942 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5E99 #5EAF74
analogous
#9C5EAF #AF5E99 #AF5E71
triadic
#AF5E99 #99AF5E #5E99AF
tetradic
#AF5E99 #AF9C5E #5EAF74 #5E71AF
square
#AF5E99 #AF9C5E #5EAF74 #5E71AF
split-complementary
#AF5E99 #71AF5E #5EAF9C
monochromatic
#623155 #8B4578 #AF5E99 #C387B3 #D8B0CD

Accessibility & contrast

On white

4.30
#AF5E99 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#AF5E99 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF5E99
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5E99#FFFFFF#000000##000000
##AF5E991.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#60729B
Deuteranopia (green-blind)
#767F97
Tritanopia (blue-blind)
#B76074
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #af5e99;
/* rgb */ color: rgb(175, 94, 153);
/* oklch */ color: oklch(59.6% 0.128 338.2);
Tailwind
colors: {
  custom: {
    50: '#c98eb7',
    500: '#af5e99',
    950: '#000000',
  },
}
SCSS
$custom: #af5e99;
$custom-light: #c98eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#af5e99",
  "rgb": {
    "r": 175,
    "g": 94,
    "b": 153
  },
  "hsl": {
    "h": 316.296,
    "s": 33.61,
    "l": 52.745
  },
  "oklch": {
    "l": 0.59557,
    "c": 0.12847,
    "h": 338.2
  },
  "luminance": 0.19419
}

Semantic roles & 50–950 ramp

primary
#AF5E99
secondary
#A3C6AC
accent
#CA7B5E
background
#FCF8FB
surface
#F8F0F6
border
#D1CBD0
text
#130C11
muted
#827D80

Preview Lab

Preview with #AF5E99

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

Preview Lab → · Contrast checker → · Palette generator →

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