#AF4E92#AF4E92

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

Color values

HEX#AF4E92
RGBrgb(175, 78, 146)
HSLhsl(318, 38%, 50%)
HSVhsv(318, 55%, 69%)
CMYKcmyk(0%, 55.4%, 16.6%, 31.4%)
CIE-LABlab(47.80, 47.86, -18.75)
CIE-LCHlch(47.80, 51.40, 338.60°)
OKLaboklab(56.96% 0.1415 -0.0503)
OKLCHoklch(56.96% 0.15 340.4)
XYZxyz(25.5923, 16.6401, 29.0525)
Luminance0.1664 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4E92 #4EAF6B
analogous
#9C4EAF #AF4E92 #AF4E62
triadic
#AF4E92 #92AF4E #4E92AF
tetradic
#AF4E92 #AF9C4E #4EAF6B #4E62AF
square
#AF4E92 #AF9C4E #4EAF6B #4E62AF
split-complementary
#AF4E92 #62AF4E #4EAF9C
monochromatic
#5A284B #853B6F #AF4E92 #C378AC #D6A2C6

Accessibility & contrast

On white

4.85
#AF4E92 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#AF4E92 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4E92
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4E92#FFFFFF#000000##FFFFFF
##AF4E921.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536894
Deuteranopia (green-blind)
#6F778F
Tritanopia (blue-blind)
#B85069
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #af4e92;
/* rgb */ color: rgb(175, 78, 146);
/* oklch */ color: oklch(57.0% 0.150 340.4);
Tailwind
colors: {
  custom: {
    50: '#c984b2',
    500: '#af4e92',
    950: '#000000',
  },
}
SCSS
$custom: #af4e92;
$custom-light: #c984b2;
$custom-dark: #000000;
JSON
{
  "hex": "#af4e92",
  "rgb": {
    "r": 175,
    "g": 78,
    "b": 146
  },
  "hsl": {
    "h": 317.938,
    "s": 38.34,
    "l": 49.608
  },
  "oklch": {
    "l": 0.56955,
    "c": 0.15017,
    "h": 340.4
  },
  "luminance": 0.16638
}

Semantic roles & 50–950 ramp

primary
#AF4E92
secondary
#96C3A3
accent
#CE7C5A
background
#FCF8FA
surface
#F9EFF5
border
#D2CACF
text
#130B11
muted
#827C80

Preview Lab

Preview with #AF4E92

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

Preview Lab → · Contrast checker → · Palette generator →

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