#AF778E#AF778E

#AF778E is a light, moderate pink. Relative luminance 0.243; OKLCH L 63.4% C 0.076 H 353.2°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#AF778E
RGBrgb(175, 119, 142)
HSLhsl(335, 26%, 58%)
HSVhsv(335, 32%, 69%)
CMYKcmyk(0%, 32%, 18.9%, 31.4%)
CIE-LABlab(56.35, 25.37, -3.54)
CIE-LCHlch(56.35, 25.62, 352.05°)
OKLaboklab(63.35% 0.0757 -0.009)
OKLCHoklch(63.35% 0.076 353.2)
XYZxyz(29.1588, 24.2622, 28.7331)
Luminance0.2426 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF778E #77AF98
analogous
#AF77AA #AF778E #AF7C77
triadic
#AF778E #8EAF77 #778EAF
tetradic
#AF778E #AAAF77 #77AF98 #7C77AF
square
#AF778E #AAAF77 #77AF98 #7C77AF
split-complementary
#AF778E #77AF7C #77AAAF
monochromatic
#6C4052 #93566F #AF778E #C69EAE #DCC4CE

Accessibility & contrast

On white

3.59
#AF778E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#AF778E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF778E
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF778E#FFFFFF#000000##000000
##AF778E1.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D818F
Deuteranopia (green-blind)
#8A8B8D
Tritanopia (blue-blind)
#B7757F
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #af778e;
/* rgb */ color: rgb(175, 119, 142);
/* oklch */ color: oklch(63.4% 0.076 353.2);
Tailwind
colors: {
  custom: {
    50: '#c89faf',
    500: '#af778e',
    950: '#000000',
  },
}
SCSS
$custom: #af778e;
$custom-light: #c89faf;
$custom-dark: #000000;
JSON
{
  "hex": "#af778e",
  "rgb": {
    "r": 175,
    "g": 119,
    "b": 142
  },
  "hsl": {
    "h": 335.357,
    "s": 25.926,
    "l": 57.647
  },
  "oklch": {
    "l": 0.63354,
    "c": 0.07622,
    "h": 353.2
  },
  "luminance": 0.24261
}

Semantic roles & 50–950 ramp

primary
#AF778E
secondary
#B6CCC3
accent
#C29C65
background
#FCF9FA
surface
#F8F2F4
border
#D1CCCE
text
#130E10
muted
#827E7F

Preview Lab

Preview with #AF778E

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

Preview Lab → · Contrast checker → · Palette generator →

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