#AF496B#AF496B

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

Color values

HEX#AF496B
RGBrgb(175, 73, 107)
HSLhsl(340, 41%, 49%)
HSVhsv(340, 58%, 69%)
CMYKcmyk(0%, 58.3%, 38.9%, 31.4%)
CIE-LABlab(45.56, 44.97, 1.49)
CIE-LCHlch(45.56, 44.99, 1.90°)
OKLaboklab(54.84% 0.1371 0.0044)
OKLCHoklch(54.84% 0.137 1.8)
XYZxyz(22.7169, 14.9430, 15.5950)
Luminance0.1494 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF496B #49AF8D
analogous
#AF499E #AF496B #AF5A49
triadic
#AF496B #6BAF49 #496BAF
tetradic
#AF496B #9EAF49 #49AF8D #5A49AF
square
#AF496B #9EAF49 #49AF8D #5A49AF
split-complementary
#AF496B #49AF5A #499EAF
monochromatic
#592536 #843751 #AF496B #C4718D #D69CB0

Accessibility & contrast

On white

5.27
#AF496B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF496B
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF496B#FFFFFF#000000##FFFFFF
##AF496B1.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B606C
Deuteranopia (green-blind)
#767369
Tritanopia (blue-blind)
#BD3F56
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #af496b;
/* rgb */ color: rgb(175, 73, 107);
/* oklch */ color: oklch(54.8% 0.137 1.8);
Tailwind
colors: {
  custom: {
    50: '#cb8095',
    500: '#af496b',
    950: '#000000',
  },
}
SCSS
$custom: #af496b;
$custom-light: #cb8095;
$custom-dark: #000000;
JSON
{
  "hex": "#af496b",
  "rgb": {
    "r": 175,
    "g": 73,
    "b": 107
  },
  "hsl": {
    "h": 340,
    "s": 41.129,
    "l": 48.627
  },
  "oklch": {
    "l": 0.54841,
    "c": 0.13714,
    "h": 1.8
  },
  "luminance": 0.14941
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF496B

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

Preview Lab → · Contrast checker → · Palette generator →

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