#AF4696#AF4696

#AF4696 is a mid, vivid pink. Relative luminance 0.157; OKLCH L 56.1% C 0.166 H 337.9°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#AF4696
RGBrgb(175, 70, 150)
HSLhsl(314, 43%, 48%)
HSVhsv(314, 60%, 69%)
CMYKcmyk(0%, 60%, 14.3%, 31.4%)
CIE-LABlab(46.58, 52.23, -23.03)
CIE-LCHlch(46.58, 57.08, 336.20°)
OKLaboklab(56.1% 0.1535 -0.0622)
OKLCHoklch(56.1% 0.166 337.9)
XYZxyz(25.3747, 15.6984, 30.5419)
Luminance0.1570 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4696 #46AF5F
analogous
#9346AF #AF4696 #AF4661
triadic
#AF4696 #96AF46 #4696AF
tetradic
#AF4696 #AF9346 #46AF5F #4661AF
square
#AF4696 #AF9346 #46AF5F #4661AF
split-complementary
#AF4696 #61AF46 #46AF93
monochromatic
#58234B #833571 #AF4696 #C56DB0 #D699C8

Accessibility & contrast

On white

5.07
#AF4696 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#AF4696 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4696
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4696#FFFFFF#000000##FFFFFF
##AF46961.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#496498
Deuteranopia (green-blind)
#697493
Tritanopia (blue-blind)
#B84A68
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #af4696;
/* rgb */ color: rgb(175, 70, 150);
/* oklch */ color: oklch(56.1% 0.166 337.9);
Tailwind
colors: {
  custom: {
    50: '#ca7fb5',
    500: '#af4696',
    950: '#000000',
  },
}
SCSS
$custom: #af4696;
$custom-light: #ca7fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#af4696",
  "rgb": {
    "r": 175,
    "g": 70,
    "b": 150
  },
  "hsl": {
    "h": 314.286,
    "s": 42.857,
    "l": 48.039
  },
  "oklch": {
    "l": 0.56103,
    "c": 0.16565,
    "h": 337.9
  },
  "luminance": 0.15696
}

Semantic roles & 50–950 ramp

primary
#AF4696
secondary
#8EC29B
accent
#D37355
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#140B11
muted
#827C80

Preview Lab

Preview with #AF4696

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

Preview Lab → · Contrast checker → · Palette generator →

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