#AF496C#AF496C

#AF496C is a mid, vivid pink. Relative luminance 0.150; OKLCH L 54.9% C 0.137 H 1.2°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#AF496C
RGBrgb(175, 73, 108)
HSLhsl(339, 41%, 49%)
HSVhsv(339, 58%, 69%)
CMYKcmyk(0%, 58.3%, 38.3%, 31.4%)
CIE-LABlab(45.59, 45.08, 0.92)
CIE-LCHlch(45.59, 45.09, 1.17°)
OKLaboklab(54.87% 0.1374 0.003)
OKLCHoklch(54.87% 0.137 1.2)
XYZxyz(22.7698, 14.9642, 15.8737)
Luminance0.1496 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF496C #49AF8C
analogous
#AF499F #AF496C #AF5949
triadic
#AF496C #6CAF49 #496CAF
tetradic
#AF496C #9FAF49 #49AF8C #5949AF
square
#AF496C #9FAF49 #49AF8C #5949AF
split-complementary
#AF496C #49AF59 #499FAF
monochromatic
#592537 #843751 #AF496C #C4718E #D69CB0

Accessibility & contrast

On white

5.26
#AF496C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#AF496C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF496C
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF496C#FFFFFF#000000##FFFFFF
##AF496C1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B606D
Deuteranopia (green-blind)
#76736A
Tritanopia (blue-blind)
#BD4056
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #af496c;
/* rgb */ color: rgb(175, 73, 108);
/* oklch */ color: oklch(54.9% 0.137 1.2);
Tailwind
colors: {
  custom: {
    50: '#ca8096',
    500: '#af496c',
    950: '#000000',
  },
}
SCSS
$custom: #af496c;
$custom-light: #ca8096;
$custom-dark: #000000;
JSON
{
  "hex": "#af496c",
  "rgb": {
    "r": 175,
    "g": 73,
    "b": 108
  },
  "hsl": {
    "h": 339.412,
    "s": 41.129,
    "l": 48.627
  },
  "oklch": {
    "l": 0.54873,
    "c": 0.13746,
    "h": 1.2
  },
  "luminance": 0.14962
}

Semantic roles & 50–950 ramp

primary
#AF496C
secondary
#91C2B2
accent
#D1A757
background
#FCF8F9
surface
#F9EFF1
border
#D2CACB
text
#140A0D
muted
#827C7E

Preview Lab

Preview with #AF496C

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

Preview Lab → · Contrast checker → · Palette generator →

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