#FFA1EF#FFA1EF

#FFA1EF is a very light, vivid pink. Relative luminance 0.530; OKLCH L 82.8% C 0.147 H 333.2°. Best body text is #000000 at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#FFA1EF
RGBrgb(255, 161, 239)
HSLhsl(310, 100%, 82%)
HSVhsv(310, 37%, 100%)
CMYKcmyk(0%, 36.9%, 6.3%, 0%)
CIE-LABlab(77.87, 46.00, -24.60)
CIE-LCHlch(77.87, 52.17, 331.86°)
OKLaboklab(82.76% 0.1312 -0.0663)
OKLCHoklch(82.76% 0.147 333.2)
XYZxyz(69.5643, 52.9852, 88.2076)
Luminance0.5298 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFA1EF #A1FFB1
analogous
#E0A1FF #FFA1EF #FFA1C0
triadic
#FFA1EF #EFFFA1 #A1EFFF
tetradic
#FFA1EF #FFE0A1 #A1FFB1 #A1C0FF
square
#FFA1EF #FFE0A1 #A1FFB1 #A1C0FF
split-complementary
#FFA1EF #C0FFA1 #A1FFE0
monochromatic
#FF27DA #FF64E5 #FFA1EF #FFDEF9 #FFE0FA

Accessibility & contrast

On white

1.81
#FFA1EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.60
#FFA1EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFA1EF
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFA1EF#FFFFFF#000000##000000
##FFA1EF1.001.8111.6011.60
#FFFFFF1.811.0021.0021.00
#00000011.6021.001.001.00
##00000011.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A0B8F2
Deuteranopia (green-blind)
#B8C5EC
Tritanopia (blue-blind)
#FFA6BE
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #ffa1ef;
/* rgb */ color: rgb(255, 161, 239);
/* oklch */ color: oklch(82.8% 0.147 333.2);
Tailwind
colors: {
  custom: {
    50: '#ffbef4',
    500: '#ffa1ef',
    950: '#000000',
  },
}
SCSS
$custom: #ffa1ef;
$custom-light: #ffbef4;
$custom-dark: #000000;
JSON
{
  "hex": "#ffa1ef",
  "rgb": {
    "r": 255,
    "g": 161,
    "b": 239
  },
  "hsl": {
    "h": 310.213,
    "s": 100,
    "l": 81.569
  },
  "oklch": {
    "l": 0.82755,
    "c": 0.14702,
    "h": 333.2
  },
  "luminance": 0.52982
}

Semantic roles & 50–950 ramp

primary
#FFA1EF
secondary
#61E377
accent
#E62700
background
#FFFDFF
surface
#FFF9FE
border
#D7D2D6
text
#181217
muted
#868285

Preview Lab

Preview with #FFA1EF

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

Preview Lab → · Contrast checker → · Palette generator →

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