#AF486C#AF486C

#AF486C is a mid, vivid pink. Relative luminance 0.148; OKLCH L 54.7% C 0.139 H 0.9°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#AF486C
RGBrgb(175, 72, 108)
HSLhsl(339, 42%, 48%)
HSVhsv(339, 59%, 69%)
CMYKcmyk(0%, 58.9%, 38.3%, 31.4%)
CIE-LABlab(45.41, 45.56, 0.66)
CIE-LCHlch(45.41, 45.56, 0.83°)
OKLaboklab(54.74% 0.1389 0.0023)
OKLCHoklch(54.74% 0.139 0.9)
XYZxyz(22.7047, 14.8338, 15.8520)
Luminance0.1483 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF486C #48AF8B
analogous
#AF489F #AF486C #AF5748
triadic
#AF486C #6CAF48 #486CAF
tetradic
#AF486C #9FAF48 #48AF8B #5748AF
square
#AF486C #9FAF48 #48AF8B #5748AF
split-complementary
#AF486C #48AF57 #489FAF
monochromatic
#582436 #843651 #AF486C #C4708D #D69BB0

Accessibility & contrast

On white

5.29
#AF486C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#AF486C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF486C
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF486C#FFFFFF#000000##FFFFFF
##AF486C1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5F6D
Deuteranopia (green-blind)
#75736A
Tritanopia (blue-blind)
#BD3E56
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #af486c;
/* rgb */ color: rgb(175, 72, 108);
/* oklch */ color: oklch(54.7% 0.139 0.9);
Tailwind
colors: {
  custom: {
    50: '#cb8096',
    500: '#af486c',
    950: '#000000',
  },
}
SCSS
$custom: #af486c;
$custom-light: #cb8096;
$custom-dark: #000000;
JSON
{
  "hex": "#af486c",
  "rgb": {
    "r": 175,
    "g": 72,
    "b": 108
  },
  "hsl": {
    "h": 339.029,
    "s": 41.7,
    "l": 48.431
  },
  "oklch": {
    "l": 0.54739,
    "c": 0.13894,
    "h": 0.9
  },
  "luminance": 0.14831
}

Semantic roles & 50–950 ramp

primary
#AF486C
secondary
#90C2B1
accent
#D2A656
background
#FCF8F9
surface
#F9EFF1
border
#D2CACB
text
#140A0D
muted
#827C7E

Preview Lab

Preview with #AF486C

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

Preview Lab → · Contrast checker → · Palette generator →

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