#FFA8EC#FFA8EC

#FFA8EC is a very light, vivid pink. Relative luminance 0.553; OKLCH L 83.8% C 0.133 H 335.0°. Best body text is #000000 at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#FFA8EC
RGBrgb(255, 168, 236)
HSLhsl(313, 100%, 83%)
HSVhsv(313, 34%, 100%)
CMYKcmyk(0%, 34.1%, 7.5%, 0%)
CIE-LABlab(79.23, 41.89, -20.91)
CIE-LCHlch(79.23, 46.82, 333.47°)
OKLaboklab(83.75% 0.1201 -0.0561)
OKLCHoklch(83.75% 0.133 335)
XYZxyz(70.3824, 55.3247, 86.3120)
Luminance0.5532 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFA8EC #A8FFBB
analogous
#E6A8FF #FFA8EC #FFA8C1
triadic
#FFA8EC #ECFFA8 #A8ECFF
tetradic
#FFA8EC #FFE6A8 #A8FFBB #A8C1FF
square
#FFA8EC #FFE6A8 #A8FFBB #A8C1FF
split-complementary
#FFA8EC #C1FFA8 #A8FFE6
monochromatic
#FF2ED1 #FF6BDF #FFA8EC #FFE0F8 #FFE0F8

Accessibility & contrast

On white

1.74
#FFA8EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.06
#FFA8EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFA8EC
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFA8EC#FFFFFF#000000##000000
##FFA8EC1.001.7412.0612.06
#FFFFFF1.741.0021.0021.00
#00000012.0621.001.001.00
##00000012.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8BCEF
Deuteranopia (green-blind)
#BEC9E9
Tritanopia (blue-blind)
#FFABC1
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #ffa8ec;
/* rgb */ color: rgb(255, 168, 236);
/* oklch */ color: oklch(83.8% 0.133 335.0);
Tailwind
colors: {
  custom: {
    50: '#ffc3f2',
    500: '#ffa8ec',
    950: '#000000',
  },
}
SCSS
$custom: #ffa8ec;
$custom-light: #ffc3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ffa8ec",
  "rgb": {
    "r": 255,
    "g": 168,
    "b": 236
  },
  "hsl": {
    "h": 313.103,
    "s": 100,
    "l": 82.941
  },
  "oklch": {
    "l": 0.83752,
    "c": 0.13256,
    "h": 335
  },
  "luminance": 0.55321
}

Semantic roles & 50–950 ramp

primary
#FFA8EC
secondary
#67E482
accent
#E63200
background
#FFFDFF
surface
#FFF9FE
border
#D7D2D6
text
#181217
muted
#868285

Preview Lab

Preview with #FFA8EC

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

Preview Lab → · Contrast checker → · Palette generator →

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