#FFAFE1#FFAFE1

#FFAFE1 is a very light, moderate pink. Relative luminance 0.574; OKLCH L 84.5% C 0.112 H 341.8°. Best body text is #000000 at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#FFAFE1
RGBrgb(255, 175, 225)
HSLhsl(323, 100%, 84%)
HSVhsv(323, 31%, 100%)
CMYKcmyk(0%, 31.4%, 11.8%, 0%)
CIE-LABlab(80.38, 36.44, -13.23)
CIE-LCHlch(80.38, 38.77, 340.04°)
OKLaboklab(84.51% 0.1064 -0.035)
OKLCHoklch(84.51% 0.112 341.8)
XYZxyz(70.1605, 57.3595, 78.5954)
Luminance0.5736 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFAFE1 #AFFFCD
analogous
#F5AFFF #FFAFE1 #FFAFB9
triadic
#FFAFE1 #E1FFAF #AFE1FF
tetradic
#FFAFE1 #FFF5AF #AFFFCD #AFB9FF
square
#FFAFE1 #FFF5AF #AFFFCD #AFB9FF
split-complementary
#FFAFE1 #B9FFAF #AFFFF5
monochromatic
#FF35B3 #FF72CA #FFAFE1 #FFE0F4 #FFE0F4

Accessibility & contrast

On white

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

On black

12.47
#FFAFE1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFAFE1
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFAFE1#FFFFFF#000000##000000
##FFAFE11.001.6812.4712.47
#FFFFFF1.681.0021.0021.00
#00000012.4721.001.001.00
##00000012.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3C0E3
Deuteranopia (green-blind)
#C6CCDF
Tritanopia (blue-blind)
#FFB0C0
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #ffafe1;
/* rgb */ color: rgb(255, 175, 225);
/* oklch */ color: oklch(84.5% 0.112 341.8);
Tailwind
colors: {
  custom: {
    50: '#ffc7ea',
    500: '#ffafe1',
    950: '#000000',
  },
}
SCSS
$custom: #ffafe1;
$custom-light: #ffc7ea;
$custom-dark: #000000;
JSON
{
  "hex": "#ffafe1",
  "rgb": {
    "r": 255,
    "g": 175,
    "b": 225
  },
  "hsl": {
    "h": 322.5,
    "s": 100,
    "l": 84.314
  },
  "oklch": {
    "l": 0.84514,
    "c": 0.11199,
    "h": 341.8
  },
  "luminance": 0.57356
}

Semantic roles & 50–950 ramp

primary
#FFAFE1
secondary
#6DE59A
accent
#E65600
background
#FFFDFE
surface
#FFF9FD
border
#D7D2D5
text
#181316
muted
#868284

Preview Lab

Preview with #FFAFE1

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

Preview Lab → · Contrast checker → · Palette generator →

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