#FF97DF#FF97DF

#FF97DF is a light, vivid pink. Relative luminance 0.487; OKLCH L 80.6% C 0.151 H 339.5°. Best body text is #000000 at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#FF97DF
RGBrgb(255, 151, 223)
HSLhsl(318, 100%, 80%)
HSVhsv(318, 41%, 100%)
CMYKcmyk(0%, 40.8%, 12.5%, 0%)
CIE-LABlab(75.28, 48.48, -19.83)
CIE-LCHlch(75.28, 52.38, 337.75°)
OKLaboklab(80.62% 0.1416 -0.0529)
OKLCHoklch(80.62% 0.151 339.5)
XYZxyz(65.6262, 48.7249, 75.7459)
Luminance0.4872 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF97DF #97FFB7
analogous
#EB97FF #FF97DF #FF97AB
triadic
#FF97DF #DFFF97 #97DFFF
tetradic
#FF97DF #FFEB97 #97FFB7 #97ABFF
square
#FF97DF #FFEB97 #97FFB7 #97ABFF
split-complementary
#FF97DF #ABFF97 #97FFEB
monochromatic
#FF1DB9 #FF5ACC #FF97DF #FFD4F2 #FFE0F6

Accessibility & contrast

On white

1.95
#FF97DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.74
#FF97DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF97DF
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF97DF#FFFFFF#000000##000000
##FF97DF1.001.9510.7410.74
#FFFFFF1.951.0021.0021.00
#00000010.7421.001.001.00
##00000010.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9BAFE2
Deuteranopia (green-blind)
#B6BFDC
Tritanopia (blue-blind)
#FF99B2
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #ff97df;
/* rgb */ color: rgb(255, 151, 223);
/* oklch */ color: oklch(80.6% 0.151 339.5);
Tailwind
colors: {
  custom: {
    50: '#ffb7e9',
    500: '#ff97df',
    950: '#000000',
  },
}
SCSS
$custom: #ff97df;
$custom-light: #ffb7e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ff97df",
  "rgb": {
    "r": 255,
    "g": 151,
    "b": 223
  },
  "hsl": {
    "h": 318.462,
    "s": 100,
    "l": 79.608
  },
  "oklch": {
    "l": 0.80623,
    "c": 0.15121,
    "h": 339.5
  },
  "luminance": 0.48721
}

Semantic roles & 50–950 ramp

primary
#FF97DF
secondary
#D4F7DF
accent
#E64700
background
#FFFBFE
surface
#FFF6FC
border
#D7D0D5
text
#181116
muted
#868084

Preview Lab

Preview with #FF97DF

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

Preview Lab → · Contrast checker → · Palette generator →

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