#AF3167#AF3167

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

Color values

HEX#AF3167
RGBrgb(175, 49, 103)
HSLhsl(334, 56%, 44%)
HSVhsv(334, 72%, 69%)
CMYKcmyk(0%, 72%, 41.1%, 31.4%)
CIE-LABlab(41.68, 54.75, -1.70)
CIE-LCHlch(41.68, 54.78, 358.22°)
OKLaboklab(51.92% 0.1679 -0.0038)
OKLCHoklch(51.92% 0.168 358.7)
XYZxyz(21.2272, 12.2925, 14.0842)
Luminance0.1229 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3167 #31AF79
analogous
#AF31A6 #AF3167 #AF3A31
triadic
#AF3167 #67AF31 #3167AF
tetradic
#AF3167 #A6AF31 #31AF79 #3A31AF
square
#AF3167 #A6AF31 #31AF79 #3A31AF
split-complementary
#AF3167 #31AF3A #31A6AF
monochromatic
#4F162F #7F244B #AF3167 #CE4F86 #DB7FA7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF3167#FFFFFF#000000##FFFFFF
##AF31671.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)
#4B5368
Deuteranopia (green-blind)
#6D6B64
Tritanopia (blue-blind)
#BD2148
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #af3167;
/* rgb */ color: rgb(175, 49, 103);
/* oklch */ color: oklch(51.9% 0.168 358.7);
Tailwind
colors: {
  custom: {
    50: '#cc7392',
    500: '#af3167',
    950: '#000000',
  },
}
SCSS
$custom: #af3167;
$custom-light: #cc7392;
$custom-dark: #000000;
JSON
{
  "hex": "#af3167",
  "rgb": {
    "r": 175,
    "g": 49,
    "b": 103
  },
  "hsl": {
    "h": 334.286,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.51923,
    "c": 0.16796,
    "h": 358.7
  },
  "luminance": 0.1229
}

Semantic roles & 50–950 ramp

primary
#AF3167
secondary
#78C4A3
accent
#E09F48
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14090D
muted
#837B7D

Preview Lab

Preview with #AF3167

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

Preview Lab → · Contrast checker → · Palette generator →

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