#FFAFE7#FFAFE7

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

Color values

HEX#FFAFE7
RGBrgb(255, 175, 231)
HSLhsl(318, 100%, 84%)
HSVhsv(318, 31%, 100%)
CMYKcmyk(0%, 31.4%, 9.4%, 0%)
CIE-LABlab(80.57, 37.42, -16.19)
CIE-LCHlch(80.57, 40.77, 336.60°)
OKLaboklab(84.72% 0.1082 -0.0431)
OKLCHoklch(84.72% 0.117 338.3)
XYZxyz(70.9934, 57.6927, 82.9821)
Luminance0.5769 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFAFE7 #AFFFC7
analogous
#EFAFFF #FFAFE7 #FFAFBF
triadic
#FFAFE7 #E7FFAF #AFE7FF
tetradic
#FFAFE7 #FFEFAF #AFFFC7 #AFBFFF
square
#FFAFE7 #FFEFAF #AFFFC7 #AFBFFF
split-complementary
#FFAFE7 #BFFFAF #AFFFEF
monochromatic
#FF35C2 #FF72D5 #FFAFE7 #FFE0F6 #FFE0F6

Accessibility & contrast

On white

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

On black

12.54
#FFAFE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFAFE7
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFAFE7#FFFFFF#000000##000000
##FFAFE71.001.6712.5412.54
#FFFFFF1.671.0021.0021.00
#00000012.5421.001.001.00
##00000012.5421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ffafe7;
/* rgb */ color: rgb(255, 175, 231);
/* oklch */ color: oklch(84.7% 0.117 338.3);
Tailwind
colors: {
  custom: {
    50: '#ffc8ee',
    500: '#ffafe7',
    950: '#000000',
  },
}
SCSS
$custom: #ffafe7;
$custom-light: #ffc8ee;
$custom-dark: #000000;
JSON
{
  "hex": "#ffafe7",
  "rgb": {
    "r": 255,
    "g": 175,
    "b": 231
  },
  "hsl": {
    "h": 318,
    "s": 100,
    "l": 84.314
  },
  "oklch": {
    "l": 0.84717,
    "c": 0.1165,
    "h": 338.3
  },
  "luminance": 0.57689
}

Semantic roles & 50–950 ramp

primary
#FFAFE7
secondary
#6DE591
accent
#E64500
background
#FFFDFF
surface
#FFF9FE
border
#D7D2D6
text
#181316
muted
#868285

Preview Lab

Preview with #FFAFE7

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

Preview Lab → · Contrast checker → · Palette generator →

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