#AF3877#AF3877

#AF3877 is a mid, vivid pink. Relative luminance 0.133; OKLCH L 53.2% C 0.166 H 351.6°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#AF3877
RGBrgb(175, 56, 119)
HSLhsl(328, 52%, 45%)
HSVhsv(328, 68%, 69%)
CMYKcmyk(0%, 68%, 32%, 31.4%)
CIE-LABlab(43.18, 53.88, -9.40)
CIE-LCHlch(43.18, 54.70, 350.10°)
OKLaboklab(53.2% 0.1644 -0.0243)
OKLCHoklch(53.2% 0.166 351.6)
XYZxyz(22.4243, 13.2767, 18.8309)
Luminance0.1327 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3877 #38AF70
analogous
#AB38AF #AF3877 #AF383C
triadic
#AF3877 #77AF38 #3877AF
tetradic
#AF3877 #AFAB38 #38AF70 #383CAF
square
#AF3877 #AFAB38 #38AF70 #383CAF
split-complementary
#AF3877 #3CAF38 #38AFAB
monochromatic
#521A38 #812957 #AF3877 #CA5A95 #D988B3

Accessibility & contrast

On white

5.75
#AF3877 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#AF3877 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3877
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3877#FFFFFF#000000##FFFFFF
##AF38771.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af3877;
/* rgb */ color: rgb(175, 56, 119);
/* oklch */ color: oklch(53.2% 0.166 351.6);
Tailwind
colors: {
  custom: {
    50: '#cb779e',
    500: '#af3877',
    950: '#000000',
  },
}
SCSS
$custom: #af3877;
$custom-light: #cb779e;
$custom-dark: #000000;
JSON
{
  "hex": "#af3877",
  "rgb": {
    "r": 175,
    "g": 56,
    "b": 119
  },
  "hsl": {
    "h": 328.235,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.53203,
    "c": 0.16619,
    "h": 351.6
  },
  "luminance": 0.13274
}

Semantic roles & 50–950 ramp

primary
#AF3877
secondary
#80C39F
accent
#DB904D
background
#FDF7F9
surface
#FAEEF2
border
#D3C9CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #AF3877

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

Preview Lab → · Contrast checker → · Palette generator →

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