#AF486D#AF486D

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

Color values

HEX#AF486D
RGBrgb(175, 72, 109)
HSLhsl(338, 42%, 48%)
HSVhsv(338, 59%, 69%)
CMYKcmyk(0%, 58.9%, 37.7%, 31.4%)
CIE-LABlab(45.44, 45.67, 0.09)
CIE-LCHlch(45.44, 45.68, 0.11°)
OKLaboklab(54.77% 0.1393 0.0008)
OKLCHoklch(54.77% 0.139 0.3)
XYZxyz(22.7582, 14.8552, 16.1339)
Luminance0.1485 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF486D #48AF8A
analogous
#AF48A0 #AF486D #AF5748
triadic
#AF486D #6DAF48 #486DAF
tetradic
#AF486D #A0AF48 #48AF8A #5748AF
square
#AF486D #A0AF48 #48AF8A #5748AF
split-complementary
#AF486D #48AF57 #48A0AF
monochromatic
#582437 #843652 #AF486D #C4708E #D69BB0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF486D#FFFFFF#000000##FFFFFF
##AF486D1.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)
#5A5F6E
Deuteranopia (green-blind)
#75736B
Tritanopia (blue-blind)
#BD3F56
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #af486d;
/* rgb */ color: rgb(175, 72, 109);
/* oklch */ color: oklch(54.8% 0.139 0.3);
Tailwind
colors: {
  custom: {
    50: '#cb8096',
    500: '#af486d',
    950: '#000000',
  },
}
SCSS
$custom: #af486d;
$custom-light: #cb8096;
$custom-dark: #000000;
JSON
{
  "hex": "#af486d",
  "rgb": {
    "r": 175,
    "g": 72,
    "b": 109
  },
  "hsl": {
    "h": 338.447,
    "s": 41.7,
    "l": 48.431
  },
  "oklch": {
    "l": 0.5477,
    "c": 0.13928,
    "h": 0.3
  },
  "luminance": 0.14853
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF486D

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

Preview Lab → · Contrast checker → · Palette generator →

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