#FFAFE2#FFAFE2

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

Color values

HEX#FFAFE2
RGBrgb(255, 175, 226)
HSLhsl(322, 100%, 84%)
HSVhsv(322, 31%, 100%)
CMYKcmyk(0%, 31.4%, 11.4%, 0%)
CIE-LABlab(80.41, 36.60, -13.73)
CIE-LCHlch(80.41, 39.09, 339.44°)
OKLaboklab(84.55% 0.1067 -0.0364)
OKLCHoklch(84.55% 0.113 341.2)
XYZxyz(70.2973, 57.4143, 79.3160)
Luminance0.5741 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFAFE2 #AFFFCC
analogous
#F4AFFF #FFAFE2 #FFAFBA
triadic
#FFAFE2 #E2FFAF #AFE2FF
tetradic
#FFAFE2 #FFF4AF #AFFFCC #AFBAFF
square
#FFAFE2 #FFF4AF #AFFFCC #AFBAFF
split-complementary
#FFAFE2 #BAFFAF #AFFFF4
monochromatic
#FF35B6 #FF72CC #FFAFE2 #FFE0F4 #FFE0F4

Accessibility & contrast

On white

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

On black

12.48
#FFAFE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFAFE2
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFAFE2#FFFFFF#000000##000000
##FFAFE21.001.6812.4812.48
#FFFFFF1.681.0021.0021.00
#00000012.4821.001.001.00
##00000012.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2C0E4
Deuteranopia (green-blind)
#C6CCE0
Tritanopia (blue-blind)
#FFB0C1
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #ffafe2;
/* rgb */ color: rgb(255, 175, 226);
/* oklch */ color: oklch(84.5% 0.113 341.2);
Tailwind
colors: {
  custom: {
    50: '#ffc8eb',
    500: '#ffafe2',
    950: '#000000',
  },
}
SCSS
$custom: #ffafe2;
$custom-light: #ffc8eb;
$custom-dark: #000000;
JSON
{
  "hex": "#ffafe2",
  "rgb": {
    "r": 255,
    "g": 175,
    "b": 226
  },
  "hsl": {
    "h": 321.75,
    "s": 100,
    "l": 84.314
  },
  "oklch": {
    "l": 0.84547,
    "c": 0.11272,
    "h": 341.2
  },
  "luminance": 0.57411
}

Semantic roles & 50–950 ramp

primary
#FFAFE2
secondary
#6DE599
accent
#E65300
background
#FFFDFE
surface
#FFF9FD
border
#D7D2D5
text
#181316
muted
#868284

Preview Lab

Preview with #FFAFE2

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

Preview Lab → · Contrast checker → · Palette generator →

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