#AF3588#AF3588

#AF3588 is a mid, vivid pink. Relative luminance 0.134; OKLCH L 53.6% C 0.180 H 343.2°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#AF3588
RGBrgb(175, 53, 136)
HSLhsl(319, 54%, 45%)
HSVhsv(319, 70%, 69%)
CMYKcmyk(0%, 69.7%, 22.3%, 31.4%)
CIE-LABlab(43.42, 57.24, -19.45)
CIE-LCHlch(43.42, 60.46, 341.24°)
OKLaboklab(53.6% 0.1721 -0.052)
OKLCHoklch(53.6% 0.18 343.2)
XYZxyz(23.3970, 13.4401, 24.6498)
Luminance0.1344 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3588 #35AF5C
analogous
#9935AF #AF3588 #AF354B
triadic
#AF3588 #88AF35 #3588AF
tetradic
#AF3588 #AF9935 #35AF5C #354BAF
square
#AF3588 #AF9935 #35AF5C #354BAF
split-complementary
#AF3588 #4BAF35 #35AF99
monochromatic
#51193F #802763 #AF3588 #CC56A6 #DA85BF

Accessibility & contrast

On white

5.69
#AF3588 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#AF3588 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3588
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3588#FFFFFF#000000##FFFFFF
##AF35881.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415A8A
Deuteranopia (green-blind)
#666E85
Tritanopia (blue-blind)
#BA355A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #af3588;
/* rgb */ color: rgb(175, 53, 136);
/* oklch */ color: oklch(53.6% 0.180 343.2);
Tailwind
colors: {
  custom: {
    50: '#cb76ab',
    500: '#af3588',
    950: '#000000',
  },
}
SCSS
$custom: #af3588;
$custom-light: #cb76ab;
$custom-dark: #000000;
JSON
{
  "hex": "#af3588",
  "rgb": {
    "r": 175,
    "g": 53,
    "b": 136
  },
  "hsl": {
    "h": 319.18,
    "s": 53.509,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53596,
    "c": 0.17977,
    "h": 343.2
  },
  "luminance": 0.13438
}

Semantic roles & 50–950 ramp

primary
#AF3588
secondary
#7CC493
accent
#DD7A4B
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AF3588

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

Preview Lab → · Contrast checker → · Palette generator →

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