#FFAFEF#FFAFEF

#FFAFEF is a very light, vivid pink. Relative luminance 0.582; OKLCH L 85.0% C 0.123 H 334.0°. Best body text is #000000 at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#FFAFEF
RGBrgb(255, 175, 239)
HSLhsl(312, 100%, 84%)
HSVhsv(312, 31%, 100%)
CMYKcmyk(0%, 31.4%, 6.3%, 0%)
CIE-LABlab(80.82, 38.76, -20.11)
CIE-LCHlch(80.82, 43.66, 332.58°)
OKLaboklab(85% 0.1106 -0.0539)
OKLCHoklch(85% 0.123 334)
XYZxyz(72.1492, 58.1550, 89.0692)
Luminance0.5815 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFAFEF #AFFFBF
analogous
#E7AFFF #FFAFEF #FFAFC7
triadic
#FFAFEF #EFFFAF #AFEFFF
tetradic
#FFAFEF #FFE7AF #AFFFBF #AFC7FF
square
#FFAFEF #FFE7AF #AFFFBF #AFC7FF
split-complementary
#FFAFEF #C7FFAF #AFFFE7
monochromatic
#FF35D7 #FF72E3 #FFAFEF #FFE0F9 #FFE0F9

Accessibility & contrast

On white

1.66
#FFAFEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.63
#FFAFEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFAFEF
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFAFEF#FFFFFF#000000##000000
##FFAFEF1.001.6612.6312.63
#FFFFFF1.661.0021.0021.00
#00000012.6321.001.001.00
##00000012.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFC2F1
Deuteranopia (green-blind)
#C2CDED
Tritanopia (blue-blind)
#FFB3C6
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #ffafef;
/* rgb */ color: rgb(255, 175, 239);
/* oklch */ color: oklch(85.0% 0.123 334.0);
Tailwind
colors: {
  custom: {
    50: '#ffc8f4',
    500: '#ffafef',
    950: '#000000',
  },
}
SCSS
$custom: #ffafef;
$custom-light: #ffc8f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ffafef",
  "rgb": {
    "r": 255,
    "g": 175,
    "b": 239
  },
  "hsl": {
    "h": 312,
    "s": 100,
    "l": 84.314
  },
  "oklch": {
    "l": 0.84998,
    "c": 0.12303,
    "h": 334
  },
  "luminance": 0.58152
}

Semantic roles & 50–950 ramp

primary
#FFAFEF
secondary
#6DE585
accent
#E62E00
background
#FFFDFF
surface
#FFF9FE
border
#D7D2D6
text
#181317
muted
#868285

Preview Lab

Preview with #FFAFEF

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

Preview Lab → · Contrast checker → · Palette generator →

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