#AF4E7A#AF4E7A

#AF4E7A is a mid, vivid pink. Relative luminance 0.160; OKLCH L 56.0% C 0.135 H 353.9°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#AF4E7A
RGBrgb(175, 78, 122)
HSLhsl(333, 38%, 50%)
HSVhsv(333, 55%, 69%)
CMYKcmyk(0%, 55.4%, 30.3%, 31.4%)
CIE-LABlab(46.94, 44.39, -5.62)
CIE-LCHlch(46.94, 44.75, 352.79°)
OKLaboklab(56.02% 0.1347 -0.0143)
OKLCHoklch(56.02% 0.135 353.9)
XYZxyz(23.9175, 15.9702, 20.2315)
Luminance0.1597 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4E7A #4EAF83
analogous
#AF4EAA #AF4E7A #AF534E
triadic
#AF4E7A #7AAF4E #4E7AAF
tetradic
#AF4E7A #AAAF4E #4EAF83 #534EAF
square
#AF4E7A #AAAF4E #4EAF83 #534EAF
split-complementary
#AF4E7A #4EAF53 #4EAAAF
monochromatic
#5A283F #853B5C #AF4E7A #C3789A #D6A2B9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF4E7A#FFFFFF#000000##FFFFFF
##AF4E7A1.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)
#5B647B
Deuteranopia (green-blind)
#757678
Tritanopia (blue-blind)
#BB495F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #af4e7a;
/* rgb */ color: rgb(175, 78, 122);
/* oklch */ color: oklch(56.0% 0.135 353.9);
Tailwind
colors: {
  custom: {
    50: '#ca83a0',
    500: '#af4e7a',
    950: '#000000',
  },
}
SCSS
$custom: #af4e7a;
$custom-light: #ca83a0;
$custom-dark: #000000;
JSON
{
  "hex": "#af4e7a",
  "rgb": {
    "r": 175,
    "g": 78,
    "b": 122
  },
  "hsl": {
    "h": 332.784,
    "s": 38.34,
    "l": 49.608
  },
  "oklch": {
    "l": 0.56024,
    "c": 0.13546,
    "h": 353.9
  },
  "luminance": 0.15968
}

Semantic roles & 50–950 ramp

primary
#AF4E7A
secondary
#96C3AE
accent
#CE995A
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140B0E
muted
#827C7E

Preview Lab

Preview with #AF4E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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