#AF3193#AF3193

#AF3193 is a mid, vivid pink. Relative luminance 0.134; OKLCH L 53.7% C 0.192 H 338.3°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#AF3193
RGBrgb(175, 49, 147)
HSLhsl(313, 56%, 44%)
HSVhsv(313, 72%, 69%)
CMYKcmyk(0%, 72%, 16%, 31.4%)
CIE-LABlab(43.39, 60.24, -26.17)
CIE-LCHlch(43.39, 65.68, 336.52°)
OKLaboklab(53.73% 0.1783 -0.0709)
OKLCHoklch(53.73% 0.192 338.3)
XYZxyz(24.0445, 13.4194, 28.9220)
Luminance0.1342 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3193 #31AF4D
analogous
#8C31AF #AF3193 #AF3154
triadic
#AF3193 #93AF31 #3193AF
tetradic
#AF3193 #AF8C31 #31AF4D #3154AF
square
#AF3193 #AF8C31 #31AF4D #3154AF
split-complementary
#AF3193 #54AF31 #31AF8C
monochromatic
#4F1643 #7F246B #AF3193 #CE4FB2 #DB7FC7

Accessibility & contrast

On white

5.70
#AF3193 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#AF3193 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3193
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3193#FFFFFF#000000##FFFFFF
##AF31931.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375A96
Deuteranopia (green-blind)
#606E90
Tritanopia (blue-blind)
#B9375E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #af3193;
/* rgb */ color: rgb(175, 49, 147);
/* oklch */ color: oklch(53.7% 0.192 338.3);
Tailwind
colors: {
  custom: {
    50: '#cb75b3',
    500: '#af3193',
    950: '#000000',
  },
}
SCSS
$custom: #af3193;
$custom-light: #cb75b3;
$custom-dark: #000000;
JSON
{
  "hex": "#af3193",
  "rgb": {
    "r": 175,
    "g": 49,
    "b": 147
  },
  "hsl": {
    "h": 313.333,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.53733,
    "c": 0.19189,
    "h": 338.3
  },
  "luminance": 0.13417
}

Semantic roles & 50–950 ramp

primary
#AF3193
secondary
#78C489
accent
#E06A48
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AF3193

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

Preview Lab → · Contrast checker → · Palette generator →

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