#AF599D#AF599D

#AF599D is a mid, vivid pink. Relative luminance 0.187; OKLCH L 59.0% C 0.140 H 335.7°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#AF599D
RGBrgb(175, 89, 157)
HSLhsl(313, 35%, 52%)
HSVhsv(313, 49%, 69%)
CMYKcmyk(0%, 49.1%, 10.3%, 31.4%)
CIE-LABlab(50.33, 44.15, -21.41)
CIE-LCHlch(50.33, 49.07, 334.13°)
OKLaboklab(58.98% 0.1279 -0.0578)
OKLCHoklch(58.98% 0.14 335.7)
XYZxyz(27.3374, 18.6948, 34.0603)
Luminance0.1869 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF599D #59AF6B
analogous
#9659AF #AF599D #AF5972
triadic
#AF599D #9DAF59 #599DAF
tetradic
#AF599D #AF9659 #59AF6B #5972AF
square
#AF599D #AF9659 #59AF6B #5972AF
split-complementary
#AF599D #72AF59 #59AF96
monochromatic
#602E55 #89427A #AF599D #C382B5 #D7ACCE

Accessibility & contrast

On white

4.43
#AF599D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#AF599D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF599D
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF599D#FFFFFF#000000##000000
##AF599D1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A709F
Deuteranopia (green-blind)
#717C9B
Tritanopia (blue-blind)
#B65D74
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #af599d;
/* rgb */ color: rgb(175, 89, 157);
/* oklch */ color: oklch(59.0% 0.140 335.7);
Tailwind
colors: {
  custom: {
    50: '#c98bba',
    500: '#af599d',
    950: '#000000',
  },
}
SCSS
$custom: #af599d;
$custom-light: #c98bba;
$custom-dark: #000000;
JSON
{
  "hex": "#af599d",
  "rgb": {
    "r": 175,
    "g": 89,
    "b": 157
  },
  "hsl": {
    "h": 312.558,
    "s": 34.959,
    "l": 51.765
  },
  "oklch": {
    "l": 0.58975,
    "c": 0.14037,
    "h": 335.7
  },
  "luminance": 0.18693
}

Semantic roles & 50–950 ramp

primary
#AF599D
secondary
#9FC5A7
accent
#CB745D
background
#FCF8FB
surface
#F8F0F6
border
#D1CBD0
text
#130C11
muted
#827D80

Preview Lab

Preview with #AF599D

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

Preview Lab → · Contrast checker → · Palette generator →

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