#AF4785#AF4785

#AF4785 is a mid, vivid pink. Relative luminance 0.153; OKLCH L 55.5% C 0.153 H 346.4°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#AF4785
RGBrgb(175, 71, 133)
HSLhsl(324, 42%, 48%)
HSVhsv(324, 59%, 69%)
CMYKcmyk(0%, 59.4%, 24%, 31.4%)
CIE-LABlab(46.06, 49.24, -13.59)
CIE-LCHlch(46.06, 51.08, 344.58°)
OKLaboklab(55.5% 0.1482 -0.0359)
OKLCHoklch(55.5% 0.153 346.4)
XYZxyz(24.1669, 15.3161, 23.8693)
Luminance0.1531 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4785 #47AF71
analogous
#A547AF #AF4785 #AF4751
triadic
#AF4785 #85AF47 #4785AF
tetradic
#AF4785 #AFA547 #47AF71 #4751AF
square
#AF4785 #AFA547 #47AF71 #4751AF
split-complementary
#AF4785 #51AF47 #47AFA5
monochromatic
#582443 #833564 #AF4785 #C46FA2 #D69ABE

Accessibility & contrast

On white

5.17
#AF4785 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#AF4785 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4785
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4785#FFFFFF#000000##FFFFFF
##AF47851.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526287
Deuteranopia (green-blind)
#6F7482
Tritanopia (blue-blind)
#BA4560
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #af4785;
/* rgb */ color: rgb(175, 71, 133);
/* oklch */ color: oklch(55.5% 0.153 346.4);
Tailwind
colors: {
  custom: {
    50: '#ca80a8',
    500: '#af4785',
    950: '#000000',
  },
}
SCSS
$custom: #af4785;
$custom-light: #ca80a8;
$custom-dark: #000000;
JSON
{
  "hex": "#af4785",
  "rgb": {
    "r": 175,
    "g": 71,
    "b": 133
  },
  "hsl": {
    "h": 324.231,
    "s": 42.276,
    "l": 48.235
  },
  "oklch": {
    "l": 0.55502,
    "c": 0.15251,
    "h": 346.4
  },
  "luminance": 0.15314
}

Semantic roles & 50–950 ramp

primary
#AF4785
secondary
#8FC2A4
accent
#D28856
background
#FCF8FA
surface
#F9EFF4
border
#D2CACE
text
#140A0F
muted
#827C7F

Preview Lab

Preview with #AF4785

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

Preview Lab → · Contrast checker → · Palette generator →

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