#AF589E#AF589E

#AF589E is a mid, vivid pink. Relative luminance 0.186; OKLCH L 58.9% C 0.143 H 335.1°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#AF589E
RGBrgb(175, 88, 158)
HSLhsl(312, 35%, 52%)
HSVhsv(312, 50%, 69%)
CMYKcmyk(0%, 49.7%, 9.7%, 31.4%)
CIE-LABlab(50.17, 44.83, -22.24)
CIE-LCHlch(50.17, 50.04, 333.62°)
OKLaboklab(58.87% 0.1296 -0.0601)
OKLCHoklch(58.87% 0.143 335.1)
XYZxyz(27.3405, 18.5638, 34.4843)
Luminance0.1856 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF589E #58AF69
analogous
#9558AF #AF589E #AF5873
triadic
#AF589E #9EAF58 #589EAF
tetradic
#AF589E #AF9558 #58AF69 #5873AF
square
#AF589E #AF9558 #58AF69 #5873AF
split-complementary
#AF589E #73AF58 #58AF95
monochromatic
#5F2E55 #88417B #AF589E #C381B6 #D7ABCE

Accessibility & contrast

On white

4.46
#AF589E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#AF589E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF589E
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF589E#FFFFFF#000000##000000
##AF589E1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#586FA0
Deuteranopia (green-blind)
#707C9C
Tritanopia (blue-blind)
#B65C74
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #af589e;
/* rgb */ color: rgb(175, 88, 158);
/* oklch */ color: oklch(58.9% 0.143 335.1);
Tailwind
colors: {
  custom: {
    50: '#c98aba',
    500: '#af589e',
    950: '#000000',
  },
}
SCSS
$custom: #af589e;
$custom-light: #c98aba;
$custom-dark: #000000;
JSON
{
  "hex": "#af589e",
  "rgb": {
    "r": 175,
    "g": 88,
    "b": 158
  },
  "hsl": {
    "h": 311.724,
    "s": 35.223,
    "l": 51.569
  },
  "oklch": {
    "l": 0.58873,
    "c": 0.1429,
    "h": 335.1
  },
  "luminance": 0.18562
}

Semantic roles & 50–950 ramp

primary
#AF589E
secondary
#9EC5A6
accent
#CB725D
background
#FCF8FB
surface
#F9F0F6
border
#D2CBD0
text
#130C11
muted
#827D80

Preview Lab

Preview with #AF589E

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

Preview Lab → · Contrast checker → · Palette generator →

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