#AF588B#AF588B

#AF588B is a mid, vivid pink. Relative luminance 0.180; OKLCH L 58.1% C 0.129 H 345.7°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#AF588B
RGBrgb(175, 88, 139)
HSLhsl(325, 35%, 52%)
HSVhsv(325, 50%, 69%)
CMYKcmyk(0%, 49.7%, 20.6%, 31.4%)
CIE-LABlab(49.45, 41.77, -12.07)
CIE-LCHlch(49.45, 43.48, 343.88°)
OKLaboklab(58.09% 0.1247 -0.0319)
OKLCHoklch(58.09% 0.129 345.7)
XYZxyz(25.8297, 17.9595, 26.5272)
Luminance0.1796 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF588B #58AF7C
analogous
#A858AF #AF588B #AF5860
triadic
#AF588B #8BAF58 #588BAF
tetradic
#AF588B #AFA858 #58AF7C #5860AF
square
#AF588B #AFA858 #58AF7C #5860AF
split-complementary
#AF588B #60AF58 #58AFA8
monochromatic
#5F2E4B #88416B #AF588B #C381A8 #D7ABC4

Accessibility & contrast

On white

4.57
#AF588B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#AF588B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF588B
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF588B#FFFFFF#000000##000000
##AF588B1.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F6C8D
Deuteranopia (green-blind)
#767B89
Tritanopia (blue-blind)
#B9576B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #af588b;
/* rgb */ color: rgb(175, 88, 139);
/* oklch */ color: oklch(58.1% 0.129 345.7);
Tailwind
colors: {
  custom: {
    50: '#c98aad',
    500: '#af588b',
    950: '#000000',
  },
}
SCSS
$custom: #af588b;
$custom-light: #c98aad;
$custom-dark: #000000;
JSON
{
  "hex": "#af588b",
  "rgb": {
    "r": 175,
    "g": 88,
    "b": 139
  },
  "hsl": {
    "h": 324.828,
    "s": 35.223,
    "l": 51.569
  },
  "oklch": {
    "l": 0.58092,
    "c": 0.12866,
    "h": 345.7
  },
  "luminance": 0.17957
}

Semantic roles & 50–950 ramp

primary
#AF588B
secondary
#9EC5AE
accent
#CB8A5D
background
#FCF8FA
surface
#F9F0F4
border
#D2CBCE
text
#130C10
muted
#827D7F

Preview Lab

Preview with #AF588B

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

Preview Lab → · Contrast checker → · Palette generator →

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