#AF4E95#AF4E95

#AF4E95 is a mid, vivid pink. Relative luminance 0.167; OKLCH L 57.1% C 0.152 H 338.9°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#AF4E95
RGBrgb(175, 78, 149)
HSLhsl(316, 38%, 50%)
HSVhsv(316, 55%, 69%)
CMYKcmyk(0%, 55.4%, 14.9%, 31.4%)
CIE-LABlab(47.92, 48.33, -20.36)
CIE-LCHlch(47.92, 52.44, 337.16°)
OKLaboklab(57.08% 0.1422 -0.0548)
OKLCHoklch(57.08% 0.152 338.9)
XYZxyz(25.8288, 16.7347, 30.2977)
Luminance0.1673 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4E95 #4EAF68
analogous
#984EAF #AF4E95 #AF4E65
triadic
#AF4E95 #95AF4E #4E95AF
tetradic
#AF4E95 #AF984E #4EAF68 #4E65AF
square
#AF4E95 #AF984E #4EAF68 #4E65AF
split-complementary
#AF4E95 #65AF4E #4EAF98
monochromatic
#5A284D #853B71 #AF4E95 #C378AF #D6A2C8

Accessibility & contrast

On white

4.83
#AF4E95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#AF4E95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4E95
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4E95#FFFFFF#000000##FFFFFF
##AF4E951.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526897
Deuteranopia (green-blind)
#6E7792
Tritanopia (blue-blind)
#B8516B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #af4e95;
/* rgb */ color: rgb(175, 78, 149);
/* oklch */ color: oklch(57.1% 0.152 338.9);
Tailwind
colors: {
  custom: {
    50: '#c984b4',
    500: '#af4e95',
    950: '#000000',
  },
}
SCSS
$custom: #af4e95;
$custom-light: #c984b4;
$custom-dark: #000000;
JSON
{
  "hex": "#af4e95",
  "rgb": {
    "r": 175,
    "g": 78,
    "b": 149
  },
  "hsl": {
    "h": 316.082,
    "s": 38.34,
    "l": 49.608
  },
  "oklch": {
    "l": 0.57084,
    "c": 0.15238,
    "h": 338.9
  },
  "luminance": 0.16733
}

Semantic roles & 50–950 ramp

primary
#AF4E95
secondary
#96C3A2
accent
#CE795A
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#130B11
muted
#827C80

Preview Lab

Preview with #AF4E95

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

Preview Lab → · Contrast checker → · Palette generator →

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