#FF97E5#FF97E5

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

Color values

HEX#FF97E5
RGBrgb(255, 151, 229)
HSLhsl(315, 100%, 80%)
HSVhsv(315, 41%, 100%)
CMYKcmyk(0%, 40.8%, 10.2%, 0%)
CIE-LABlab(75.48, 49.43, -22.80)
CIE-LCHlch(75.48, 54.44, 335.24°)
OKLaboklab(80.85% 0.1432 -0.0612)
OKLCHoklch(80.85% 0.156 336.9)
XYZxyz(66.4495, 49.0542, 80.0819)
Luminance0.4905 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF97E5 #97FFB1
analogous
#E597FF #FF97E5 #FF97B1
triadic
#FF97E5 #E5FF97 #97E5FF
tetradic
#FF97E5 #FFE597 #97FFB1 #97B1FF
square
#FF97E5 #FFE597 #97FFB1 #97B1FF
split-complementary
#FF97E5 #B1FF97 #97FFE5
monochromatic
#FF1DC6 #FF5AD6 #FF97E5 #FFD4F4 #FFE0F7

Accessibility & contrast

On white

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

On black

10.81
#FF97E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF97E5
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF97E5#FFFFFF#000000##000000
##FF97E51.001.9410.8110.81
#FFFFFF1.941.0021.0021.00
#00000010.8121.001.001.00
##00000010.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ff97e5;
/* rgb */ color: rgb(255, 151, 229);
/* oklch */ color: oklch(80.8% 0.156 336.9);
Tailwind
colors: {
  custom: {
    50: '#ffb8ed',
    500: '#ff97e5',
    950: '#000000',
  },
}
SCSS
$custom: #ff97e5;
$custom-light: #ffb8ed;
$custom-dark: #000000;
JSON
{
  "hex": "#ff97e5",
  "rgb": {
    "r": 255,
    "g": 151,
    "b": 229
  },
  "hsl": {
    "h": 315,
    "s": 100,
    "l": 79.608
  },
  "oklch": {
    "l": 0.80845,
    "c": 0.15576,
    "h": 336.9
  },
  "luminance": 0.4905
}

Semantic roles & 50–950 ramp

primary
#FF97E5
secondary
#D4F7DD
accent
#E63900
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#181116
muted
#868084

Preview Lab

Preview with #FF97E5

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

Preview Lab → · Contrast checker → · Palette generator →

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