#AF3176#AF3176

#AF3176 is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.5% C 0.174 H 351.2°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#AF3176
RGBrgb(175, 49, 118)
HSLhsl(327, 56%, 44%)
HSVhsv(327, 72%, 69%)
CMYKcmyk(0%, 72%, 32.6%, 31.4%)
CIE-LABlab(42.19, 56.42, -10.27)
CIE-LCHlch(42.19, 57.34, 349.68°)
OKLaboklab(52.46% 0.1724 -0.0266)
OKLCHoklch(52.46% 0.174 351.2)
XYZxyz(22.0487, 12.6211, 18.4110)
Luminance0.1262 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3176 #31AF6A
analogous
#A931AF #AF3176 #AF3137
triadic
#AF3176 #76AF31 #3176AF
tetradic
#AF3176 #AFA931 #31AF6A #3137AF
square
#AF3176 #AFA931 #31AF6A #3137AF
split-complementary
#AF3176 #37AF31 #31AFA9
monochromatic
#4F1636 #7F2456 #AF3176 #CE4F95 #DB7FB2

Accessibility & contrast

On white

5.96
#AF3176 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#AF3176 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3176
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3176#FFFFFF#000000##FFFFFF
##AF31761.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465578
Deuteranopia (green-blind)
#696C73
Tritanopia (blue-blind)
#BC294F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #af3176;
/* rgb */ color: rgb(175, 49, 118);
/* oklch */ color: oklch(52.5% 0.174 351.2);
Tailwind
colors: {
  custom: {
    50: '#cb749d',
    500: '#af3176',
    950: '#000000',
  },
}
SCSS
$custom: #af3176;
$custom-light: #cb749d;
$custom-dark: #000000;
JSON
{
  "hex": "#af3176",
  "rgb": {
    "r": 175,
    "g": 49,
    "b": 118
  },
  "hsl": {
    "h": 327.143,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52464,
    "c": 0.17448,
    "h": 351.2
  },
  "luminance": 0.12619
}

Semantic roles & 50–950 ramp

primary
#AF3176
secondary
#78C49A
accent
#E08D48
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #AF3176

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

Preview Lab → · Contrast checker → · Palette generator →

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