#AF3165#AF3165

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

Color values

HEX#AF3165
RGBrgb(175, 49, 101)
HSLhsl(335, 56%, 44%)
HSVhsv(335, 72%, 69%)
CMYKcmyk(0%, 72%, 42.3%, 31.4%)
CIE-LABlab(41.62, 54.54, -0.54)
CIE-LCHlch(41.62, 54.55, 359.43°)
OKLaboklab(51.86% 0.1673 -0.0008)
OKLCHoklch(51.86% 0.167 359.7)
XYZxyz(21.1280, 12.2528, 13.5618)
Luminance0.1225 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3165 #31AF7B
analogous
#AF31A4 #AF3165 #AF3C31
triadic
#AF3165 #65AF31 #3165AF
tetradic
#AF3165 #A4AF31 #31AF7B #3C31AF
square
#AF3165 #A4AF31 #31AF7B #3C31AF
split-complementary
#AF3165 #31AF3C #31A4AF
monochromatic
#4F162E #7F2449 #AF3165 #CE4F84 #DB7FA5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF3165#FFFFFF#000000##FFFFFF
##AF31651.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)
#4B5366
Deuteranopia (green-blind)
#6D6B62
Tritanopia (blue-blind)
#BE2047
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #af3165;
/* rgb */ color: rgb(175, 49, 101);
/* oklch */ color: oklch(51.9% 0.167 359.7);
Tailwind
colors: {
  custom: {
    50: '#cc7390',
    500: '#af3165',
    950: '#000000',
  },
}
SCSS
$custom: #af3165;
$custom-light: #cc7390;
$custom-dark: #000000;
JSON
{
  "hex": "#af3165",
  "rgb": {
    "r": 175,
    "g": 49,
    "b": 101
  },
  "hsl": {
    "h": 335.238,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.51857,
    "c": 0.16725,
    "h": 359.7
  },
  "luminance": 0.1225
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF3165

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

Preview Lab → · Contrast checker → · Palette generator →

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