#AF3487#AF3487

#AF3487 is a mid, vivid pink. Relative luminance 0.133; OKLCH L 53.5% C 0.180 H 343.6°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#AF3487
RGBrgb(175, 52, 135)
HSLhsl(320, 54%, 45%)
HSVhsv(320, 70%, 69%)
CMYKcmyk(0%, 70.3%, 22.9%, 31.4%)
CIE-LABlab(43.24, 57.48, -19.11)
CIE-LCHlch(43.24, 60.57, 341.61°)
OKLaboklab(53.46% 0.173 -0.051)
OKLCHoklch(53.46% 0.18 343.6)
XYZxyz(23.2812, 13.3216, 24.2622)
Luminance0.1332 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3487 #34AF5C
analogous
#9A34AF #AF3487 #AF344A
triadic
#AF3487 #87AF34 #3487AF
tetradic
#AF3487 #AF9A34 #34AF5C #344AAF
square
#AF3487 #AF9A34 #34AF5C #344AAF
split-complementary
#AF3487 #4AAF34 #34AF9A
monochromatic
#51183E #802663 #AF3487 #CC54A5 #DA83BE

Accessibility & contrast

On white

5.73
#AF3487 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#AF3487 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3487
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3487#FFFFFF#000000##FFFFFF
##AF34871.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405989
Deuteranopia (green-blind)
#666E84
Tritanopia (blue-blind)
#BA3459
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #af3487;
/* rgb */ color: rgb(175, 52, 135);
/* oklch */ color: oklch(53.5% 0.180 343.6);
Tailwind
colors: {
  custom: {
    50: '#cb76aa',
    500: '#af3487',
    950: '#000000',
  },
}
SCSS
$custom: #af3487;
$custom-light: #cb76aa;
$custom-dark: #000000;
JSON
{
  "hex": "#af3487",
  "rgb": {
    "r": 175,
    "g": 52,
    "b": 135
  },
  "hsl": {
    "h": 319.512,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53455,
    "c": 0.1804,
    "h": 343.6
  },
  "luminance": 0.13319
}

Semantic roles & 50–950 ramp

primary
#AF3487
secondary
#7BC493
accent
#DE7A4A
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AF3487

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

Preview Lab → · Contrast checker → · Palette generator →

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