#FFAFF1#FFAFF1

#FFAFF1 is a very light, vivid pink. Relative luminance 0.583; OKLCH L 85.1% C 0.125 H 333.0°. Best body text is #000000 at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#FFAFF1
RGBrgb(255, 175, 241)
HSLhsl(311, 100%, 84%)
HSVhsv(311, 31%, 100%)
CMYKcmyk(0%, 31.4%, 5.5%, 0%)
CIE-LABlab(80.89, 39.10, -21.08)
CIE-LCHlch(80.89, 44.42, 331.67°)
OKLaboklab(85.07% 0.1112 -0.0566)
OKLCHoklch(85.07% 0.125 333)
XYZxyz(72.4463, 58.2739, 90.6339)
Luminance0.5827 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFAFF1 #AFFFBD
analogous
#E5AFFF #FFAFF1 #FFAFC9
triadic
#FFAFF1 #F1FFAF #AFF1FF
tetradic
#FFAFF1 #FFE5AF #AFFFBD #AFC9FF
square
#FFAFF1 #FFE5AF #AFFFBD #AFC9FF
split-complementary
#FFAFF1 #C9FFAF #AFFFE5
monochromatic
#FF35DC #FF72E6 #FFAFF1 #FFE0FA #FFE0FA

Accessibility & contrast

On white

1.66
#FFAFF1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.65
#FFAFF1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFAFF1
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFAFF1#FFFFFF#000000##000000
##FFAFF11.001.6612.6512.65
#FFFFFF1.661.0021.0021.00
#00000012.6521.001.001.00
##00000012.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AEC2F4
Deuteranopia (green-blind)
#C1CDEE
Tritanopia (blue-blind)
#FFB3C7
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #ffaff1;
/* rgb */ color: rgb(255, 175, 241);
/* oklch */ color: oklch(85.1% 0.125 333.0);
Tailwind
colors: {
  custom: {
    50: '#ffc8f5',
    500: '#ffaff1',
    950: '#000000',
  },
}
SCSS
$custom: #ffaff1;
$custom-light: #ffc8f5;
$custom-dark: #000000;
JSON
{
  "hex": "#ffaff1",
  "rgb": {
    "r": 255,
    "g": 175,
    "b": 241
  },
  "hsl": {
    "h": 310.5,
    "s": 100,
    "l": 84.314
  },
  "oklch": {
    "l": 0.8507,
    "c": 0.12475,
    "h": 333
  },
  "luminance": 0.58271
}

Semantic roles & 50–950 ramp

primary
#FFAFF1
secondary
#6DE582
accent
#E62800
background
#FFFDFF
surface
#FFF9FE
border
#D7D2D6
text
#181317
muted
#868285

Preview Lab

Preview with #FFAFF1

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

Preview Lab → · Contrast checker → · Palette generator →

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