#AF4D6E#AF4D6E

#AF4D6E is a mid, vivid pink. Relative luminance 0.155; OKLCH L 55.5% C 0.132 H 1.2°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#AF4D6E
RGBrgb(175, 77, 110)
HSLhsl(340, 39%, 49%)
HSVhsv(340, 56%, 69%)
CMYKcmyk(0%, 56%, 37.1%, 31.4%)
CIE-LABlab(46.38, 43.38, 0.85)
CIE-LCHlch(46.38, 43.38, 1.13°)
OKLaboklab(55.48% 0.1321 0.0028)
OKLCHoklch(55.48% 0.132 1.2)
XYZxyz(23.1488, 15.5499, 16.5311)
Luminance0.1555 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4D6E #4DAF8E
analogous
#AF4D9F #AF4D6E #AF5D4D
triadic
#AF4D6E #6EAF4D #4D6EAF
tetradic
#AF4D6E #9FAF4D #4DAF8E #5D4DAF
square
#AF4D6E #9FAF4D #4DAF8E #5D4DAF
split-complementary
#AF4D6E #4DAF5D #4D9FAF
monochromatic
#5A2839 #853A53 #AF4D6E #C37690 #D6A1B3

Accessibility & contrast

On white

5.11
#AF4D6E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#AF4D6E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4D6E
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4D6E#FFFFFF#000000##FFFFFF
##AF4D6E1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E626F
Deuteranopia (green-blind)
#77756C
Tritanopia (blue-blind)
#BC4459
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #af4d6e;
/* rgb */ color: rgb(175, 77, 110);
/* oklch */ color: oklch(55.5% 0.132 1.2);
Tailwind
colors: {
  custom: {
    50: '#ca8397',
    500: '#af4d6e',
    950: '#000000',
  },
}
SCSS
$custom: #af4d6e;
$custom-light: #ca8397;
$custom-dark: #000000;
JSON
{
  "hex": "#af4d6e",
  "rgb": {
    "r": 175,
    "g": 77,
    "b": 110
  },
  "hsl": {
    "h": 339.796,
    "s": 38.889,
    "l": 49.412
  },
  "oklch": {
    "l": 0.55485,
    "c": 0.13213,
    "h": 1.2
  },
  "luminance": 0.15548
}

Semantic roles & 50–950 ramp

primary
#AF4D6E
secondary
#95C3B3
accent
#CFA759
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140B0D
muted
#827C7E

Preview Lab

Preview with #AF4D6E

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

Preview Lab → · Contrast checker → · Palette generator →

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