#AF4585#AF4585

#AF4585 is a mid, vivid pink. Relative luminance 0.151; OKLCH L 55.3% C 0.156 H 346.1°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#AF4585
RGBrgb(175, 69, 133)
HSLhsl(324, 43%, 48%)
HSVhsv(324, 61%, 69%)
CMYKcmyk(0%, 60.6%, 24%, 31.4%)
CIE-LABlab(45.72, 50.16, -14.10)
CIE-LCHlch(45.72, 52.10, 344.30°)
OKLaboklab(55.25% 0.151 -0.0373)
OKLCHoklch(55.25% 0.156 346.1)
XYZxyz(24.0418, 15.0659, 23.8276)
Luminance0.1506 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4585 #45AF6F
analogous
#A445AF #AF4585 #AF4550
triadic
#AF4585 #85AF45 #4585AF
tetradic
#AF4585 #AFA445 #45AF6F #4550AF
square
#AF4585 #AFA445 #45AF6F #4550AF
split-complementary
#AF4585 #50AF45 #45AFA4
monochromatic
#572242 #833464 #AF4585 #C56CA2 #D698BE

Accessibility & contrast

On white

5.23
#AF4585 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF4585
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4585#FFFFFF#000000##FFFFFF
##AF45851.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af4585;
/* rgb */ color: rgb(175, 69, 133);
/* oklch */ color: oklch(55.3% 0.156 346.1);
Tailwind
colors: {
  custom: {
    50: '#ca7ea8',
    500: '#af4585',
    950: '#000000',
  },
}
SCSS
$custom: #af4585;
$custom-light: #ca7ea8;
$custom-dark: #000000;
JSON
{
  "hex": "#af4585",
  "rgb": {
    "r": 175,
    "g": 69,
    "b": 133
  },
  "hsl": {
    "h": 323.774,
    "s": 43.443,
    "l": 47.843
  },
  "oklch": {
    "l": 0.55251,
    "c": 0.15556,
    "h": 346.1
  },
  "luminance": 0.15064
}

Semantic roles & 50–950 ramp

primary
#AF4585
secondary
#8DC2A2
accent
#D38755
background
#FCF8FA
surface
#F9EFF4
border
#D2CACE
text
#140A0F
muted
#827C7F

Preview Lab

Preview with #AF4585

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

Preview Lab → · Contrast checker → · Palette generator →

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