#AF4597#AF4597

#AF4597 is a mid, vivid pink. Relative luminance 0.156; OKLCH L 56.0% C 0.168 H 337.4°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#AF4597
RGBrgb(175, 69, 151)
HSLhsl(314, 43%, 48%)
HSVhsv(314, 61%, 69%)
CMYKcmyk(0%, 60.6%, 13.7%, 31.4%)
CIE-LABlab(46.45, 52.83, -23.82)
CIE-LCHlch(46.45, 57.95, 335.73°)
OKLaboklab(56.03% 0.155 -0.0644)
OKLCHoklch(56.03% 0.168 337.4)
XYZxyz(25.3936, 15.6066, 30.9471)
Luminance0.1560 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4597 #45AF5D
analogous
#9245AF #AF4597 #AF4562
triadic
#AF4597 #97AF45 #4597AF
tetradic
#AF4597 #AF9245 #45AF5D #4562AF
square
#AF4597 #AF9245 #45AF5D #4562AF
split-complementary
#AF4597 #62AF45 #45AF92
monochromatic
#57224B #833471 #AF4597 #C56CB1 #D698C8

Accessibility & contrast

On white

5.10
#AF4597 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#AF4597 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4597
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4597#FFFFFF#000000##FFFFFF
##AF45971.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af4597;
/* rgb */ color: rgb(175, 69, 151);
/* oklch */ color: oklch(56.0% 0.168 337.4);
Tailwind
colors: {
  custom: {
    50: '#ca7fb5',
    500: '#af4597',
    950: '#000000',
  },
}
SCSS
$custom: #af4597;
$custom-light: #ca7fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#af4597",
  "rgb": {
    "r": 175,
    "g": 69,
    "b": 151
  },
  "hsl": {
    "h": 313.585,
    "s": 43.443,
    "l": 47.843
  },
  "oklch": {
    "l": 0.56027,
    "c": 0.16789,
    "h": 337.4
  },
  "luminance": 0.15605
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF4597

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

Preview Lab → · Contrast checker → · Palette generator →

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