#FF97EC#FF97EC

#FF97EC is a light, vivid pink. Relative luminance 0.494; OKLCH L 81.1% C 0.161 H 334.0°. Best body text is #000000 at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#FF97EC
RGBrgb(255, 151, 236)
HSLhsl(311, 100%, 80%)
HSVhsv(311, 41%, 100%)
CMYKcmyk(0%, 40.8%, 7.5%, 0%)
CIE-LABlab(75.73, 50.58, -26.24)
CIE-LCHlch(75.73, 56.98, 332.58°)
OKLaboklab(81.11% 0.145 -0.0708)
OKLCHoklch(81.11% 0.161 334)
XYZxyz(67.4466, 49.4531, 85.3334)
Luminance0.4945 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF97EC #97FFAA
analogous
#DE97FF #FF97EC #FF97B8
triadic
#FF97EC #ECFF97 #97ECFF
tetradic
#FF97EC #FFDE97 #97FFAA #97B8FF
square
#FF97EC #FFDE97 #97FFAA #97B8FF
split-complementary
#FF97EC #B8FF97 #97FFDE
monochromatic
#FF1DD6 #FF5AE1 #FF97EC #FFD4F7 #FFE0F9

Accessibility & contrast

On white

1.93
#FF97EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.89
#FF97EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF97EC
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF97EC#FFFFFF#000000##000000
##FF97EC1.001.9310.8910.89
#FFFFFF1.931.0021.0021.00
#00000010.8921.001.001.00
##00000010.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#96B1EF
Deuteranopia (green-blind)
#B2C0E9
Tritanopia (blue-blind)
#FF9CB7
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #ff97ec;
/* rgb */ color: rgb(255, 151, 236);
/* oklch */ color: oklch(81.1% 0.161 334.0);
Tailwind
colors: {
  custom: {
    50: '#ffb8f2',
    500: '#ff97ec',
    950: '#000000',
  },
}
SCSS
$custom: #ff97ec;
$custom-light: #ffb8f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ff97ec",
  "rgb": {
    "r": 255,
    "g": 151,
    "b": 236
  },
  "hsl": {
    "h": 310.962,
    "s": 100,
    "l": 79.608
  },
  "oklch": {
    "l": 0.81112,
    "c": 0.16136,
    "h": 334
  },
  "luminance": 0.49449
}

Semantic roles & 50–950 ramp

primary
#FF97EC
secondary
#D4F7DA
accent
#E62A00
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#181117
muted
#868085

Preview Lab

Preview with #FF97EC

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

Preview Lab → · Contrast checker → · Palette generator →

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