#AF4598#AF4598

#AF4598 is a mid, vivid pink. Relative luminance 0.156; OKLCH L 56.1% C 0.169 H 337.0°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#AF4598
RGBrgb(175, 69, 152)
HSLhsl(313, 43%, 48%)
HSVhsv(313, 61%, 69%)
CMYKcmyk(0%, 60.6%, 13.1%, 31.4%)
CIE-LABlab(46.50, 52.99, -24.35)
CIE-LCHlch(46.50, 58.32, 335.32°)
OKLaboklab(56.07% 0.1552 -0.0659)
OKLCHoklch(56.07% 0.169 337)
XYZxyz(25.4751, 15.6393, 31.3766)
Luminance0.1564 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4598 #45AF5C
analogous
#9145AF #AF4598 #AF4563
triadic
#AF4598 #98AF45 #4598AF
tetradic
#AF4598 #AF9145 #45AF5C #4563AF
square
#AF4598 #AF9145 #45AF5C #4563AF
split-complementary
#AF4598 #63AF45 #45AF91
monochromatic
#57224C #833472 #AF4598 #C56CB2 #D698C9

Accessibility & contrast

On white

5.09
#AF4598 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#AF4598 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4598
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4598#FFFFFF#000000##FFFFFF
##AF45981.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47649B
Deuteranopia (green-blind)
#687495
Tritanopia (blue-blind)
#B84A68
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #af4598;
/* rgb */ color: rgb(175, 69, 152);
/* oklch */ color: oklch(56.1% 0.169 337.0);
Tailwind
colors: {
  custom: {
    50: '#ca7fb6',
    500: '#af4598',
    950: '#000000',
  },
}
SCSS
$custom: #af4598;
$custom-light: #ca7fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#af4598",
  "rgb": {
    "r": 175,
    "g": 69,
    "b": 152
  },
  "hsl": {
    "h": 313.019,
    "s": 43.443,
    "l": 47.843
  },
  "oklch": {
    "l": 0.56074,
    "c": 0.16864,
    "h": 337
  },
  "luminance": 0.15637
}

Semantic roles & 50–950 ramp

primary
#AF4598
secondary
#8DC299
accent
#D37055
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#140A11
muted
#827C80

Preview Lab

Preview with #AF4598

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

Preview Lab → · Contrast checker → · Palette generator →

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