#AF3992#AF3992

#AF3992 is a mid, vivid pink. Relative luminance 0.141; OKLCH L 54.5% C 0.181 H 339.0°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#AF3992
RGBrgb(175, 57, 146)
HSLhsl(315, 51%, 45%)
HSVhsv(315, 67%, 69%)
CMYKcmyk(0%, 67.4%, 16.6%, 31.4%)
CIE-LABlab(44.40, 57.13, -23.99)
CIE-LCHlch(44.40, 61.96, 337.22°)
OKLaboklab(54.45% 0.1692 -0.0648)
OKLCHoklch(54.45% 0.181 339)
XYZxyz(24.3312, 14.1177, 28.6321)
Luminance0.1412 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3992 #39AF56
analogous
#9139AF #AF3992 #AF3957
triadic
#AF3992 #92AF39 #3992AF
tetradic
#AF3992 #AF9139 #39AF56 #3957AF
square
#AF3992 #AF9139 #39AF56 #3957AF
split-complementary
#AF3992 #57AF39 #39AF91
monochromatic
#531B45 #812A6B #AF3992 #CA5BAF #D98AC5

Accessibility & contrast

On white

5.49
#AF3992 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#AF3992 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3992
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3992#FFFFFF#000000##FFFFFF
##AF39921.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5D95
Deuteranopia (green-blind)
#64708F
Tritanopia (blue-blind)
#B93D60
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #af3992;
/* rgb */ color: rgb(175, 57, 146);
/* oklch */ color: oklch(54.5% 0.181 339.0);
Tailwind
colors: {
  custom: {
    50: '#ca78b2',
    500: '#af3992',
    950: '#000000',
  },
}
SCSS
$custom: #af3992;
$custom-light: #ca78b2;
$custom-dark: #000000;
JSON
{
  "hex": "#af3992",
  "rgb": {
    "r": 175,
    "g": 57,
    "b": 146
  },
  "hsl": {
    "h": 314.746,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.54454,
    "c": 0.18123,
    "h": 339
  },
  "luminance": 0.14116
}

Semantic roles & 50–950 ramp

primary
#AF3992
secondary
#81C391
accent
#DA704D
background
#FCF7FA
surface
#F9EEF5
border
#D2C9CF
text
#140A11
muted
#827C80

Preview Lab

Preview with #AF3992

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

Preview Lab → · Contrast checker → · Palette generator →

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