#AF4D96#AF4D96

#AF4D96 is a mid, vivid pink. Relative luminance 0.166; OKLCH L 57.0% C 0.155 H 338.4°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#AF4D96
RGBrgb(175, 77, 150)
HSLhsl(315, 39%, 49%)
HSVhsv(315, 56%, 69%)
CMYKcmyk(0%, 56%, 14.3%, 31.4%)
CIE-LABlab(47.78, 48.97, -21.17)
CIE-LCHlch(47.78, 53.35, 336.62°)
OKLaboklab(56.99% 0.1439 -0.057)
OKLCHoklch(56.99% 0.155 338.4)
XYZxyz(25.8384, 16.6257, 30.6965)
Luminance0.1662 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4D96 #4DAF66
analogous
#974DAF #AF4D96 #AF4D65
triadic
#AF4D96 #96AF4D #4D96AF
tetradic
#AF4D96 #AF974D #4DAF66 #4D65AF
square
#AF4D96 #AF974D #4DAF66 #4D65AF
split-complementary
#AF4D96 #65AF4D #4DAF97
monochromatic
#5A284D #853A72 #AF4D96 #C376AF #D6A1C8

Accessibility & contrast

On white

4.86
#AF4D96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#AF4D96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4D96
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4D96#FFFFFF#000000##FFFFFF
##AF4D961.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#506898
Deuteranopia (green-blind)
#6D7793
Tritanopia (blue-blind)
#B8506B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #af4d96;
/* rgb */ color: rgb(175, 77, 150);
/* oklch */ color: oklch(57.0% 0.155 338.4);
Tailwind
colors: {
  custom: {
    50: '#c983b5',
    500: '#af4d96',
    950: '#000000',
  },
}
SCSS
$custom: #af4d96;
$custom-light: #c983b5;
$custom-dark: #000000;
JSON
{
  "hex": "#af4d96",
  "rgb": {
    "r": 175,
    "g": 77,
    "b": 150
  },
  "hsl": {
    "h": 315.306,
    "s": 38.889,
    "l": 49.412
  },
  "oklch": {
    "l": 0.56994,
    "c": 0.15474,
    "h": 338.4
  },
  "luminance": 0.16624
}

Semantic roles & 50–950 ramp

primary
#AF4D96
secondary
#95C3A1
accent
#CF7759
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#130B11
muted
#827C80

Preview Lab

Preview with #AF4D96

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

Preview Lab → · Contrast checker → · Palette generator →

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