#FF97E4#FF97E4

#FF97E4 is a light, vivid pink. Relative luminance 0.490; OKLCH L 80.8% C 0.155 H 337.3°. Best body text is #000000 at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#FF97E4
RGBrgb(255, 151, 228)
HSLhsl(316, 100%, 80%)
HSVhsv(316, 41%, 100%)
CMYKcmyk(0%, 40.8%, 10.6%, 0%)
CIE-LABlab(75.45, 49.27, -22.31)
CIE-LCHlch(75.45, 54.09, 335.64°)
OKLaboklab(80.81% 0.143 -0.0598)
OKLCHoklch(80.81% 0.155 337.3)
XYZxyz(66.3103, 48.9985, 79.3487)
Luminance0.4899 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF97E4 #97FFB2
analogous
#E697FF #FF97E4 #FF97B0
triadic
#FF97E4 #E4FF97 #97E4FF
tetradic
#FF97E4 #FFE697 #97FFB2 #97B0FF
square
#FF97E4 #FFE697 #97FFB2 #97B0FF
split-complementary
#FF97E4 #B0FF97 #97FFE6
monochromatic
#FF1DC4 #FF5AD4 #FF97E4 #FFD4F4 #FFE0F7

Accessibility & contrast

On white

1.94
#FF97E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.80
#FF97E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF97E4
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF97E4#FFFFFF#000000##000000
##FF97E41.001.9410.8010.80
#FFFFFF1.941.0021.0021.00
#00000010.8021.001.001.00
##00000010.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#99B0E7
Deuteranopia (green-blind)
#B4C0E1
Tritanopia (blue-blind)
#FF9AB4
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #ff97e4;
/* rgb */ color: rgb(255, 151, 228);
/* oklch */ color: oklch(80.8% 0.155 337.3);
Tailwind
colors: {
  custom: {
    50: '#ffb8ec',
    500: '#ff97e4',
    950: '#000000',
  },
}
SCSS
$custom: #ff97e4;
$custom-light: #ffb8ec;
$custom-dark: #000000;
JSON
{
  "hex": "#ff97e4",
  "rgb": {
    "r": 255,
    "g": 151,
    "b": 228
  },
  "hsl": {
    "h": 315.577,
    "s": 100,
    "l": 79.608
  },
  "oklch": {
    "l": 0.80807,
    "c": 0.15499,
    "h": 337.3
  },
  "luminance": 0.48995
}

Semantic roles & 50–950 ramp

primary
#FF97E4
secondary
#D4F7DD
accent
#E63C00
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#181116
muted
#868084

Preview Lab

Preview with #FF97E4

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

Preview Lab → · Contrast checker → · Palette generator →

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