#AF486F#AF486F

#AF486F is a mid, vivid pink. Relative luminance 0.149; OKLCH L 54.8% C 0.140 H 359.1°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#AF486F
RGBrgb(175, 72, 111)
HSLhsl(337, 42%, 48%)
HSVhsv(337, 59%, 69%)
CMYKcmyk(0%, 58.9%, 36.6%, 31.4%)
CIE-LABlab(45.50, 45.91, -1.05)
CIE-LCHlch(45.50, 45.92, 358.69°)
OKLaboklab(54.84% 0.14 -0.0022)
OKLCHoklch(54.84% 0.14 359.1)
XYZxyz(22.8671, 14.8988, 16.7073)
Luminance0.1490 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF486F #48AF88
analogous
#AF48A2 #AF486F #AF5548
triadic
#AF486F #6FAF48 #486FAF
tetradic
#AF486F #A2AF48 #48AF88 #5548AF
square
#AF486F #A2AF48 #48AF88 #5548AF
split-complementary
#AF486F #48AF55 #48A2AF
monochromatic
#582438 #843653 #AF486F #C47090 #D69BB2

Accessibility & contrast

On white

5.28
#AF486F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#AF486F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF486F
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF486F#FFFFFF#000000##FFFFFF
##AF486F1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#596070
Deuteranopia (green-blind)
#75736D
Tritanopia (blue-blind)
#BC3F57
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #af486f;
/* rgb */ color: rgb(175, 72, 111);
/* oklch */ color: oklch(54.8% 0.140 359.1);
Tailwind
colors: {
  custom: {
    50: '#ca8098',
    500: '#af486f',
    950: '#000000',
  },
}
SCSS
$custom: #af486f;
$custom-light: #ca8098;
$custom-dark: #000000;
JSON
{
  "hex": "#af486f",
  "rgb": {
    "r": 175,
    "g": 72,
    "b": 111
  },
  "hsl": {
    "h": 337.282,
    "s": 41.7,
    "l": 48.431
  },
  "oklch": {
    "l": 0.54835,
    "c": 0.14,
    "h": 359.1
  },
  "luminance": 0.14896
}

Semantic roles & 50–950 ramp

primary
#AF486F
secondary
#90C2AF
accent
#D2A356
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140A0D
muted
#827C7E

Preview Lab

Preview with #AF486F

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

Preview Lab → · Contrast checker → · Palette generator →

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