#AF4E75#AF4E75

#AF4E75 is a mid, vivid pink. Relative luminance 0.158; OKLCH L 55.9% C 0.133 H 357.1°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#AF4E75
RGBrgb(175, 78, 117)
HSLhsl(336, 38%, 50%)
HSVhsv(336, 55%, 69%)
CMYKcmyk(0%, 55.4%, 33.1%, 31.4%)
CIE-LABlab(46.78, 43.75, -2.82)
CIE-LCHlch(46.78, 43.84, 356.31°)
OKLaboklab(55.85% 0.133 -0.0068)
OKLCHoklch(55.85% 0.133 357.1)
XYZxyz(23.6156, 15.8494, 18.6417)
Luminance0.1585 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4E75 #4EAF88
analogous
#AF4EA6 #AF4E75 #AF574E
triadic
#AF4E75 #75AF4E #4E75AF
tetradic
#AF4E75 #A6AF4E #4EAF88 #574EAF
square
#AF4E75 #A6AF4E #4EAF88 #574EAF
split-complementary
#AF4E75 #4EAF57 #4EA6AF
monochromatic
#5A283C #853B59 #AF4E75 #C37896 #D6A2B7

Accessibility & contrast

On white

5.04
#AF4E75 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#AF4E75 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4E75
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4E75#FFFFFF#000000##FFFFFF
##AF4E751.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D6476
Deuteranopia (green-blind)
#767673
Tritanopia (blue-blind)
#BC475D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #af4e75;
/* rgb */ color: rgb(175, 78, 117);
/* oklch */ color: oklch(55.9% 0.133 357.1);
Tailwind
colors: {
  custom: {
    50: '#ca839c',
    500: '#af4e75',
    950: '#000000',
  },
}
SCSS
$custom: #af4e75;
$custom-light: #ca839c;
$custom-dark: #000000;
JSON
{
  "hex": "#af4e75",
  "rgb": {
    "r": 175,
    "g": 78,
    "b": 117
  },
  "hsl": {
    "h": 335.876,
    "s": 38.34,
    "l": 49.608
  },
  "oklch": {
    "l": 0.55852,
    "c": 0.13322,
    "h": 357.1
  },
  "luminance": 0.15847
}

Semantic roles & 50–950 ramp

primary
#AF4E75
secondary
#96C3B1
accent
#CE9F5A
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140B0E
muted
#827C7E

Preview Lab

Preview with #AF4E75

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

Preview Lab → · Contrast checker → · Palette generator →

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