#AF4697#AF4697

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

Color values

HEX#AF4697
RGBrgb(175, 70, 151)
HSLhsl(314, 43%, 48%)
HSVhsv(314, 60%, 69%)
CMYKcmyk(0%, 60%, 13.7%, 31.4%)
CIE-LABlab(46.62, 52.38, -23.56)
CIE-LCHlch(46.62, 57.44, 335.78°)
OKLaboklab(56.15% 0.1537 -0.0637)
OKLCHoklch(56.15% 0.166 337.5)
XYZxyz(25.4556, 15.7307, 30.9678)
Luminance0.1573 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4697 #46AF5E
analogous
#9246AF #AF4697 #AF4663
triadic
#AF4697 #97AF46 #4697AF
tetradic
#AF4697 #AF9246 #46AF5E #4663AF
square
#AF4697 #AF9246 #46AF5E #4663AF
split-complementary
#AF4697 #63AF46 #46AF92
monochromatic
#58234C #833571 #AF4697 #C56DB1 #D699C8

Accessibility & contrast

On white

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

On black

4.15
#AF4697 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##AF4697#FFFFFF#000000##FFFFFF
##AF46971.005.074.155.07
#FFFFFF5.071.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49649A
Deuteranopia (green-blind)
#687494
Tritanopia (blue-blind)
#B84A68
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #af4697;
/* rgb */ color: rgb(175, 70, 151);
/* oklch */ color: oklch(56.1% 0.166 337.5);
Tailwind
colors: {
  custom: {
    50: '#ca7fb5',
    500: '#af4697',
    950: '#000000',
  },
}
SCSS
$custom: #af4697;
$custom-light: #ca7fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#af4697",
  "rgb": {
    "r": 175,
    "g": 70,
    "b": 151
  },
  "hsl": {
    "h": 313.714,
    "s": 42.857,
    "l": 48.039
  },
  "oklch": {
    "l": 0.56149,
    "c": 0.16639,
    "h": 337.5
  },
  "luminance": 0.15729
}

Semantic roles & 50–950 ramp

primary
#AF4697
secondary
#8EC29A
accent
#D37255
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#140B11
muted
#827C80

Preview Lab

Preview with #AF4697

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

Preview Lab → · Contrast checker → · Palette generator →

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