#AF3493#AF3493

#AF3493 is a mid, vivid pink. Relative luminance 0.137; OKLCH L 54.0% C 0.188 H 338.4°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#AF3493
RGBrgb(175, 52, 147)
HSLhsl(314, 54%, 45%)
HSVhsv(314, 70%, 69%)
CMYKcmyk(0%, 70.3%, 16%, 31.4%)
CIE-LABlab(43.77, 59.17, -25.58)
CIE-LCHlch(43.77, 64.46, 336.62°)
OKLaboklab(54.01% 0.1751 -0.0693)
OKLCHoklch(54.01% 0.188 338.4)
XYZxyz(24.1742, 13.6788, 28.9652)
Luminance0.1368 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3493 #34AF50
analogous
#8E34AF #AF3493 #AF3455
triadic
#AF3493 #93AF34 #3493AF
tetradic
#AF3493 #AF8E34 #34AF50 #3455AF
square
#AF3493 #AF8E34 #34AF50 #3455AF
split-complementary
#AF3493 #55AF34 #34AF8E
monochromatic
#511844 #80266B #AF3493 #CC54B1 #DA83C6

Accessibility & contrast

On white

5.62
#AF3493 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#AF3493 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3493
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3493#FFFFFF#000000##FFFFFF
##AF34931.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af3493;
/* rgb */ color: rgb(175, 52, 147);
/* oklch */ color: oklch(54.0% 0.188 338.4);
Tailwind
colors: {
  custom: {
    50: '#ca76b3',
    500: '#af3493',
    950: '#000000',
  },
}
SCSS
$custom: #af3493;
$custom-light: #ca76b3;
$custom-dark: #000000;
JSON
{
  "hex": "#af3493",
  "rgb": {
    "r": 175,
    "g": 52,
    "b": 147
  },
  "hsl": {
    "h": 313.659,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.54008,
    "c": 0.18829,
    "h": 338.4
  },
  "luminance": 0.13677
}

Semantic roles & 50–950 ramp

primary
#AF3493
secondary
#7BC48C
accent
#DE6C4A
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AF3493

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

Preview Lab → · Contrast checker → · Palette generator →

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