#AF486E#AF486E

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

Color values

HEX#AF486E
RGBrgb(175, 72, 110)
HSLhsl(338, 42%, 48%)
HSVhsv(338, 59%, 69%)
CMYKcmyk(0%, 58.9%, 37.1%, 31.4%)
CIE-LABlab(45.47, 45.79, -0.48)
CIE-LCHlch(45.47, 45.79, 359.40°)
OKLaboklab(54.8% 0.1396 -0.0007)
OKLCHoklch(54.8% 0.14 359.7)
XYZxyz(22.8123, 14.8769, 16.4190)
Luminance0.1487 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF486E #48AF89
analogous
#AF48A1 #AF486E #AF5548
triadic
#AF486E #6EAF48 #486EAF
tetradic
#AF486E #A1AF48 #48AF89 #5548AF
square
#AF486E #A1AF48 #48AF89 #5548AF
split-complementary
#AF486E #48AF55 #48A1AF
monochromatic
#582437 #843653 #AF486E #C4708F #D69BB1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF486E#FFFFFF#000000##FFFFFF
##AF486E1.005.283.975.28
#FFFFFF5.281.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5F6F
Deuteranopia (green-blind)
#75736C
Tritanopia (blue-blind)
#BC3F57
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #af486e;
/* rgb */ color: rgb(175, 72, 110);
/* oklch */ color: oklch(54.8% 0.140 359.7);
Tailwind
colors: {
  custom: {
    50: '#ca8097',
    500: '#af486e',
    950: '#000000',
  },
}
SCSS
$custom: #af486e;
$custom-light: #ca8097;
$custom-dark: #000000;
JSON
{
  "hex": "#af486e",
  "rgb": {
    "r": 175,
    "g": 72,
    "b": 110
  },
  "hsl": {
    "h": 337.864,
    "s": 41.7,
    "l": 48.431
  },
  "oklch": {
    "l": 0.54802,
    "c": 0.13963,
    "h": 359.7
  },
  "luminance": 0.14874
}

Semantic roles & 50–950 ramp

primary
#AF486E
secondary
#90C2B0
accent
#D2A456
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140A0D
muted
#827C7E

Preview Lab

Preview with #AF486E

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

Preview Lab → · Contrast checker → · Palette generator →

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