#AF3777#AF3777

#AF3777 is a mid, vivid pink. Relative luminance 0.132; OKLCH L 53.1% C 0.167 H 351.5°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#AF3777
RGBrgb(175, 55, 119)
HSLhsl(328, 52%, 45%)
HSVhsv(328, 69%, 69%)
CMYKcmyk(0%, 68.6%, 32%, 31.4%)
CIE-LABlab(43.03, 54.28, -9.61)
CIE-LCHlch(43.03, 55.12, 349.95°)
OKLaboklab(53.1% 0.1656 -0.0249)
OKLCHoklch(53.1% 0.167 351.5)
XYZxyz(22.3763, 13.1807, 18.8149)
Luminance0.1318 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3777 #37AF6F
analogous
#AB37AF #AF3777 #AF373B
triadic
#AF3777 #77AF37 #3777AF
tetradic
#AF3777 #AFAB37 #37AF6F #373BAF
square
#AF3777 #AFAB37 #37AF6F #373BAF
split-complementary
#AF3777 #3BAF37 #37AFAB
monochromatic
#521A38 #802857 #AF3777 #CB5995 #D987B3

Accessibility & contrast

On white

5.78
#AF3777 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#AF3777 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3777
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3777#FFFFFF#000000##FFFFFF
##AF37771.005.783.645.78
#FFFFFF5.781.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5879
Deuteranopia (green-blind)
#6B6E74
Tritanopia (blue-blind)
#BC3052
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #af3777;
/* rgb */ color: rgb(175, 55, 119);
/* oklch */ color: oklch(53.1% 0.167 351.5);
Tailwind
colors: {
  custom: {
    50: '#cb779e',
    500: '#af3777',
    950: '#000000',
  },
}
SCSS
$custom: #af3777;
$custom-light: #cb779e;
$custom-dark: #000000;
JSON
{
  "hex": "#af3777",
  "rgb": {
    "r": 175,
    "g": 55,
    "b": 119
  },
  "hsl": {
    "h": 328,
    "s": 52.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.53098,
    "c": 0.16749,
    "h": 351.5
  },
  "luminance": 0.13178
}

Semantic roles & 50–950 ramp

primary
#AF3777
secondary
#7FC39F
accent
#DC8F4C
background
#FDF7F9
surface
#FAEEF2
border
#D3C9CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #AF3777

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

Preview Lab → · Contrast checker → · Palette generator →

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