#AF4F73#AF4F73

#AF4F73 is a mid, vivid pink. Relative luminance 0.159; OKLCH L 55.9% C 0.131 H 358.6°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#AF4F73
RGBrgb(175, 79, 115)
HSLhsl(338, 38%, 50%)
HSVhsv(338, 55%, 69%)
CMYKcmyk(0%, 54.9%, 34.3%, 31.4%)
CIE-LABlab(46.90, 43.00, -1.42)
CIE-LCHlch(46.90, 43.02, 358.11°)
OKLaboklab(55.93% 0.1308 -0.0032)
OKLCHoklch(55.93% 0.131 358.6)
XYZxyz(23.5708, 15.9461, 18.0529)
Luminance0.1594 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4F73 #4FAF8B
analogous
#AF4FA3 #AF4F73 #AF5B4F
triadic
#AF4F73 #73AF4F #4F73AF
tetradic
#AF4F73 #A3AF4F #4FAF8B #5B4FAF
square
#AF4F73 #A3AF4F #4FAF8B #5B4FAF
split-complementary
#AF4F73 #4FAF5B #4FA3AF
monochromatic
#5B293C #853C57 #AF4F73 #C27994 #D5A3B6

Accessibility & contrast

On white

5.01
#AF4F73 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#AF4F73 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4F73
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4F73#FFFFFF#000000##FFFFFF
##AF4F731.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E6474
Deuteranopia (green-blind)
#777671
Tritanopia (blue-blind)
#BC485C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #af4f73;
/* rgb */ color: rgb(175, 79, 115);
/* oklch */ color: oklch(55.9% 0.131 358.6);
Tailwind
colors: {
  custom: {
    50: '#ca849b',
    500: '#af4f73',
    950: '#000000',
  },
}
SCSS
$custom: #af4f73;
$custom-light: #ca849b;
$custom-dark: #000000;
JSON
{
  "hex": "#af4f73",
  "rgb": {
    "r": 175,
    "g": 79,
    "b": 115
  },
  "hsl": {
    "h": 337.5,
    "s": 37.795,
    "l": 49.804
  },
  "oklch": {
    "l": 0.55928,
    "c": 0.13085,
    "h": 358.6
  },
  "luminance": 0.15944
}

Semantic roles & 50–950 ramp

primary
#AF4F73
secondary
#97C3B2
accent
#CEA25A
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140B0E
muted
#827C7E

Preview Lab

Preview with #AF4F73

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

Preview Lab → · Contrast checker → · Palette generator →

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