#FF97E7#FF97E7

#FF97E7 is a light, vivid pink. Relative luminance 0.492; OKLCH L 80.9% C 0.157 H 336.0°. Best body text is #000000 at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#FF97E7
RGBrgb(255, 151, 231)
HSLhsl(314, 100%, 80%)
HSVhsv(314, 41%, 100%)
CMYKcmyk(0%, 40.8%, 9.4%, 0%)
CIE-LABlab(75.55, 49.76, -23.78)
CIE-LCHlch(75.55, 55.15, 334.45°)
OKLaboklab(80.92% 0.1438 -0.0639)
OKLCHoklch(80.92% 0.157 336)
XYZxyz(66.7303, 49.1666, 81.5611)
Luminance0.4916 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF97E7 #97FFAF
analogous
#E397FF #FF97E7 #FF97B3
triadic
#FF97E7 #E7FF97 #97E7FF
tetradic
#FF97E7 #FFE397 #97FFAF #97B3FF
square
#FF97E7 #FFE397 #97FFAF #97B3FF
split-complementary
#FF97E7 #B3FF97 #97FFE3
monochromatic
#FF1DCB #FF5AD9 #FF97E7 #FFD4F5 #FFE0F8

Accessibility & contrast

On white

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

On black

10.83
#FF97E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF97E7
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF97E7#FFFFFF#000000##000000
##FF97E71.001.9410.8310.83
#FFFFFF1.941.0021.0021.00
#00000010.8321.001.001.00
##00000010.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#98B1EA
Deuteranopia (green-blind)
#B3C0E4
Tritanopia (blue-blind)
#FF9BB5
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #ff97e7;
/* rgb */ color: rgb(255, 151, 231);
/* oklch */ color: oklch(80.9% 0.157 336.0);
Tailwind
colors: {
  custom: {
    50: '#ffb8ee',
    500: '#ff97e7',
    950: '#000000',
  },
}
SCSS
$custom: #ff97e7;
$custom-light: #ffb8ee;
$custom-dark: #000000;
JSON
{
  "hex": "#ff97e7",
  "rgb": {
    "r": 255,
    "g": 151,
    "b": 231
  },
  "hsl": {
    "h": 313.846,
    "s": 100,
    "l": 79.608
  },
  "oklch": {
    "l": 0.8092,
    "c": 0.15733,
    "h": 336
  },
  "luminance": 0.49163
}

Semantic roles & 50–950 ramp

primary
#FF97E7
secondary
#D4F7DC
accent
#E63500
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#181116
muted
#868084

Preview Lab

Preview with #FF97E7

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

Preview Lab → · Contrast checker → · Palette generator →

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