#AF3587#AF3587

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

Color values

HEX#AF3587
RGBrgb(175, 53, 135)
HSLhsl(320, 54%, 45%)
HSVhsv(320, 70%, 69%)
CMYKcmyk(0%, 69.7%, 22.9%, 31.4%)
CIE-LABlab(43.38, 57.11, -18.90)
CIE-LCHlch(43.38, 60.15, 341.69°)
OKLaboklab(53.55% 0.1719 -0.0505)
OKLCHoklch(53.55% 0.179 343.6)
XYZxyz(23.3263, 13.4118, 24.2772)
Luminance0.1341 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3587 #35AF5D
analogous
#9A35AF #AF3587 #AF354A
triadic
#AF3587 #87AF35 #3587AF
tetradic
#AF3587 #AF9A35 #35AF5D #354AAF
square
#AF3587 #AF9A35 #35AF5D #354AAF
split-complementary
#AF3587 #4AAF35 #35AF9A
monochromatic
#51193F #802763 #AF3587 #CC56A5 #DA85BE

Accessibility & contrast

On white

5.70
#AF3587 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#AF3587 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3587
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3587#FFFFFF#000000##FFFFFF
##AF35871.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415A89
Deuteranopia (green-blind)
#666E84
Tritanopia (blue-blind)
#BA3559
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #af3587;
/* rgb */ color: rgb(175, 53, 135);
/* oklch */ color: oklch(53.6% 0.179 343.6);
Tailwind
colors: {
  custom: {
    50: '#cb76aa',
    500: '#af3587',
    950: '#000000',
  },
}
SCSS
$custom: #af3587;
$custom-light: #cb76aa;
$custom-dark: #000000;
JSON
{
  "hex": "#af3587",
  "rgb": {
    "r": 175,
    "g": 53,
    "b": 135
  },
  "hsl": {
    "h": 319.672,
    "s": 53.509,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53552,
    "c": 0.17914,
    "h": 343.6
  },
  "luminance": 0.13409
}

Semantic roles & 50–950 ramp

primary
#AF3587
secondary
#7CC494
accent
#DD7B4B
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AF3587

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

Preview Lab → · Contrast checker → · Palette generator →

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