#FFAFE9#FFAFE9

#FFAFE9 is a very light, moderate pink. Relative luminance 0.578; OKLCH L 84.8% C 0.118 H 337.2°. Best body text is #000000 at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#FFAFE9
RGBrgb(255, 175, 233)
HSLhsl(317, 100%, 84%)
HSVhsv(317, 31%, 100%)
CMYKcmyk(0%, 31.4%, 8.6%, 0%)
CIE-LABlab(80.63, 37.75, -17.17)
CIE-LCHlch(80.63, 41.47, 335.54°)
OKLaboklab(84.79% 0.1088 -0.0458)
OKLCHoklch(84.79% 0.118 337.2)
XYZxyz(71.2775, 57.8063, 84.4782)
Luminance0.5780 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFAFE9 #AFFFC5
analogous
#EDAFFF #FFAFE9 #FFAFC1
triadic
#FFAFE9 #E9FFAF #AFE9FF
tetradic
#FFAFE9 #FFEDAF #AFFFC5 #AFC1FF
square
#FFAFE9 #FFEDAF #AFFFC5 #AFC1FF
split-complementary
#FFAFE9 #C1FFAF #AFFFED
monochromatic
#FF35C7 #FF72D8 #FFAFE9 #FFE0F7 #FFE0F7

Accessibility & contrast

On white

1.67
#FFAFE9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.56
#FFAFE9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFAFE9
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFAFE9#FFFFFF#000000##000000
##FFAFE91.001.6712.5612.56
#FFFFFF1.671.0021.0021.00
#00000012.5621.001.001.00
##00000012.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B0C1EB
Deuteranopia (green-blind)
#C4CCE7
Tritanopia (blue-blind)
#FFB1C3
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #ffafe9;
/* rgb */ color: rgb(255, 175, 233);
/* oklch */ color: oklch(84.8% 0.118 337.2);
Tailwind
colors: {
  custom: {
    50: '#ffc8f0',
    500: '#ffafe9',
    950: '#000000',
  },
}
SCSS
$custom: #ffafe9;
$custom-light: #ffc8f0;
$custom-dark: #000000;
JSON
{
  "hex": "#ffafe9",
  "rgb": {
    "r": 255,
    "g": 175,
    "b": 233
  },
  "hsl": {
    "h": 316.5,
    "s": 100,
    "l": 84.314
  },
  "oklch": {
    "l": 0.84786,
    "c": 0.11807,
    "h": 337.2
  },
  "luminance": 0.57803
}

Semantic roles & 50–950 ramp

primary
#FFAFE9
secondary
#6DE58E
accent
#E63F00
background
#FFFDFF
surface
#FFF9FE
border
#D7D2D6
text
#181316
muted
#868285

Preview Lab

Preview with #FFAFE9

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

Preview Lab → · Contrast checker → · Palette generator →

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