#AF3168#AF3168

#AF3168 is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.0% C 0.168 H 358.2°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#AF3168
RGBrgb(175, 49, 104)
HSLhsl(334, 56%, 44%)
HSVhsv(334, 72%, 69%)
CMYKcmyk(0%, 72%, 40.6%, 31.4%)
CIE-LABlab(41.71, 54.85, -2.28)
CIE-LCHlch(41.71, 54.90, 357.62°)
OKLaboklab(51.96% 0.1683 -0.0053)
OKLCHoklch(51.96% 0.168 358.2)
XYZxyz(21.2777, 12.3127, 14.3501)
Luminance0.1231 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3168 #31AF78
analogous
#AF31A7 #AF3168 #AF3931
triadic
#AF3168 #68AF31 #3168AF
tetradic
#AF3168 #A7AF31 #31AF78 #3931AF
square
#AF3168 #A7AF31 #31AF78 #3931AF
split-complementary
#AF3168 #31AF39 #31A7AF
monochromatic
#4F162F #7F244C #AF3168 #CE4F87 #DB7FA7

Accessibility & contrast

On white

6.07
#AF3168 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#AF3168 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3168
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3168#FFFFFF#000000##FFFFFF
##AF31681.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5369
Deuteranopia (green-blind)
#6D6B65
Tritanopia (blue-blind)
#BD2148
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #af3168;
/* rgb */ color: rgb(175, 49, 104);
/* oklch */ color: oklch(52.0% 0.168 358.2);
Tailwind
colors: {
  custom: {
    50: '#cc7393',
    500: '#af3168',
    950: '#000000',
  },
}
SCSS
$custom: #af3168;
$custom-light: #cc7393;
$custom-dark: #000000;
JSON
{
  "hex": "#af3168",
  "rgb": {
    "r": 175,
    "g": 49,
    "b": 104
  },
  "hsl": {
    "h": 333.81,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.51957,
    "c": 0.16833,
    "h": 358.2
  },
  "luminance": 0.1231
}

Semantic roles & 50–950 ramp

primary
#AF3168
secondary
#78C4A3
accent
#E09E48
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#14090D
muted
#837B7E

Preview Lab

Preview with #AF3168

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

Preview Lab → · Contrast checker → · Palette generator →

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