#FFAFE5#FFAFE5

#FFAFE5 is a very light, moderate pink. Relative luminance 0.576; OKLCH L 84.6% C 0.115 H 339.4°. Best body text is #000000 at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#FFAFE5
RGBrgb(255, 175, 229)
HSLhsl(320, 100%, 84%)
HSVhsv(320, 31%, 100%)
CMYKcmyk(0%, 31.4%, 10.2%, 0%)
CIE-LABlab(80.50, 37.09, -15.21)
CIE-LCHlch(80.50, 40.09, 337.71°)
OKLaboklab(84.65% 0.1076 -0.0404)
OKLCHoklch(84.65% 0.115 339.4)
XYZxyz(70.7125, 57.5804, 81.5030)
Luminance0.5758 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFAFE5 #AFFFC9
analogous
#F1AFFF #FFAFE5 #FFAFBD
triadic
#FFAFE5 #E5FFAF #AFE5FF
tetradic
#FFAFE5 #FFF1AF #AFFFC9 #AFBDFF
square
#FFAFE5 #FFF1AF #AFFFC9 #AFBDFF
split-complementary
#FFAFE5 #BDFFAF #AFFFF1
monochromatic
#FF35BD #FF72D1 #FFAFE5 #FFE0F5 #FFE0F5

Accessibility & contrast

On white

1.68
#FFAFE5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.52
#FFAFE5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFAFE5
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFAFE5#FFFFFF#000000##000000
##FFAFE51.001.6812.5212.52
#FFFFFF1.681.0021.0021.00
#00000012.5221.001.001.00
##00000012.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2C0E7
Deuteranopia (green-blind)
#C5CCE3
Tritanopia (blue-blind)
#FFB0C2
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #ffafe5;
/* rgb */ color: rgb(255, 175, 229);
/* oklch */ color: oklch(84.6% 0.115 339.4);
Tailwind
colors: {
  custom: {
    50: '#ffc8ed',
    500: '#ffafe5',
    950: '#000000',
  },
}
SCSS
$custom: #ffafe5;
$custom-light: #ffc8ed;
$custom-dark: #000000;
JSON
{
  "hex": "#ffafe5",
  "rgb": {
    "r": 255,
    "g": 175,
    "b": 229
  },
  "hsl": {
    "h": 319.5,
    "s": 100,
    "l": 84.314
  },
  "oklch": {
    "l": 0.84649,
    "c": 0.11495,
    "h": 339.4
  },
  "luminance": 0.57577
}

Semantic roles & 50–950 ramp

primary
#FFAFE5
secondary
#6DE594
accent
#E64B00
background
#FFFDFE
surface
#FFF9FD
border
#D7D2D5
text
#181316
muted
#868284

Preview Lab

Preview with #FFAFE5

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

Preview Lab → · Contrast checker → · Palette generator →

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