#AF4487#AF4487

#AF4487 is a mid, vivid pink. Relative luminance 0.150; OKLCH L 55.2% C 0.158 H 345.0°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#AF4487
RGBrgb(175, 68, 135)
HSLhsl(322, 44%, 48%)
HSVhsv(322, 61%, 69%)
CMYKcmyk(0%, 61.1%, 22.9%, 31.4%)
CIE-LABlab(45.63, 50.89, -15.45)
CIE-LCHlch(45.63, 53.19, 343.11°)
OKLaboklab(55.21% 0.1529 -0.041)
OKLCHoklch(55.21% 0.158 345)
XYZxyz(24.1203, 14.9997, 24.5419)
Luminance0.1500 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4487 #44AF6C
analogous
#A244AF #AF4487 #AF4451
triadic
#AF4487 #87AF44 #4487AF
tetradic
#AF4487 #AFA244 #44AF6C #4451AF
square
#AF4487 #AFA244 #44AF6C #4451AF
split-complementary
#AF4487 #51AF44 #44AFA2
monochromatic
#572243 #833365 #AF4487 #C56BA4 #D797BF

Accessibility & contrast

On white

5.25
#AF4487 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#AF4487 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4487
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4487#FFFFFF#000000##FFFFFF
##AF44871.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E6189
Deuteranopia (green-blind)
#6D7384
Tritanopia (blue-blind)
#BA435F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #af4487;
/* rgb */ color: rgb(175, 68, 135);
/* oklch */ color: oklch(55.2% 0.158 345.0);
Tailwind
colors: {
  custom: {
    50: '#ca7eaa',
    500: '#af4487',
    950: '#000000',
  },
}
SCSS
$custom: #af4487;
$custom-light: #ca7eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#af4487",
  "rgb": {
    "r": 175,
    "g": 68,
    "b": 135
  },
  "hsl": {
    "h": 322.43,
    "s": 44.033,
    "l": 47.647
  },
  "oklch": {
    "l": 0.55209,
    "c": 0.15831,
    "h": 345
  },
  "luminance": 0.14997
}

Semantic roles & 50–950 ramp

primary
#AF4487
secondary
#8CC2A1
accent
#D48454
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A10
muted
#827C7F

Preview Lab

Preview with #AF4487

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

Preview Lab → · Contrast checker → · Palette generator →

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