#AF4E6F#AF4E6F

#AF4E6F is a mid, vivid pink. Relative luminance 0.157; OKLCH L 55.7% C 0.131 H 0.9°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#AF4E6F
RGBrgb(175, 78, 111)
HSLhsl(340, 38%, 50%)
HSVhsv(340, 55%, 69%)
CMYKcmyk(0%, 55.4%, 36.6%, 31.4%)
CIE-LABlab(46.60, 43.00, 0.56)
CIE-LCHlch(46.60, 43.01, 0.75°)
OKLaboklab(55.66% 0.1309 0.002)
OKLCHoklch(55.66% 0.131 0.9)
XYZxyz(23.2741, 15.7128, 16.8430)
Luminance0.1571 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4E6F #4EAF8E
analogous
#AF4E9F #AF4E6F #AF5E4E
triadic
#AF4E6F #6FAF4E #4E6FAF
tetradic
#AF4E6F #9FAF4E #4EAF8E #5E4EAF
square
#AF4E6F #9FAF4E #4EAF8E #5E4EAF
split-complementary
#AF4E6F #4EAF5E #4E9FAF
monochromatic
#5A2839 #853B54 #AF4E6F #C37891 #D6A2B3

Accessibility & contrast

On white

5.07
#AF4E6F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#AF4E6F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4E6F
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4E6F#FFFFFF#000000##FFFFFF
##AF4E6F1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E6370
Deuteranopia (green-blind)
#78756D
Tritanopia (blue-blind)
#BC465A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #af4e6f;
/* rgb */ color: rgb(175, 78, 111);
/* oklch */ color: oklch(55.7% 0.131 0.9);
Tailwind
colors: {
  custom: {
    50: '#ca8398',
    500: '#af4e6f',
    950: '#000000',
  },
}
SCSS
$custom: #af4e6f;
$custom-light: #ca8398;
$custom-dark: #000000;
JSON
{
  "hex": "#af4e6f",
  "rgb": {
    "r": 175,
    "g": 78,
    "b": 111
  },
  "hsl": {
    "h": 339.588,
    "s": 38.34,
    "l": 49.608
  },
  "oklch": {
    "l": 0.55657,
    "c": 0.13095,
    "h": 0.9
  },
  "luminance": 0.1571
}

Semantic roles & 50–950 ramp

primary
#AF4E6F
secondary
#96C3B3
accent
#CEA75A
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140B0D
muted
#827C7E

Preview Lab

Preview with #AF4E6F

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

Preview Lab → · Contrast checker → · Palette generator →

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