#AF3199#AF3199

#AF3199 is a mid, vivid pink. Relative luminance 0.136; OKLCH L 54.0% C 0.196 H 335.9°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#AF3199
RGBrgb(175, 49, 153)
HSLhsl(310, 56%, 44%)
HSVhsv(310, 72%, 69%)
CMYKcmyk(0%, 72%, 12.6%, 31.4%)
CIE-LABlab(43.67, 61.12, -29.35)
CIE-LCHlch(43.67, 67.80, 334.35°)
OKLaboklab(54.03% 0.179 -0.08)
OKLCHoklch(54.03% 0.196 335.9)
XYZxyz(24.5276, 13.6127, 31.4665)
Luminance0.1361 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3199 #31AF47
analogous
#8631AF #AF3199 #AF315A
triadic
#AF3199 #99AF31 #3199AF
tetradic
#AF3199 #AF8631 #31AF47 #315AAF
square
#AF3199 #AF8631 #31AF47 #315AAF
split-complementary
#AF3199 #5AAF31 #31AF86
monochromatic
#4F1645 #7F246F #AF3199 #CE4FB8 #DB7FCB

Accessibility & contrast

On white

5.64
#AF3199 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF3199
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3199#FFFFFF#000000##FFFFFF
##AF31991.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325B9C
Deuteranopia (green-blind)
#5E6E96
Tritanopia (blue-blind)
#B83A61
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #af3199;
/* rgb */ color: rgb(175, 49, 153);
/* oklch */ color: oklch(54.0% 0.196 335.9);
Tailwind
colors: {
  custom: {
    50: '#ca75b7',
    500: '#af3199',
    950: '#000000',
  },
}
SCSS
$custom: #af3199;
$custom-light: #ca75b7;
$custom-dark: #000000;
JSON
{
  "hex": "#af3199",
  "rgb": {
    "r": 175,
    "g": 49,
    "b": 153
  },
  "hsl": {
    "h": 310.476,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.5403,
    "c": 0.19607,
    "h": 335.9
  },
  "luminance": 0.1361
}

Semantic roles & 50–950 ramp

primary
#AF3199
secondary
#78C485
accent
#E06348
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AF3199

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

Preview Lab → · Contrast checker → · Palette generator →

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