#AF778F#AF778F

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

Color values

HEX#AF778F
RGBrgb(175, 119, 143)
HSLhsl(334, 26%, 58%)
HSVhsv(334, 32%, 69%)
CMYKcmyk(0%, 32%, 18.3%, 31.4%)
CIE-LABlab(56.38, 25.53, -4.08)
CIE-LCHlch(56.38, 25.86, 350.92°)
OKLaboklab(63.39% 0.0761 -0.0105)
OKLCHoklch(63.39% 0.077 352.2)
XYZxyz(29.2342, 24.2923, 29.1303)
Luminance0.2429 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF778F #77AF97
analogous
#AF77AB #AF778F #AF7B77
triadic
#AF778F #8FAF77 #778FAF
tetradic
#AF778F #ABAF77 #77AF97 #7B77AF
square
#AF778F #ABAF77 #77AF97 #7B77AF
split-complementary
#AF778F #77AF7B #77ABAF
monochromatic
#6C4053 #935670 #AF778F #C69EAF #DCC4CE

Accessibility & contrast

On white

3.58
#AF778F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#AF778F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF778F
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF778F#FFFFFF#000000##000000
##AF778F1.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af778f;
/* rgb */ color: rgb(175, 119, 143);
/* oklch */ color: oklch(63.4% 0.077 352.2);
Tailwind
colors: {
  custom: {
    50: '#c89faf',
    500: '#af778f',
    950: '#000000',
  },
}
SCSS
$custom: #af778f;
$custom-light: #c89faf;
$custom-dark: #000000;
JSON
{
  "hex": "#af778f",
  "rgb": {
    "r": 175,
    "g": 119,
    "b": 143
  },
  "hsl": {
    "h": 334.286,
    "s": 25.926,
    "l": 57.647
  },
  "oklch": {
    "l": 0.63387,
    "c": 0.07677,
    "h": 352.2
  },
  "luminance": 0.24291
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF778F

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

Preview Lab → · Contrast checker → · Palette generator →

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