#AF3F77#AF3F77

#AF3F77 is a mid, vivid pink. Relative luminance 0.140; OKLCH L 54.0% C 0.157 H 352.6°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#AF3F77
RGBrgb(175, 63, 119)
HSLhsl(330, 47%, 47%)
HSVhsv(330, 64%, 69%)
CMYKcmyk(0%, 64%, 32%, 31.4%)
CIE-LABlab(44.24, 50.97, -7.81)
CIE-LCHlch(44.24, 51.57, 351.29°)
OKLaboklab(53.99% 0.1553 -0.0201)
OKLCHoklch(53.99% 0.157 352.6)
XYZxyz(22.7876, 14.0033, 18.9520)
Luminance0.1400 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3F77 #3FAF77
analogous
#AF3FAF #AF3F77 #AF3F3F
triadic
#AF3F77 #77AF3F #3F77AF
tetradic
#AF3F77 #AFAF3F #3FAF77 #3F3FAF
square
#AF3F77 #AFAF3F #3FAF77 #3F3FAF
split-complementary
#AF3F77 #3FAF3F #3FAFAF
monochromatic
#551F3A #822F58 #AF3F77 #C76496 #D791B4

Accessibility & contrast

On white

5.53
#AF3F77 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#AF3F77 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3F77
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3F77#FFFFFF#000000##FFFFFF
##AF3F771.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505C79
Deuteranopia (green-blind)
#6F7074
Tritanopia (blue-blind)
#BC3856
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #af3f77;
/* rgb */ color: rgb(175, 63, 119);
/* oklch */ color: oklch(54.0% 0.157 352.6);
Tailwind
colors: {
  custom: {
    50: '#cb7b9e',
    500: '#af3f77',
    950: '#000000',
  },
}
SCSS
$custom: #af3f77;
$custom-light: #cb7b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#af3f77",
  "rgb": {
    "r": 175,
    "g": 63,
    "b": 119
  },
  "hsl": {
    "h": 330,
    "s": 47.059,
    "l": 46.667
  },
  "oklch": {
    "l": 0.53985,
    "c": 0.15661,
    "h": 352.6
  },
  "luminance": 0.14001
}

Semantic roles & 50–950 ramp

primary
#AF3F77
secondary
#87C3A5
accent
#D79451
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#140A0E
muted
#827C7E

Preview Lab

Preview with #AF3F77

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

Preview Lab → · Contrast checker → · Palette generator →

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