#FFAFE8#FFAFE8

#FFAFE8 is a very light, moderate pink. Relative luminance 0.577; OKLCH L 84.8% C 0.117 H 337.7°. Best body text is #000000 at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#FFAFE8
RGBrgb(255, 175, 232)
HSLhsl(317, 100%, 84%)
HSVhsv(317, 31%, 100%)
CMYKcmyk(0%, 31.4%, 9%, 0%)
CIE-LABlab(80.60, 37.58, -16.68)
CIE-LCHlch(80.60, 41.12, 336.07°)
OKLaboklab(84.75% 0.1085 -0.0445)
OKLCHoklch(84.75% 0.117 337.7)
XYZxyz(71.1350, 57.7494, 83.7280)
Luminance0.5775 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFAFE8 #AFFFC6
analogous
#EEAFFF #FFAFE8 #FFAFC0
triadic
#FFAFE8 #E8FFAF #AFE8FF
tetradic
#FFAFE8 #FFEEAF #AFFFC6 #AFC0FF
square
#FFAFE8 #FFEEAF #AFFFC6 #AFC0FF
split-complementary
#FFAFE8 #C0FFAF #AFFFEE
monochromatic
#FF35C5 #FF72D6 #FFAFE8 #FFE0F6 #FFE0F6

Accessibility & contrast

On white

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

On black

12.55
#FFAFE8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFAFE8
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFAFE8#FFFFFF#000000##000000
##FFAFE81.001.6712.5512.55
#FFFFFF1.671.0021.0021.00
#00000012.5521.001.001.00
##00000012.5521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ffafe8;
/* rgb */ color: rgb(255, 175, 232);
/* oklch */ color: oklch(84.8% 0.117 337.7);
Tailwind
colors: {
  custom: {
    50: '#ffc8ef',
    500: '#ffafe8',
    950: '#000000',
  },
}
SCSS
$custom: #ffafe8;
$custom-light: #ffc8ef;
$custom-dark: #000000;
JSON
{
  "hex": "#ffafe8",
  "rgb": {
    "r": 255,
    "g": 175,
    "b": 232
  },
  "hsl": {
    "h": 317.25,
    "s": 100,
    "l": 84.314
  },
  "oklch": {
    "l": 0.84752,
    "c": 0.11728,
    "h": 337.7
  },
  "luminance": 0.57746
}

Semantic roles & 50–950 ramp

primary
#FFAFE8
secondary
#6DE590
accent
#E64200
background
#FFFDFF
surface
#FFF9FE
border
#D7D2D6
text
#181316
muted
#868285

Preview Lab

Preview with #FFAFE8

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

Preview Lab → · Contrast checker → · Palette generator →

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