#FFAFD2#FFAFD2

#FFAFD2 is a very light, moderate pink. Relative luminance 0.566; OKLCH L 84.0% C 0.103 H 351.7°. Best body text is #000000 at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#FFAFD2
RGBrgb(255, 175, 210)
HSLhsl(334, 100%, 84%)
HSVhsv(334, 31%, 100%)
CMYKcmyk(0%, 31.4%, 17.6%, 0%)
CIE-LABlab(79.94, 34.10, -5.78)
CIE-LCHlch(79.94, 34.58, 350.38°)
OKLaboklab(84.03% 0.1015 -0.0149)
OKLCHoklch(84.03% 0.103 351.7)
XYZxyz(68.2034, 56.5767, 68.2882)
Luminance0.5657 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFAFD2 #AFFFDC
analogous
#FFAFFA #FFAFD2 #FFB4AF
triadic
#FFAFD2 #D2FFAF #AFD2FF
tetradic
#FFAFD2 #FAFFAF #AFFFDC #B4AFFF
square
#FFAFD2 #FAFFAF #AFFFDC #B4AFFF
split-complementary
#FFAFD2 #AFFFB4 #AFFAFF
monochromatic
#FF358D #FF72B0 #FFAFD2 #FFE0EE #FFE0EE

Accessibility & contrast

On white

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

On black

12.31
#FFAFD2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFAFD2
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFAFD2#FFFFFF#000000##000000
##FFAFD21.001.7112.3112.31
#FFFFFF1.711.0021.0021.00
#00000012.3121.001.001.00
##00000012.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7BED3
Deuteranopia (green-blind)
#CACBD0
Tritanopia (blue-blind)
#FFADBB
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #ffafd2;
/* rgb */ color: rgb(255, 175, 210);
/* oklch */ color: oklch(84.0% 0.103 351.7);
Tailwind
colors: {
  custom: {
    50: '#ffc7df',
    500: '#ffafd2',
    950: '#000000',
  },
}
SCSS
$custom: #ffafd2;
$custom-light: #ffc7df;
$custom-dark: #000000;
JSON
{
  "hex": "#ffafd2",
  "rgb": {
    "r": 255,
    "g": 175,
    "b": 210
  },
  "hsl": {
    "h": 333.75,
    "s": 100,
    "l": 84.314
  },
  "oklch": {
    "l": 0.84032,
    "c": 0.10258,
    "h": 351.7
  },
  "luminance": 0.56573
}

Semantic roles & 50–950 ramp

primary
#FFAFD2
secondary
#6DE5B1
accent
#E68100
background
#FFFDFE
surface
#FFF9FC
border
#D7D2D5
text
#181315
muted
#868284

Preview Lab

Preview with #FFAFD2

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

Preview Lab → · Contrast checker → · Palette generator →

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