#AF4594#AF4594

#AF4594 is a mid, vivid pink. Relative luminance 0.155; OKLCH L 55.9% C 0.166 H 338.8°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#AF4594
RGBrgb(175, 69, 148)
HSLhsl(315, 43%, 48%)
HSVhsv(315, 61%, 69%)
CMYKcmyk(0%, 60.6%, 15.4%, 31.4%)
CIE-LABlab(46.33, 52.37, -22.22)
CIE-LCHlch(46.33, 56.89, 337.01°)
OKLaboklab(55.89% 0.1545 -0.0599)
OKLCHoklch(55.89% 0.166 338.8)
XYZxyz(25.1530, 15.5104, 29.6803)
Luminance0.1551 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4594 #45AF60
analogous
#9545AF #AF4594 #AF455F
triadic
#AF4594 #94AF45 #4594AF
tetradic
#AF4594 #AF9545 #45AF60 #455FAF
square
#AF4594 #AF9545 #45AF60 #455FAF
split-complementary
#AF4594 #5FAF45 #45AF95
monochromatic
#57224A #83346F #AF4594 #C56CAE #D698C7

Accessibility & contrast

On white

5.12
#AF4594 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#AF4594 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4594
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4594#FFFFFF#000000##FFFFFF
##AF45941.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#496396
Deuteranopia (green-blind)
#697491
Tritanopia (blue-blind)
#B84866
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #af4594;
/* rgb */ color: rgb(175, 69, 148);
/* oklch */ color: oklch(55.9% 0.166 338.8);
Tailwind
colors: {
  custom: {
    50: '#ca7fb3',
    500: '#af4594',
    950: '#000000',
  },
}
SCSS
$custom: #af4594;
$custom-light: #ca7fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#af4594",
  "rgb": {
    "r": 175,
    "g": 69,
    "b": 148
  },
  "hsl": {
    "h": 315.283,
    "s": 43.443,
    "l": 47.843
  },
  "oklch": {
    "l": 0.55891,
    "c": 0.16568,
    "h": 338.8
  },
  "luminance": 0.15508
}

Semantic roles & 50–950 ramp

primary
#AF4594
secondary
#8DC29B
accent
#D37555
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#140A11
muted
#827C80

Preview Lab

Preview with #AF4594

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

Preview Lab → · Contrast checker → · Palette generator →

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