#AF487E#AF487E

#AF487E is a mid, vivid pink. Relative luminance 0.153; OKLCH L 55.4% C 0.147 H 350.4°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#AF487E
RGBrgb(175, 72, 126)
HSLhsl(329, 42%, 48%)
HSVhsv(329, 59%, 69%)
CMYKcmyk(0%, 58.9%, 28%, 31.4%)
CIE-LABlab(45.98, 47.81, -9.46)
CIE-LCHlch(45.98, 48.74, 348.80°)
OKLaboklab(55.36% 0.1448 -0.0246)
OKLCHoklch(55.36% 0.147 350.4)
XYZxyz(23.7634, 15.2573, 21.4281)
Luminance0.1525 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF487E #48AF79
analogous
#AC48AF #AF487E #AF484A
triadic
#AF487E #7EAF48 #487EAF
tetradic
#AF487E #AFAC48 #48AF79 #484AAF
square
#AF487E #AFAC48 #48AF79 #484AAF
split-complementary
#AF487E #4AAF48 #48AFAC
monochromatic
#582440 #84365F #AF487E #C4709C #D69BBA

Accessibility & contrast

On white

5.18
#AF487E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#AF487E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF487E
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF487E#FFFFFF#000000##FFFFFF
##AF487E1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#556180
Deuteranopia (green-blind)
#71747C
Tritanopia (blue-blind)
#BB445D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #af487e;
/* rgb */ color: rgb(175, 72, 126);
/* oklch */ color: oklch(55.4% 0.147 350.4);
Tailwind
colors: {
  custom: {
    50: '#ca80a3',
    500: '#af487e',
    950: '#000000',
  },
}
SCSS
$custom: #af487e;
$custom-light: #ca80a3;
$custom-dark: #000000;
JSON
{
  "hex": "#af487e",
  "rgb": {
    "r": 175,
    "g": 72,
    "b": 126
  },
  "hsl": {
    "h": 328.544,
    "s": 41.7,
    "l": 48.431
  },
  "oklch": {
    "l": 0.5536,
    "c": 0.1469,
    "h": 350.4
  },
  "luminance": 0.15255
}

Semantic roles & 50–950 ramp

primary
#AF487E
secondary
#90C2A8
accent
#D29156
background
#FCF8FA
surface
#F9EFF3
border
#D2CACD
text
#140B0F
muted
#827C7F

Preview Lab

Preview with #AF487E

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

Preview Lab → · Contrast checker → · Palette generator →

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