#AF4877#AF4877

#AF4877 is a mid, vivid pink. Relative luminance 0.151; OKLCH L 55.1% C 0.143 H 354.4°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#AF4877
RGBrgb(175, 72, 119)
HSLhsl(333, 42%, 48%)
HSVhsv(333, 59%, 69%)
CMYKcmyk(0%, 58.9%, 32%, 31.4%)
CIE-LABlab(45.75, 46.90, -5.56)
CIE-LCHlch(45.75, 47.22, 353.24°)
OKLaboklab(55.11% 0.1427 -0.0141)
OKLCHoklch(55.11% 0.143 354.4)
XYZxyz(23.3274, 15.0830, 19.1320)
Luminance0.1508 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4877 #48AF80
analogous
#AF48AA #AF4877 #AF4C48
triadic
#AF4877 #77AF48 #4877AF
tetradic
#AF4877 #AAAF48 #48AF80 #4C48AF
square
#AF4877 #AAAF48 #48AF80 #4C48AF
split-complementary
#AF4877 #48AF4C #48AAAF
monochromatic
#58243C #84365A #AF4877 #C47096 #D69BB6

Accessibility & contrast

On white

5.23
#AF4877 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#AF4877 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4877
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4877#FFFFFF#000000##FFFFFF
##AF48771.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#576178
Deuteranopia (green-blind)
#737375
Tritanopia (blue-blind)
#BC425A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #af4877;
/* rgb */ color: rgb(175, 72, 119);
/* oklch */ color: oklch(55.1% 0.143 354.4);
Tailwind
colors: {
  custom: {
    50: '#ca809e',
    500: '#af4877',
    950: '#000000',
  },
}
SCSS
$custom: #af4877;
$custom-light: #ca809e;
$custom-dark: #000000;
JSON
{
  "hex": "#af4877",
  "rgb": {
    "r": 175,
    "g": 72,
    "b": 119
  },
  "hsl": {
    "h": 332.621,
    "s": 41.7,
    "l": 48.431
  },
  "oklch": {
    "l": 0.55106,
    "c": 0.14335,
    "h": 354.4
  },
  "luminance": 0.15081
}

Semantic roles & 50–950 ramp

primary
#AF4877
secondary
#90C2AC
accent
#D29956
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140A0E
muted
#827C7E

Preview Lab

Preview with #AF4877

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

Preview Lab → · Contrast checker → · Palette generator →

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