#AF5778#AF5778

#AF5778 is a mid, vivid pink. Relative luminance 0.173; OKLCH L 57.3% C 0.120 H 357.8°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#AF5778
RGBrgb(175, 87, 120)
HSLhsl(338, 35%, 51%)
HSVhsv(338, 50%, 69%)
CMYKcmyk(0%, 50.3%, 31.4%, 31.4%)
CIE-LABlab(48.62, 39.57, -1.92)
CIE-LCHlch(48.62, 39.62, 357.22°)
OKLaboklab(57.27% 0.1201 -0.0045)
OKLCHoklch(57.27% 0.12 357.8)
XYZxyz(24.4786, 17.2886, 19.8135)
Luminance0.1729 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5778 #57AF8E
analogous
#AF57A4 #AF5778 #AF6257
triadic
#AF5778 #78AF57 #5778AF
tetradic
#AF5778 #A4AF57 #57AF8E #6257AF
square
#AF5778 #A4AF57 #57AF8E #6257AF
split-complementary
#AF5778 #57AF62 #57A4AF
monochromatic
#5F2D40 #88415B #AF5778 #C38099 #D6AABB

Accessibility & contrast

On white

4.71
#AF5778 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#AF5778 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF5778
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5778#FFFFFF#000000##FFFFFF
##AF57781.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#646979
Deuteranopia (green-blind)
#7B7A76
Tritanopia (blue-blind)
#BB5163
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #af5778;
/* rgb */ color: rgb(175, 87, 120);
/* oklch */ color: oklch(57.3% 0.120 357.8);
Tailwind
colors: {
  custom: {
    50: '#c9899e',
    500: '#af5778',
    950: '#000000',
  },
}
SCSS
$custom: #af5778;
$custom-light: #c9899e;
$custom-dark: #000000;
JSON
{
  "hex": "#af5778",
  "rgb": {
    "r": 175,
    "g": 87,
    "b": 120
  },
  "hsl": {
    "h": 337.5,
    "s": 35.484,
    "l": 51.373
  },
  "oklch": {
    "l": 0.57267,
    "c": 0.12014,
    "h": 357.8
  },
  "luminance": 0.17286
}

Semantic roles & 50–950 ramp

primary
#AF5778
secondary
#9EC4B6
accent
#CCA25C
background
#FCF8F9
surface
#F9F0F2
border
#D2CBCC
text
#140C0E
muted
#827D7E

Preview Lab

Preview with #AF5778

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

Preview Lab → · Contrast checker → · Palette generator →

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