#AF3164#AF3164

#AF3164 is a mid, vivid pink. Relative luminance 0.122; OKLCH L 51.8% C 0.167 H 0.2°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#AF3164
RGBrgb(175, 49, 100)
HSLhsl(336, 56%, 44%)
HSVhsv(336, 72%, 69%)
CMYKcmyk(0%, 72%, 42.9%, 31.4%)
CIE-LABlab(41.58, 54.44, 0.04)
CIE-LCHlch(41.58, 54.44, 0.04°)
OKLaboklab(51.82% 0.1669 0.0007)
OKLCHoklch(51.82% 0.167 0.2)
XYZxyz(21.0793, 12.2333, 13.3054)
Luminance0.1223 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3164 #31AF7C
analogous
#AF31A3 #AF3164 #AF3D31
triadic
#AF3164 #64AF31 #3164AF
tetradic
#AF3164 #A3AF31 #31AF7C #3D31AF
square
#AF3164 #A3AF31 #31AF7C #3D31AF
split-complementary
#AF3164 #31AF3D #31A3AF
monochromatic
#4F162D #7F2449 #AF3164 #CE4F83 #DB7FA4

Accessibility & contrast

On white

6.09
#AF3164 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#AF3164 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3164
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3164#FFFFFF#000000##FFFFFF
##AF31641.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5365
Deuteranopia (green-blind)
#6E6B61
Tritanopia (blue-blind)
#BE1F46
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #af3164;
/* rgb */ color: rgb(175, 49, 100);
/* oklch */ color: oklch(51.8% 0.167 0.2);
Tailwind
colors: {
  custom: {
    50: '#cc7390',
    500: '#af3164',
    950: '#000000',
  },
}
SCSS
$custom: #af3164;
$custom-light: #cc7390;
$custom-dark: #000000;
JSON
{
  "hex": "#af3164",
  "rgb": {
    "r": 175,
    "g": 49,
    "b": 100
  },
  "hsl": {
    "h": 335.714,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.51824,
    "c": 0.16691,
    "h": 0.2
  },
  "luminance": 0.12231
}

Semantic roles & 50–950 ramp

primary
#AF3164
secondary
#78C4A5
accent
#E0A248
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14090C
muted
#837B7D

Preview Lab

Preview with #AF3164

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

Preview Lab → · Contrast checker → · Palette generator →

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