#AF3879#AF3879

#AF3879 is a mid, vivid pink. Relative luminance 0.133; OKLCH L 53.3% C 0.167 H 350.6°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#AF3879
RGBrgb(175, 56, 121)
HSLhsl(327, 52%, 45%)
HSVhsv(327, 68%, 69%)
CMYKcmyk(0%, 68%, 30.9%, 31.4%)
CIE-LABlab(43.25, 54.13, -10.52)
CIE-LCHlch(43.25, 55.14, 349.00°)
OKLaboklab(53.28% 0.165 -0.0273)
OKLCHoklch(53.28% 0.167 350.6)
XYZxyz(22.5457, 13.3252, 19.4702)
Luminance0.1332 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3879 #38AF6E
analogous
#A938AF #AF3879 #AF383D
triadic
#AF3879 #79AF38 #3879AF
tetradic
#AF3879 #AFA938 #38AF6E #383DAF
square
#AF3879 #AFA938 #38AF6E #383DAF
split-complementary
#AF3879 #3DAF38 #38AFA9
monochromatic
#521A39 #812959 #AF3879 #CA5A97 #D988B4

Accessibility & contrast

On white

5.73
#AF3879 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#AF3879 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3879
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3879#FFFFFF#000000##FFFFFF
##AF38791.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A597B
Deuteranopia (green-blind)
#6B6E76
Tritanopia (blue-blind)
#BC3253
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #af3879;
/* rgb */ color: rgb(175, 56, 121);
/* oklch */ color: oklch(53.3% 0.167 350.6);
Tailwind
colors: {
  custom: {
    50: '#cb779f',
    500: '#af3879',
    950: '#000000',
  },
}
SCSS
$custom: #af3879;
$custom-light: #cb779f;
$custom-dark: #000000;
JSON
{
  "hex": "#af3879",
  "rgb": {
    "r": 175,
    "g": 56,
    "b": 121
  },
  "hsl": {
    "h": 327.227,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.5328,
    "c": 0.1672,
    "h": 350.6
  },
  "luminance": 0.13323
}

Semantic roles & 50–950 ramp

primary
#AF3879
secondary
#80C39E
accent
#DB8D4D
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#14090E
muted
#827B7E

Preview Lab

Preview with #AF3879

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

Preview Lab → · Contrast checker → · Palette generator →

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