#FE98EC#FE98EC

#FE98EC is a light, vivid pink. Relative luminance 0.496; OKLCH L 81.1% C 0.159 H 333.7°. Best body text is #000000 at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#FE98EC
RGBrgb(254, 152, 236)
HSLhsl(311, 98%, 80%)
HSVhsv(311, 40%, 100%)
CMYKcmyk(0%, 40.2%, 7.1%, 0.4%)
CIE-LABlab(75.82, 49.77, -26.12)
CIE-LCHlch(75.82, 56.20, 332.31°)
OKLaboklab(81.15% 0.1425 -0.0705)
OKLCHoklch(81.15% 0.159 333.7)
XYZxyz(67.2412, 49.5871, 85.3701)
Luminance0.4958 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FE98EC #98FEAA
analogous
#DD98FE #FE98EC #FE98B9
triadic
#FE98EC #ECFE98 #98ECFE
tetradic
#FE98EC #FEDD98 #98FEAA #98B9FE
square
#FE98EC #FEDD98 #98FEAA #98B9FE
split-complementary
#FE98EC #B9FE98 #98FEDD
monochromatic
#FD1FD6 #FD5BE1 #FE98EC #FFD5F7 #FFE1F9

Accessibility & contrast

On white

1.92
#FE98EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.92
#FE98EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FE98EC
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FE98EC#FFFFFF#000000##000000
##FE98EC1.001.9210.9210.92
#FFFFFF1.921.0021.0021.00
#00000010.9221.001.001.00
##00000010.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#97B2EF
Deuteranopia (green-blind)
#B2C0E9
Tritanopia (blue-blind)
#FF9DB8
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #fe98ec;
/* rgb */ color: rgb(254, 152, 236);
/* oklch */ color: oklch(81.1% 0.159 333.7);
Tailwind
colors: {
  custom: {
    50: '#ffb8f2',
    500: '#fe98ec',
    950: '#000000',
  },
}
SCSS
$custom: #fe98ec;
$custom-light: #ffb8f2;
$custom-dark: #000000;
JSON
{
  "hex": "#fe98ec",
  "rgb": {
    "r": 254,
    "g": 152,
    "b": 236
  },
  "hsl": {
    "h": 310.588,
    "s": 98.077,
    "l": 79.608
  },
  "oklch": {
    "l": 0.81149,
    "c": 0.15895,
    "h": 333.7
  },
  "luminance": 0.49583
}

Semantic roles & 50–950 ramp

primary
#FE98EC
secondary
#D4F7DA
accent
#E62800
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#181217
muted
#868185

Preview Lab

Preview with #FE98EC

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

Preview Lab → · Contrast checker → · Palette generator →

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