#AF3993#AF3993

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

Color values

HEX#AF3993
RGBrgb(175, 57, 147)
HSLhsl(314, 51%, 45%)
HSVhsv(314, 67%, 69%)
CMYKcmyk(0%, 67.4%, 16%, 31.4%)
CIE-LABlab(44.45, 57.27, -24.53)
CIE-LCHlch(44.45, 62.30, 336.82°)
OKLaboklab(54.5% 0.1694 -0.0663)
OKLCHoklch(54.5% 0.182 338.6)
XYZxyz(24.4093, 14.1490, 29.0436)
Luminance0.1415 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3993 #39AF55
analogous
#9039AF #AF3993 #AF3958
triadic
#AF3993 #93AF39 #3993AF
tetradic
#AF3993 #AF9039 #39AF55 #3958AF
square
#AF3993 #AF9039 #39AF55 #3958AF
split-complementary
#AF3993 #58AF39 #39AF90
monochromatic
#531B45 #812A6C #AF3993 #CA5BB0 #D98AC6

Accessibility & contrast

On white

5.48
#AF3993 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#AF3993 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3993
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3993#FFFFFF#000000##FFFFFF
##AF39931.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5D96
Deuteranopia (green-blind)
#647090
Tritanopia (blue-blind)
#B93E61
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #af3993;
/* rgb */ color: rgb(175, 57, 147);
/* oklch */ color: oklch(54.5% 0.182 338.6);
Tailwind
colors: {
  custom: {
    50: '#ca78b3',
    500: '#af3993',
    950: '#000000',
  },
}
SCSS
$custom: #af3993;
$custom-light: #ca78b3;
$custom-dark: #000000;
JSON
{
  "hex": "#af3993",
  "rgb": {
    "r": 175,
    "g": 57,
    "b": 147
  },
  "hsl": {
    "h": 314.237,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.54501,
    "c": 0.18192,
    "h": 338.6
  },
  "luminance": 0.14147
}

Semantic roles & 50–950 ramp

primary
#AF3993
secondary
#81C390
accent
#DA6F4D
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140A11
muted
#827C80

Preview Lab

Preview with #AF3993

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

Preview Lab → · Contrast checker → · Palette generator →

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