#AF3279#AF3279

#AF3279 is a mid, vivid pink. Relative luminance 0.128; OKLCH L 52.7% C 0.175 H 349.9°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#AF3279
RGBrgb(175, 50, 121)
HSLhsl(326, 56%, 44%)
HSVhsv(326, 71%, 69%)
CMYKcmyk(0%, 71.4%, 30.9%, 31.4%)
CIE-LABlab(42.43, 56.42, -11.76)
CIE-LCHlch(42.43, 57.63, 348.22°)
OKLaboklab(52.68% 0.1721 -0.0307)
OKLCHoklch(52.68% 0.175 349.9)
XYZxyz(22.2721, 12.7781, 19.3790)
Luminance0.1278 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3279 #32AF68
analogous
#A732AF #AF3279 #AF323B
triadic
#AF3279 #79AF32 #3279AF
tetradic
#AF3279 #AFA732 #32AF68 #323BAF
square
#AF3279 #AFA732 #32AF68 #323BAF
split-complementary
#AF3279 #3BAF32 #32AFA7
monochromatic
#501737 #7F2458 #AF3279 #CD5198 #DB81B4

Accessibility & contrast

On white

5.91
#AF3279 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#AF3279 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3279
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3279#FFFFFF#000000##FFFFFF
##AF32791.005.913.565.91
#FFFFFF5.911.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45567B
Deuteranopia (green-blind)
#696C76
Tritanopia (blue-blind)
#BC2B51
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #af3279;
/* rgb */ color: rgb(175, 50, 121);
/* oklch */ color: oklch(52.7% 0.175 349.9);
Tailwind
colors: {
  custom: {
    50: '#cb749f',
    500: '#af3279',
    950: '#000000',
  },
}
SCSS
$custom: #af3279;
$custom-light: #cb749f;
$custom-dark: #000000;
JSON
{
  "hex": "#af3279",
  "rgb": {
    "r": 175,
    "g": 50,
    "b": 121
  },
  "hsl": {
    "h": 325.92,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52676,
    "c": 0.17482,
    "h": 349.9
  },
  "luminance": 0.12776
}

Semantic roles & 50–950 ramp

primary
#AF3279
secondary
#79C499
accent
#DF8A49
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #AF3279

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

Preview Lab → · Contrast checker → · Palette generator →

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