#AF4584#AF4584

#AF4584 is a mid, vivid pink. Relative luminance 0.150; OKLCH L 55.2% C 0.155 H 346.7°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#AF4584
RGBrgb(175, 69, 132)
HSLhsl(324, 43%, 48%)
HSVhsv(324, 61%, 69%)
CMYKcmyk(0%, 60.6%, 24.6%, 31.4%)
CIE-LABlab(45.69, 50.02, -13.55)
CIE-LCHlch(45.69, 51.82, 344.84°)
OKLaboklab(55.21% 0.1508 -0.0357)
OKLCHoklch(55.21% 0.155 346.7)
XYZxyz(23.9730, 15.0384, 23.4655)
Luminance0.1504 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4584 #45AF70
analogous
#A545AF #AF4584 #AF454F
triadic
#AF4584 #84AF45 #4584AF
tetradic
#AF4584 #AFA545 #45AF70 #454FAF
square
#AF4584 #AFA545 #45AF70 #454FAF
split-complementary
#AF4584 #4FAF45 #45AFA5
monochromatic
#572242 #833463 #AF4584 #C56CA1 #D698BD

Accessibility & contrast

On white

5.24
#AF4584 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#AF4584 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4584
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4584#FFFFFF#000000##FFFFFF
##AF45841.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#506186
Deuteranopia (green-blind)
#6E7381
Tritanopia (blue-blind)
#BA435F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #af4584;
/* rgb */ color: rgb(175, 69, 132);
/* oklch */ color: oklch(55.2% 0.155 346.7);
Tailwind
colors: {
  custom: {
    50: '#ca7ea7',
    500: '#af4584',
    950: '#000000',
  },
}
SCSS
$custom: #af4584;
$custom-light: #ca7ea7;
$custom-dark: #000000;
JSON
{
  "hex": "#af4584",
  "rgb": {
    "r": 175,
    "g": 69,
    "b": 132
  },
  "hsl": {
    "h": 324.34,
    "s": 43.443,
    "l": 47.843
  },
  "oklch": {
    "l": 0.5521,
    "c": 0.15494,
    "h": 346.7
  },
  "luminance": 0.15036
}

Semantic roles & 50–950 ramp

primary
#AF4584
secondary
#8DC2A3
accent
#D38855
background
#FCF8FA
surface
#F9EFF4
border
#D2CACE
text
#140A0F
muted
#827C7F

Preview Lab

Preview with #AF4584

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

Preview Lab → · Contrast checker → · Palette generator →

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