#AF4698#AF4698

#AF4698 is a mid, vivid pink. Relative luminance 0.158; OKLCH L 56.2% C 0.167 H 337.0°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#AF4698
RGBrgb(175, 70, 152)
HSLhsl(313, 43%, 48%)
HSVhsv(313, 60%, 69%)
CMYKcmyk(0%, 60%, 13.1%, 31.4%)
CIE-LABlab(46.66, 52.54, -24.09)
CIE-LCHlch(46.66, 57.80, 335.37°)
OKLaboklab(56.19% 0.1539 -0.0652)
OKLCHoklch(56.19% 0.167 337)
XYZxyz(25.5372, 15.7633, 31.3973)
Luminance0.1576 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4698 #46AF5D
analogous
#9146AF #AF4698 #AF4663
triadic
#AF4698 #98AF46 #4698AF
tetradic
#AF4698 #AF9146 #46AF5D #4663AF
square
#AF4698 #AF9146 #46AF5D #4663AF
split-complementary
#AF4698 #63AF46 #46AF91
monochromatic
#58234C #833572 #AF4698 #C56DB2 #D699C9

Accessibility & contrast

On white

5.06
#AF4698 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF4698
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4698#FFFFFF#000000##FFFFFF
##AF46981.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48649B
Deuteranopia (green-blind)
#687495
Tritanopia (blue-blind)
#B84B68
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #af4698;
/* rgb */ color: rgb(175, 70, 152);
/* oklch */ color: oklch(56.2% 0.167 337.0);
Tailwind
colors: {
  custom: {
    50: '#ca7fb6',
    500: '#af4698',
    950: '#000000',
  },
}
SCSS
$custom: #af4698;
$custom-light: #ca7fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#af4698",
  "rgb": {
    "r": 175,
    "g": 70,
    "b": 152
  },
  "hsl": {
    "h": 313.143,
    "s": 42.857,
    "l": 48.039
  },
  "oklch": {
    "l": 0.56195,
    "c": 0.16714,
    "h": 337
  },
  "luminance": 0.15761
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF4698

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

Preview Lab → · Contrast checker → · Palette generator →

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