#AF778D#AF778D

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

Color values

HEX#AF778D
RGBrgb(175, 119, 141)
HSLhsl(336, 26%, 58%)
HSVhsv(336, 32%, 69%)
CMYKcmyk(0%, 32%, 19.4%, 31.4%)
CIE-LABlab(56.32, 25.21, -3.01)
CIE-LCHlch(56.32, 25.39, 353.20°)
OKLaboklab(63.32% 0.0753 -0.0076)
OKLCHoklch(63.32% 0.076 354.2)
XYZxyz(29.0841, 24.2323, 28.3395)
Luminance0.2423 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF778D #77AF99
analogous
#AF77A9 #AF778D #AF7D77
triadic
#AF778D #8DAF77 #778DAF
tetradic
#AF778D #A9AF77 #77AF99 #7D77AF
square
#AF778D #A9AF77 #77AF99 #7D77AF
split-complementary
#AF778D #77AF7D #77A9AF
monochromatic
#6C4051 #93566E #AF778D #C69EAD #DCC4CE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF778D#FFFFFF#000000##000000
##AF778D1.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)
#7D818E
Deuteranopia (green-blind)
#8A8B8C
Tritanopia (blue-blind)
#B8757F
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #af778d;
/* rgb */ color: rgb(175, 119, 141);
/* oklch */ color: oklch(63.3% 0.076 354.2);
Tailwind
colors: {
  custom: {
    50: '#c89fae',
    500: '#af778d',
    950: '#000000',
  },
}
SCSS
$custom: #af778d;
$custom-light: #c89fae;
$custom-dark: #000000;
JSON
{
  "hex": "#af778d",
  "rgb": {
    "r": 175,
    "g": 119,
    "b": 141
  },
  "hsl": {
    "h": 336.429,
    "s": 25.926,
    "l": 57.647
  },
  "oklch": {
    "l": 0.63321,
    "c": 0.0757,
    "h": 354.2
  },
  "luminance": 0.24231
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF778D

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

Preview Lab → · Contrast checker → · Palette generator →

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