#AF4E6C#AF4E6C

#AF4E6C is a mid, vivid pink. Relative luminance 0.156; OKLCH L 55.6% C 0.130 H 2.8°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#AF4E6C
RGBrgb(175, 78, 108)
HSLhsl(341, 38%, 50%)
HSVhsv(341, 55%, 69%)
CMYKcmyk(0%, 55.4%, 38.3%, 31.4%)
CIE-LABlab(46.51, 42.65, 2.26)
CIE-LCHlch(46.51, 42.71, 3.04°)
OKLaboklab(55.56% 0.1298 0.0064)
OKLCHoklch(55.56% 0.13 2.8)
XYZxyz(23.1117, 15.6478, 15.9876)
Luminance0.1565 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4E6C #4EAF91
analogous
#AF4E9D #AF4E6C #AF604E
triadic
#AF4E6C #6CAF4E #4E6CAF
tetradic
#AF4E6C #9DAF4E #4EAF91 #604EAF
square
#AF4E6C #9DAF4E #4EAF91 #604EAF
split-complementary
#AF4E6C #4EAF60 #4E9DAF
monochromatic
#5A2838 #853B52 #AF4E6C #C3788F #D6A2B2

Accessibility & contrast

On white

5.09
#AF4E6C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#AF4E6C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4E6C
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4E6C#FFFFFF#000000##FFFFFF
##AF4E6C1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F636D
Deuteranopia (green-blind)
#78756A
Tritanopia (blue-blind)
#BC4559
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #af4e6c;
/* rgb */ color: rgb(175, 78, 108);
/* oklch */ color: oklch(55.6% 0.130 2.8);
Tailwind
colors: {
  custom: {
    50: '#ca8396',
    500: '#af4e6c',
    950: '#000000',
  },
}
SCSS
$custom: #af4e6c;
$custom-light: #ca8396;
$custom-dark: #000000;
JSON
{
  "hex": "#af4e6c",
  "rgb": {
    "r": 175,
    "g": 78,
    "b": 108
  },
  "hsl": {
    "h": 341.443,
    "s": 38.34,
    "l": 49.608
  },
  "oklch": {
    "l": 0.55564,
    "c": 0.13,
    "h": 2.8
  },
  "luminance": 0.15645
}

Semantic roles & 50–950 ramp

primary
#AF4E6C
secondary
#96C3B5
accent
#CEAA5A
background
#FCF8F9
surface
#F9EFF1
border
#D2CACB
text
#140B0D
muted
#827C7E

Preview Lab

Preview with #AF4E6C

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

Preview Lab → · Contrast checker → · Palette generator →

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