#AF3393#AF3393

#AF3393 is a mid, vivid pink. Relative luminance 0.136; OKLCH L 53.9% C 0.190 H 338.4°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#AF3393
RGBrgb(175, 51, 147)
HSLhsl(314, 55%, 44%)
HSVhsv(314, 71%, 69%)
CMYKcmyk(0%, 70.9%, 16%, 31.4%)
CIE-LABlab(43.64, 59.53, -25.78)
CIE-LCHlch(43.64, 64.87, 336.59°)
OKLaboklab(53.92% 0.1762 -0.0698)
OKLCHoklch(53.92% 0.19 338.4)
XYZxyz(24.1300, 13.5904, 28.9505)
Luminance0.1359 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3393 #33AF4F
analogous
#8D33AF #AF3393 #AF3355
triadic
#AF3393 #93AF33 #3393AF
tetradic
#AF3393 #AF8D33 #33AF4F #3355AF
square
#AF3393 #AF8D33 #33AF4F #3355AF
split-complementary
#AF3393 #55AF33 #33AF8D
monochromatic
#501743 #80256B #AF3393 #CD52B1 #DB82C7

Accessibility & contrast

On white

5.65
#AF3393 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#AF3393 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3393
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3393#FFFFFF#000000##FFFFFF
##AF33931.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395B96
Deuteranopia (green-blind)
#616E90
Tritanopia (blue-blind)
#B9395F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #af3393;
/* rgb */ color: rgb(175, 51, 147);
/* oklch */ color: oklch(53.9% 0.190 338.4);
Tailwind
colors: {
  custom: {
    50: '#ca76b3',
    500: '#af3393',
    950: '#000000',
  },
}
SCSS
$custom: #af3393;
$custom-light: #ca76b3;
$custom-dark: #000000;
JSON
{
  "hex": "#af3393",
  "rgb": {
    "r": 175,
    "g": 51,
    "b": 147
  },
  "hsl": {
    "h": 313.548,
    "s": 54.867,
    "l": 44.314
  },
  "oklch": {
    "l": 0.53915,
    "c": 0.18951,
    "h": 338.4
  },
  "luminance": 0.13588
}

Semantic roles & 50–950 ramp

primary
#AF3393
secondary
#7AC48B
accent
#DE6B4A
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AF3393

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

Preview Lab → · Contrast checker → · Palette generator →

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