#AF496F#AF496F

#AF496F is a mid, vivid pink. Relative luminance 0.150; OKLCH L 55.0% C 0.139 H 359.4°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#AF496F
RGBrgb(175, 73, 111)
HSLhsl(338, 41%, 49%)
HSVhsv(338, 58%, 69%)
CMYKcmyk(0%, 58.3%, 36.6%, 31.4%)
CIE-LABlab(45.67, 45.43, -0.78)
CIE-LCHlch(45.67, 45.44, 359.01°)
OKLaboklab(54.97% 0.1385 -0.0015)
OKLCHoklch(54.97% 0.139 359.4)
XYZxyz(22.9322, 15.0292, 16.7291)
Luminance0.1503 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF496F #49AF89
analogous
#AF49A2 #AF496F #AF5649
triadic
#AF496F #6FAF49 #496FAF
tetradic
#AF496F #A2AF49 #49AF89 #5649AF
square
#AF496F #A2AF49 #49AF89 #5649AF
split-complementary
#AF496F #49AF56 #49A2AF
monochromatic
#592538 #843754 #AF496F #C47190 #D69CB2

Accessibility & contrast

On white

5.24
#AF496F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#AF496F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF496F
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF496F#FFFFFF#000000##FFFFFF
##AF496F1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A6070
Deuteranopia (green-blind)
#75736D
Tritanopia (blue-blind)
#BC4057
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #af496f;
/* rgb */ color: rgb(175, 73, 111);
/* oklch */ color: oklch(55.0% 0.139 359.4);
Tailwind
colors: {
  custom: {
    50: '#ca8098',
    500: '#af496f',
    950: '#000000',
  },
}
SCSS
$custom: #af496f;
$custom-light: #ca8098;
$custom-dark: #000000;
JSON
{
  "hex": "#af496f",
  "rgb": {
    "r": 175,
    "g": 73,
    "b": 111
  },
  "hsl": {
    "h": 337.647,
    "s": 41.129,
    "l": 48.627
  },
  "oklch": {
    "l": 0.54968,
    "c": 0.13851,
    "h": 359.4
  },
  "luminance": 0.15027
}

Semantic roles & 50–950 ramp

primary
#AF496F
secondary
#91C2B0
accent
#D1A357
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140A0D
muted
#827C7E

Preview Lab

Preview with #AF496F

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

Preview Lab → · Contrast checker → · Palette generator →

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