#FFAFCC#FFAFCC

#FFAFCC is a very light, moderate pink. Relative luminance 0.563; OKLCH L 83.9% C 0.100 H 356.0°. Best body text is #000000 at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#FFAFCC
RGBrgb(255, 175, 204)
HSLhsl(338, 100%, 84%)
HSVhsv(338, 31%, 100%)
CMYKcmyk(0%, 31.4%, 20%, 0%)
CIE-LABlab(79.77, 33.20, -2.78)
CIE-LCHlch(79.77, 33.32, 355.22°)
OKLaboklab(83.85% 0.0995 -0.0069)
OKLCHoklch(83.85% 0.1 356)
XYZxyz(67.4699, 56.2833, 64.4250)
Luminance0.5628 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFAFCC #AFFFE2
analogous
#FFAFF4 #FFAFCC #FFBAAF
triadic
#FFAFCC #CCFFAF #AFCCFF
tetradic
#FFAFCC #F4FFAF #AFFFE2 #BAAFFF
square
#FFAFCC #F4FFAF #AFFFE2 #BAAFFF
split-complementary
#FFAFCC #AFFFBA #AFF4FF
monochromatic
#FF357E #FF72A5 #FFAFCC #FFE0EB #FFE0EB

Accessibility & contrast

On white

1.71
#FFAFCC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.26
#FFAFCC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFAFCC
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFAFCC#FFFFFF#000000##000000
##FFAFCC1.001.7112.2612.26
#FFFFFF1.711.0021.0021.00
#00000012.2621.001.001.00
##00000012.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8BDCD
Deuteranopia (green-blind)
#CBCBCA
Tritanopia (blue-blind)
#FFABB9
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #ffafcc;
/* rgb */ color: rgb(255, 175, 204);
/* oklch */ color: oklch(83.9% 0.100 356.0);
Tailwind
colors: {
  custom: {
    50: '#ffc7db',
    500: '#ffafcc',
    950: '#000000',
  },
}
SCSS
$custom: #ffafcc;
$custom-light: #ffc7db;
$custom-dark: #000000;
JSON
{
  "hex": "#ffafcc",
  "rgb": {
    "r": 255,
    "g": 175,
    "b": 204
  },
  "hsl": {
    "h": 338.25,
    "s": 100,
    "l": 84.314
  },
  "oklch": {
    "l": 0.8385,
    "c": 0.09969,
    "h": 356
  },
  "luminance": 0.5628
}

Semantic roles & 50–950 ramp

primary
#FFAFCC
secondary
#6DE5BA
accent
#E69200
background
#FFFDFE
surface
#FFF9FB
border
#D7D2D4
text
#181315
muted
#868284

Preview Lab

Preview with #FFAFCC

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

Preview Lab → · Contrast checker → · Palette generator →

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