#AF3277#AF3277

#AF3277 is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.6% C 0.174 H 350.8°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#AF3277
RGBrgb(175, 50, 119)
HSLhsl(327, 56%, 44%)
HSVhsv(327, 71%, 69%)
CMYKcmyk(0%, 71.4%, 32%, 31.4%)
CIE-LABlab(42.35, 56.17, -10.64)
CIE-LCHlch(42.35, 57.17, 349.27°)
OKLaboklab(52.6% 0.1716 -0.0276)
OKLCHoklch(52.6% 0.174 350.8)
XYZxyz(22.1508, 12.7296, 18.7397)
Luminance0.1273 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3277 #32AF6A
analogous
#A932AF #AF3277 #AF3239
triadic
#AF3277 #77AF32 #3277AF
tetradic
#AF3277 #AFA932 #32AF6A #3239AF
square
#AF3277 #AFA932 #32AF6A #3239AF
split-complementary
#AF3277 #39AF32 #32AFA9
monochromatic
#501736 #7F2457 #AF3277 #CD5196 #DB81B2

Accessibility & contrast

On white

5.92
#AF3277 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#AF3277 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3277
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3277#FFFFFF#000000##FFFFFF
##AF32771.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465679
Deuteranopia (green-blind)
#6A6C74
Tritanopia (blue-blind)
#BC2A50
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #af3277;
/* rgb */ color: rgb(175, 50, 119);
/* oklch */ color: oklch(52.6% 0.174 350.8);
Tailwind
colors: {
  custom: {
    50: '#cb749e',
    500: '#af3277',
    950: '#000000',
  },
}
SCSS
$custom: #af3277;
$custom-light: #cb749e;
$custom-dark: #000000;
JSON
{
  "hex": "#af3277",
  "rgb": {
    "r": 175,
    "g": 50,
    "b": 119
  },
  "hsl": {
    "h": 326.88,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52598,
    "c": 0.17378,
    "h": 350.8
  },
  "luminance": 0.12727
}

Semantic roles & 50–950 ramp

primary
#AF3277
secondary
#79C49A
accent
#DF8C49
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #AF3277

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

Preview Lab → · Contrast checker → · Palette generator →

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