#AF4E6B#AF4E6B

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

Color values

HEX#AF4E6B
RGBrgb(175, 78, 107)
HSLhsl(342, 38%, 50%)
HSVhsv(342, 55%, 69%)
CMYKcmyk(0%, 55.4%, 38.9%, 31.4%)
CIE-LABlab(46.48, 42.53, 2.83)
CIE-LCHlch(46.48, 42.62, 3.81°)
OKLaboklab(55.53% 0.1295 0.0079)
OKLCHoklch(55.53% 0.13 3.5)
XYZxyz(23.0587, 15.6267, 15.7090)
Luminance0.1562 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4E6B #4EAF92
analogous
#AF4E9C #AF4E6B #AF624E
triadic
#AF4E6B #6BAF4E #4E6BAF
tetradic
#AF4E6B #9CAF4E #4EAF92 #624EAF
square
#AF4E6B #9CAF4E #4EAF92 #624EAF
split-complementary
#AF4E6B #4EAF62 #4E9CAF
monochromatic
#5A2837 #853B51 #AF4E6B #C3788E #D6A2B1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF4E6B#FFFFFF#000000##FFFFFF
##AF4E6B1.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F636C
Deuteranopia (green-blind)
#797569
Tritanopia (blue-blind)
#BD4559
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #af4e6b;
/* rgb */ color: rgb(175, 78, 107);
/* oklch */ color: oklch(55.5% 0.130 3.5);
Tailwind
colors: {
  custom: {
    50: '#ca8395',
    500: '#af4e6b',
    950: '#000000',
  },
}
SCSS
$custom: #af4e6b;
$custom-light: #ca8395;
$custom-dark: #000000;
JSON
{
  "hex": "#af4e6b",
  "rgb": {
    "r": 175,
    "g": 78,
    "b": 107
  },
  "hsl": {
    "h": 342.062,
    "s": 38.34,
    "l": 49.608
  },
  "oklch": {
    "l": 0.55534,
    "c": 0.12971,
    "h": 3.5
  },
  "luminance": 0.15624
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF4E6B

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

Preview Lab → · Contrast checker → · Palette generator →

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