#AF496E#AF496E

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

Color values

HEX#AF496E
RGBrgb(175, 73, 110)
HSLhsl(338, 41%, 49%)
HSVhsv(338, 58%, 69%)
CMYKcmyk(0%, 58.3%, 37.1%, 31.4%)
CIE-LABlab(45.64, 45.32, -0.22)
CIE-LCHlch(45.64, 45.32, 359.73°)
OKLaboklab(54.94% 0.1381 0)
OKLCHoklch(54.94% 0.138 0)
XYZxyz(22.8775, 15.0073, 16.4407)
Luminance0.1500 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF496E #49AF8A
analogous
#AF49A1 #AF496E #AF5749
triadic
#AF496E #6EAF49 #496EAF
tetradic
#AF496E #A1AF49 #49AF8A #5749AF
square
#AF496E #A1AF49 #49AF8A #5749AF
split-complementary
#AF496E #49AF57 #49A1AF
monochromatic
#592538 #843753 #AF496E #C4718F #D69CB1

Accessibility & contrast

On white

5.25
#AF496E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#AF496E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF496E
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF496E#FFFFFF#000000##FFFFFF
##AF496E1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af496e;
/* rgb */ color: rgb(175, 73, 110);
/* oklch */ color: oklch(54.9% 0.138 0.0);
Tailwind
colors: {
  custom: {
    50: '#ca8097',
    500: '#af496e',
    950: '#000000',
  },
}
SCSS
$custom: #af496e;
$custom-light: #ca8097;
$custom-dark: #000000;
JSON
{
  "hex": "#af496e",
  "rgb": {
    "r": 175,
    "g": 73,
    "b": 110
  },
  "hsl": {
    "h": 338.235,
    "s": 41.129,
    "l": 48.627
  },
  "oklch": {
    "l": 0.54936,
    "c": 0.13814,
    "h": 0
  },
  "luminance": 0.15005
}

Semantic roles & 50–950 ramp

primary
#AF496E
secondary
#91C2B1
accent
#D1A557
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140A0D
muted
#827C7E

Preview Lab

Preview with #AF496E

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

Preview Lab → · Contrast checker → · Palette generator →

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