#FFAFE3#FFAFE3

#FFAFE3 is a very light, moderate pink. Relative luminance 0.575; OKLCH L 84.6% C 0.113 H 340.6°. Best body text is #000000 at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#FFAFE3
RGBrgb(255, 175, 227)
HSLhsl(321, 100%, 84%)
HSVhsv(321, 31%, 100%)
CMYKcmyk(0%, 31.4%, 11%, 0%)
CIE-LABlab(80.44, 36.76, -14.22)
CIE-LCHlch(80.44, 39.42, 338.85°)
OKLaboklab(84.58% 0.107 -0.0377)
OKLCHoklch(84.58% 0.113 340.6)
XYZxyz(70.4349, 57.4693, 80.0408)
Luminance0.5747 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFAFE3 #AFFFCB
analogous
#F3AFFF #FFAFE3 #FFAFBB
triadic
#FFAFE3 #E3FFAF #AFE3FF
tetradic
#FFAFE3 #FFF3AF #AFFFCB #AFBBFF
square
#FFAFE3 #FFF3AF #AFFFCB #AFBBFF
split-complementary
#FFAFE3 #BBFFAF #AFFFF3
monochromatic
#FF35B8 #FF72CE #FFAFE3 #FFE0F4 #FFE0F4

Accessibility & contrast

On white

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

On black

12.49
#FFAFE3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFAFE3
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFAFE3#FFFFFF#000000##000000
##FFAFE31.001.6812.4912.49
#FFFFFF1.681.0021.0021.00
#00000012.4921.001.001.00
##00000012.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2C0E5
Deuteranopia (green-blind)
#C5CCE1
Tritanopia (blue-blind)
#FFB0C1
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #ffafe3;
/* rgb */ color: rgb(255, 175, 227);
/* oklch */ color: oklch(84.6% 0.113 340.6);
Tailwind
colors: {
  custom: {
    50: '#ffc8eb',
    500: '#ffafe3',
    950: '#000000',
  },
}
SCSS
$custom: #ffafe3;
$custom-light: #ffc8eb;
$custom-dark: #000000;
JSON
{
  "hex": "#ffafe3",
  "rgb": {
    "r": 255,
    "g": 175,
    "b": 227
  },
  "hsl": {
    "h": 321,
    "s": 100,
    "l": 84.314
  },
  "oklch": {
    "l": 0.84581,
    "c": 0.11345,
    "h": 340.6
  },
  "luminance": 0.57466
}

Semantic roles & 50–950 ramp

primary
#FFAFE3
secondary
#6DE597
accent
#E65000
background
#FFFDFE
surface
#FFF9FD
border
#D7D2D5
text
#181316
muted
#868284

Preview Lab

Preview with #FFAFE3

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

Preview Lab → · Contrast checker → · Palette generator →

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