#FF97DC#FF97DC

#FF97DC is a light, vivid pink. Relative luminance 0.486; OKLCH L 80.5% C 0.149 H 340.9°. Best body text is #000000 at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#FF97DC
RGBrgb(255, 151, 220)
HSLhsl(320, 100%, 80%)
HSVhsv(320, 41%, 100%)
CMYKcmyk(0%, 40.8%, 13.7%, 0%)
CIE-LABlab(75.18, 48.01, -18.35)
CIE-LCHlch(75.18, 51.39, 339.09°)
OKLaboklab(80.51% 0.1408 -0.0488)
OKLCHoklch(80.51% 0.149 340.9)
XYZxyz(65.2253, 48.5645, 73.6347)
Luminance0.4856 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF97DC #97FFBA
analogous
#EE97FF #FF97DC #FF97A8
triadic
#FF97DC #DCFF97 #97DCFF
tetradic
#FF97DC #FFEE97 #97FFBA #97A8FF
square
#FF97DC #FFEE97 #97FFBA #97A8FF
split-complementary
#FF97DC #A8FF97 #97FFEE
monochromatic
#FF1DB3 #FF5AC7 #FF97DC #FFD4F1 #FFE0F5

Accessibility & contrast

On white

1.96
#FF97DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.71
#FF97DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF97DC
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF97DC#FFFFFF#000000##000000
##FF97DC1.001.9610.7110.71
#FFFFFF1.961.0021.0021.00
#00000010.7121.001.001.00
##00000010.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9CAFDE
Deuteranopia (green-blind)
#B6BFD9
Tritanopia (blue-blind)
#FF98B0
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #ff97dc;
/* rgb */ color: rgb(255, 151, 220);
/* oklch */ color: oklch(80.5% 0.149 340.9);
Tailwind
colors: {
  custom: {
    50: '#ffb7e7',
    500: '#ff97dc',
    950: '#000000',
  },
}
SCSS
$custom: #ff97dc;
$custom-light: #ffb7e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ff97dc",
  "rgb": {
    "r": 255,
    "g": 151,
    "b": 220
  },
  "hsl": {
    "h": 320.192,
    "s": 100,
    "l": 79.608
  },
  "oklch": {
    "l": 0.80514,
    "c": 0.14904,
    "h": 340.9
  },
  "luminance": 0.48561
}

Semantic roles & 50–950 ramp

primary
#FF97DC
secondary
#D4F7E0
accent
#E64D00
background
#FFFBFE
surface
#FFF6FC
border
#D7D0D5
text
#181116
muted
#868084

Preview Lab

Preview with #FF97DC

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

Preview Lab → · Contrast checker → · Palette generator →

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