#AF486B#AF486B

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

Color values

HEX#AF486B
RGBrgb(175, 72, 107)
HSLhsl(340, 42%, 48%)
HSVhsv(340, 59%, 69%)
CMYKcmyk(0%, 58.9%, 38.9%, 31.4%)
CIE-LABlab(45.38, 45.44, 1.23)
CIE-LCHlch(45.38, 45.46, 1.55°)
OKLaboklab(54.71% 0.1386 0.0038)
OKLCHoklch(54.71% 0.139 1.6)
XYZxyz(22.6517, 14.8127, 15.5733)
Luminance0.1481 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF486B #48AF8C
analogous
#AF489E #AF486B #AF5948
triadic
#AF486B #6BAF48 #486BAF
tetradic
#AF486B #9EAF48 #48AF8C #5948AF
square
#AF486B #9EAF48 #48AF8C #5948AF
split-complementary
#AF486B #48AF59 #489EAF
monochromatic
#582436 #843650 #AF486B #C4708D #D69BAF

Accessibility & contrast

On white

5.30
#AF486B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#AF486B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF486B
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF486B#FFFFFF#000000##FFFFFF
##AF486B1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5F6C
Deuteranopia (green-blind)
#767369
Tritanopia (blue-blind)
#BD3E55
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #af486b;
/* rgb */ color: rgb(175, 72, 107);
/* oklch */ color: oklch(54.7% 0.139 1.6);
Tailwind
colors: {
  custom: {
    50: '#cb8095',
    500: '#af486b',
    950: '#000000',
  },
}
SCSS
$custom: #af486b;
$custom-light: #cb8095;
$custom-dark: #000000;
JSON
{
  "hex": "#af486b",
  "rgb": {
    "r": 175,
    "g": 72,
    "b": 107
  },
  "hsl": {
    "h": 339.612,
    "s": 41.7,
    "l": 48.431
  },
  "oklch": {
    "l": 0.54707,
    "c": 0.13861,
    "h": 1.6
  },
  "luminance": 0.1481
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF486B

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

Preview Lab → · Contrast checker → · Palette generator →

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