#AF4E6E#AF4E6E

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

Color values

HEX#AF4E6E
RGBrgb(175, 78, 110)
HSLhsl(340, 38%, 50%)
HSVhsv(340, 55%, 69%)
CMYKcmyk(0%, 55.4%, 37.1%, 31.4%)
CIE-LABlab(46.57, 42.88, 1.13)
CIE-LCHlch(46.57, 42.90, 1.51°)
OKLaboklab(55.63% 0.1306 0.0035)
OKLCHoklch(55.63% 0.131 1.5)
XYZxyz(23.2193, 15.6909, 16.5547)
Luminance0.1569 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4E6E #4EAF8F
analogous
#AF4E9F #AF4E6E #AF5E4E
triadic
#AF4E6E #6EAF4E #4E6EAF
tetradic
#AF4E6E #9FAF4E #4EAF8F #5E4EAF
square
#AF4E6E #9FAF4E #4EAF8F #5E4EAF
split-complementary
#AF4E6E #4EAF5E #4E9FAF
monochromatic
#5A2839 #853B53 #AF4E6E #C37890 #D6A2B3

Accessibility & contrast

On white

5.08
#AF4E6E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF4E6E
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4E6E#FFFFFF#000000##FFFFFF
##AF4E6E1.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F636F
Deuteranopia (green-blind)
#78756C
Tritanopia (blue-blind)
#BC455A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #af4e6e;
/* rgb */ color: rgb(175, 78, 110);
/* oklch */ color: oklch(55.6% 0.131 1.5);
Tailwind
colors: {
  custom: {
    50: '#ca8397',
    500: '#af4e6e',
    950: '#000000',
  },
}
SCSS
$custom: #af4e6e;
$custom-light: #ca8397;
$custom-dark: #000000;
JSON
{
  "hex": "#af4e6e",
  "rgb": {
    "r": 175,
    "g": 78,
    "b": 110
  },
  "hsl": {
    "h": 340.206,
    "s": 38.34,
    "l": 49.608
  },
  "oklch": {
    "l": 0.55626,
    "c": 0.13062,
    "h": 1.5
  },
  "luminance": 0.15689
}

Semantic roles & 50–950 ramp

primary
#AF4E6E
secondary
#96C3B4
accent
#CEA85A
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140B0D
muted
#827C7E

Preview Lab

Preview with #AF4E6E

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

Preview Lab → · Contrast checker → · Palette generator →

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