#F8A1EA#F8A1EA

#F8A1EA is a light, vivid purple. Relative luminance 0.514; OKLCH L 81.8% C 0.138 H 332.7°. Best body text is #000000 at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#F8A1EA
RGBrgb(248, 161, 234)
HSLhsl(310, 86%, 80%)
HSVhsv(310, 35%, 97%)
CMYKcmyk(0%, 35.1%, 5.6%, 2.7%)
CIE-LABlab(76.91, 42.96, -23.42)
CIE-LCHlch(76.91, 48.92, 331.40°)
OKLaboklab(81.81% 0.1222 -0.0631)
OKLCHoklch(81.81% 0.138 332.7)
XYZxyz(66.3069, 51.3898, 84.2525)
Luminance0.5139 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8A1EA #A1F8AF
analogous
#DAA1F8 #F8A1EA #F8A1BE
triadic
#F8A1EA #EAF8A1 #A1EAF8
tetradic
#F8A1EA #F8DAA1 #A1F8AF #A1BEF8
square
#F8A1EA #F8DAA1 #A1F8AF #A1BEF8
split-complementary
#F8A1EA #BEF8A1 #A1F8DA
monochromatic
#F02FD1 #F468DD #F8A1EA #FCDAF7 #FDE3F9

Accessibility & contrast

On white

1.86
#F8A1EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.28
#F8A1EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8A1EA
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8A1EA#FFFFFF#000000##000000
##F8A1EA1.001.8611.2811.28
#FFFFFF1.861.0021.0021.00
#00000011.2821.001.001.00
##00000011.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A0B6ED
Deuteranopia (green-blind)
#B5C2E7
Tritanopia (blue-blind)
#FFA6BC
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #f8a1ea;
/* rgb */ color: rgb(248, 161, 234);
/* oklch */ color: oklch(81.8% 0.138 332.7);
Tailwind
colors: {
  custom: {
    50: '#fcbef0',
    500: '#f8a1ea',
    950: '#000000',
  },
}
SCSS
$custom: #f8a1ea;
$custom-light: #fcbef0;
$custom-dark: #000000;
JSON
{
  "hex": "#f8a1ea",
  "rgb": {
    "r": 248,
    "g": 161,
    "b": 234
  },
  "hsl": {
    "h": 309.655,
    "s": 86.139,
    "l": 80.196
  },
  "oklch": {
    "l": 0.81808,
    "c": 0.13751,
    "h": 332.7
  },
  "luminance": 0.51387
}

Semantic roles & 50–950 ramp

primary
#F8A1EA
secondary
#64D977
accent
#E32703
background
#FFFDFF
surface
#FFF9FE
border
#D7D2D6
text
#181216
muted
#868285

Preview Lab

Preview with #F8A1EA

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

Preview Lab → · Contrast checker → · Palette generator →

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