#FFAFE6#FFAFE6

#FFAFE6 is a very light, moderate pink. Relative luminance 0.576; OKLCH L 84.7% C 0.116 H 338.9°. Best body text is #000000 at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#FFAFE6
RGBrgb(255, 175, 230)
HSLhsl(319, 100%, 84%)
HSVhsv(319, 31%, 100%)
CMYKcmyk(0%, 31.4%, 9.8%, 0%)
CIE-LABlab(80.54, 37.25, -15.70)
CIE-LCHlch(80.54, 40.43, 337.15°)
OKLaboklab(84.68% 0.1079 -0.0417)
OKLCHoklch(84.68% 0.116 338.9)
XYZxyz(70.8526, 57.6364, 82.2404)
Luminance0.5763 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFAFE6 #AFFFC8
analogous
#F0AFFF #FFAFE6 #FFAFBE
triadic
#FFAFE6 #E6FFAF #AFE6FF
tetradic
#FFAFE6 #FFF0AF #AFFFC8 #AFBEFF
square
#FFAFE6 #FFF0AF #AFFFC8 #AFBEFF
split-complementary
#FFAFE6 #BEFFAF #AFFFF0
monochromatic
#FF35C0 #FF72D3 #FFAFE6 #FFE0F5 #FFE0F5

Accessibility & contrast

On white

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

On black

12.53
#FFAFE6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFAFE6
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFAFE6#FFFFFF#000000##000000
##FFAFE61.001.6812.5312.53
#FFFFFF1.681.0021.0021.00
#00000012.5321.001.001.00
##00000012.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1C0E8
Deuteranopia (green-blind)
#C5CCE4
Tritanopia (blue-blind)
#FFB1C2
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #ffafe6;
/* rgb */ color: rgb(255, 175, 230);
/* oklch */ color: oklch(84.7% 0.116 338.9);
Tailwind
colors: {
  custom: {
    50: '#ffc8ee',
    500: '#ffafe6',
    950: '#000000',
  },
}
SCSS
$custom: #ffafe6;
$custom-light: #ffc8ee;
$custom-dark: #000000;
JSON
{
  "hex": "#ffafe6",
  "rgb": {
    "r": 255,
    "g": 175,
    "b": 230
  },
  "hsl": {
    "h": 318.75,
    "s": 100,
    "l": 84.314
  },
  "oklch": {
    "l": 0.84683,
    "c": 0.11572,
    "h": 338.9
  },
  "luminance": 0.57633
}

Semantic roles & 50–950 ramp

primary
#FFAFE6
secondary
#6DE593
accent
#E64800
background
#FFFDFF
surface
#FFF9FE
border
#D7D2D6
text
#181316
muted
#868285

Preview Lab

Preview with #FFAFE6

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

Preview Lab → · Contrast checker → · Palette generator →

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