#AF5877#AF5877

#AF5877 is a mid, moderate pink. Relative luminance 0.174; OKLCH L 57.4% C 0.118 H 358.9°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#AF5877
RGBrgb(175, 88, 119)
HSLhsl(339, 35%, 52%)
HSVhsv(339, 50%, 69%)
CMYKcmyk(0%, 49.7%, 32%, 31.4%)
CIE-LABlab(48.79, 38.92, -1.06)
CIE-LCHlch(48.79, 38.94, 358.43°)
OKLaboklab(57.39% 0.1181 -0.0023)
OKLCHoklch(57.39% 0.118 358.9)
XYZxyz(24.4997, 17.4275, 19.5227)
Luminance0.1742 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5877 #58AF90
analogous
#AF58A3 #AF5877 #AF6558
triadic
#AF5877 #77AF58 #5877AF
tetradic
#AF5877 #A3AF58 #58AF90 #6558AF
square
#AF5877 #A3AF58 #58AF90 #6558AF
split-complementary
#AF5877 #58AF65 #58A3AF
monochromatic
#5F2E3F #88415B #AF5877 #C38199 #D7ABBA

Accessibility & contrast

On white

4.68
#AF5877 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#AF5877 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF5877
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5877#FFFFFF#000000##FFFFFF
##AF58771.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#656A78
Deuteranopia (green-blind)
#7B7A75
Tritanopia (blue-blind)
#BB5263
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #af5877;
/* rgb */ color: rgb(175, 88, 119);
/* oklch */ color: oklch(57.4% 0.118 358.9);
Tailwind
colors: {
  custom: {
    50: '#c98a9e',
    500: '#af5877',
    950: '#000000',
  },
}
SCSS
$custom: #af5877;
$custom-light: #c98a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#af5877",
  "rgb": {
    "r": 175,
    "g": 88,
    "b": 119
  },
  "hsl": {
    "h": 338.621,
    "s": 35.223,
    "l": 51.569
  },
  "oklch": {
    "l": 0.57387,
    "c": 0.11812,
    "h": 358.9
  },
  "luminance": 0.17425
}

Semantic roles & 50–950 ramp

primary
#AF5877
secondary
#9EC5B7
accent
#CBA45D
background
#FCF8F9
surface
#F9F0F2
border
#D2CBCC
text
#140C0E
muted
#827D7E

Preview Lab

Preview with #AF5877

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

Preview Lab → · Contrast checker → · Palette generator →

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