#AF4E6A#AF4E6A

#AF4E6A is a mid, vivid pink. Relative luminance 0.156; OKLCH L 55.5% C 0.129 H 4.1°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#AF4E6A
RGBrgb(175, 78, 106)
HSLhsl(343, 38%, 50%)
HSVhsv(343, 55%, 69%)
CMYKcmyk(0%, 55.4%, 39.4%, 31.4%)
CIE-LABlab(46.45, 42.41, 3.40)
CIE-LCHlch(46.45, 42.55, 4.58°)
OKLaboklab(55.5% 0.1291 0.0093)
OKLCHoklch(55.5% 0.129 4.1)
XYZxyz(23.0064, 15.6057, 15.4335)
Luminance0.1560 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4E6A #4EAF93
analogous
#AF4E9B #AF4E6A #AF624E
triadic
#AF4E6A #6AAF4E #4E6AAF
tetradic
#AF4E6A #9BAF4E #4EAF93 #624EAF
square
#AF4E6A #9BAF4E #4EAF93 #624EAF
split-complementary
#AF4E6A #4EAF62 #4E9BAF
monochromatic
#5A2837 #853B50 #AF4E6A #C3788D #D6A2B1

Accessibility & contrast

On white

5.10
#AF4E6A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#AF4E6A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4E6A
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4E6A#FFFFFF#000000##FFFFFF
##AF4E6A1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60626B
Deuteranopia (green-blind)
#797568
Tritanopia (blue-blind)
#BD4458
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #af4e6a;
/* rgb */ color: rgb(175, 78, 106);
/* oklch */ color: oklch(55.5% 0.129 4.1);
Tailwind
colors: {
  custom: {
    50: '#ca8394',
    500: '#af4e6a',
    950: '#000000',
  },
}
SCSS
$custom: #af4e6a;
$custom-light: #ca8394;
$custom-dark: #000000;
JSON
{
  "hex": "#af4e6a",
  "rgb": {
    "r": 175,
    "g": 78,
    "b": 106
  },
  "hsl": {
    "h": 342.68,
    "s": 38.34,
    "l": 49.608
  },
  "oklch": {
    "l": 0.55504,
    "c": 0.12943,
    "h": 4.1
  },
  "luminance": 0.15603
}

Semantic roles & 50–950 ramp

primary
#AF4E6A
secondary
#96C3B6
accent
#CEAD5A
background
#FCF8F9
surface
#F9EFF1
border
#D2CACB
text
#140B0D
muted
#827C7E

Preview Lab

Preview with #AF4E6A

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

Preview Lab → · Contrast checker → · Palette generator →

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