#AF4E7E#AF4E7E

#AF4E7E is a mid, vivid pink. Relative luminance 0.161; OKLCH L 56.2% C 0.137 H 351.5°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#AF4E7E
RGBrgb(175, 78, 126)
HSLhsl(330, 38%, 50%)
HSVhsv(330, 55%, 69%)
CMYKcmyk(0%, 55.4%, 28%, 31.4%)
CIE-LABlab(47.07, 44.93, -7.84)
CIE-LCHlch(47.07, 45.61, 350.10°)
OKLaboklab(56.17% 0.136 -0.0202)
OKLCHoklch(56.17% 0.137 351.5)
XYZxyz(24.1704, 16.0713, 21.5637)
Luminance0.1607 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4E7E #4EAF7F
analogous
#AF4EAF #AF4E7E #AF4E4E
triadic
#AF4E7E #7EAF4E #4E7EAF
tetradic
#AF4E7E #AFAF4E #4EAF7F #4E4EAF
square
#AF4E7E #AFAF4E #4EAF7F #4E4EAF
split-complementary
#AF4E7E #4EAF4E #4EAFAF
monochromatic
#5A2841 #853B60 #AF4E7E #C3789D #D6A2BB

Accessibility & contrast

On white

4.98
#AF4E7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#AF4E7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4E7E
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4E7E#FFFFFF#000000##FFFFFF
##AF4E7E1.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A6580
Deuteranopia (green-blind)
#74767C
Tritanopia (blue-blind)
#BB4A60
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #af4e7e;
/* rgb */ color: rgb(175, 78, 126);
/* oklch */ color: oklch(56.2% 0.137 351.5);
Tailwind
colors: {
  custom: {
    50: '#ca83a3',
    500: '#af4e7e',
    950: '#000000',
  },
}
SCSS
$custom: #af4e7e;
$custom-light: #ca83a3;
$custom-dark: #000000;
JSON
{
  "hex": "#af4e7e",
  "rgb": {
    "r": 175,
    "g": 78,
    "b": 126
  },
  "hsl": {
    "h": 330.309,
    "s": 38.34,
    "l": 49.608
  },
  "oklch": {
    "l": 0.56166,
    "c": 0.13749,
    "h": 351.5
  },
  "luminance": 0.16069
}

Semantic roles & 50–950 ramp

primary
#AF4E7E
secondary
#96C3AD
accent
#CE955A
background
#FCF8FA
surface
#F9EFF3
border
#D2CACD
text
#140B0F
muted
#827C7F

Preview Lab

Preview with #AF4E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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