#AF3598#AF3598

#AF3598 is a mid, vivid pink. Relative luminance 0.139; OKLCH L 54.3% C 0.191 H 336.4°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#AF3598
RGBrgb(175, 53, 152)
HSLhsl(311, 54%, 45%)
HSVhsv(311, 70%, 69%)
CMYKcmyk(0%, 69.7%, 13.1%, 31.4%)
CIE-LABlab(44.13, 59.54, -28.03)
CIE-LCHlch(44.13, 65.81, 334.79°)
OKLaboklab(54.35% 0.1747 -0.0762)
OKLCHoklch(54.35% 0.191 336.4)
XYZxyz(24.6202, 13.9293, 31.0916)
Luminance0.1393 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3598 #35AF4C
analogous
#8935AF #AF3598 #AF355B
triadic
#AF3598 #98AF35 #3598AF
tetradic
#AF3598 #AF8935 #35AF4C #355BAF
square
#AF3598 #AF8935 #35AF4C #355BAF
split-complementary
#AF3598 #5BAF35 #35AF89
monochromatic
#511946 #80276F #AF3598 #CC56B5 #DA85CA

Accessibility & contrast

On white

5.55
#AF3598 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#AF3598 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3598
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3598#FFFFFF#000000##FFFFFF
##AF35981.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375C9B
Deuteranopia (green-blind)
#606F95
Tritanopia (blue-blind)
#B83C62
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #af3598;
/* rgb */ color: rgb(175, 53, 152);
/* oklch */ color: oklch(54.3% 0.191 336.4);
Tailwind
colors: {
  custom: {
    50: '#ca77b6',
    500: '#af3598',
    950: '#000000',
  },
}
SCSS
$custom: #af3598;
$custom-light: #ca77b6;
$custom-dark: #000000;
JSON
{
  "hex": "#af3598",
  "rgb": {
    "r": 175,
    "g": 53,
    "b": 152
  },
  "hsl": {
    "h": 311.311,
    "s": 53.509,
    "l": 44.706
  },
  "oklch": {
    "l": 0.54347,
    "c": 0.19057,
    "h": 336.4
  },
  "luminance": 0.13927
}

Semantic roles & 50–950 ramp

primary
#AF3598
secondary
#7CC48A
accent
#DD664B
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AF3598

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

Preview Lab → · Contrast checker → · Palette generator →

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