#FF97ED#FF97ED

#FF97ED is a light, vivid pink. Relative luminance 0.495; OKLCH L 81.2% C 0.162 H 333.6°. Best body text is #000000 at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#FF97ED
RGBrgb(255, 151, 237)
HSLhsl(310, 100%, 80%)
HSVhsv(310, 41%, 100%)
CMYKcmyk(0%, 40.8%, 7.1%, 0%)
CIE-LABlab(75.77, 50.74, -26.73)
CIE-LCHlch(75.77, 57.35, 332.23°)
OKLaboklab(81.15% 0.1453 -0.0722)
OKLCHoklch(81.15% 0.162 333.6)
XYZxyz(67.5923, 49.5113, 86.1007)
Luminance0.4951 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF97ED #97FFA9
analogous
#DD97FF #FF97ED #FF97B9
triadic
#FF97ED #EDFF97 #97EDFF
tetradic
#FF97ED #FFDD97 #97FFA9 #97B9FF
square
#FF97ED #FFDD97 #97FFA9 #97B9FF
split-complementary
#FF97ED #B9FF97 #97FFDD
monochromatic
#FF1DD8 #FF5AE2 #FF97ED #FFD4F8 #FFE0FA

Accessibility & contrast

On white

1.93
#FF97ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.90
#FF97ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF97ED
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF97ED#FFFFFF#000000##000000
##FF97ED1.001.9310.9010.90
#FFFFFF1.931.0021.0021.00
#00000010.9021.001.001.00
##00000010.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#96B1F0
Deuteranopia (green-blind)
#B1C0EA
Tritanopia (blue-blind)
#FF9CB7
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #ff97ed;
/* rgb */ color: rgb(255, 151, 237);
/* oklch */ color: oklch(81.2% 0.162 333.6);
Tailwind
colors: {
  custom: {
    50: '#ffb8f3',
    500: '#ff97ed',
    950: '#000000',
  },
}
SCSS
$custom: #ff97ed;
$custom-light: #ffb8f3;
$custom-dark: #000000;
JSON
{
  "hex": "#ff97ed",
  "rgb": {
    "r": 255,
    "g": 151,
    "b": 237
  },
  "hsl": {
    "h": 310.385,
    "s": 100,
    "l": 79.608
  },
  "oklch": {
    "l": 0.81151,
    "c": 0.16218,
    "h": 333.6
  },
  "luminance": 0.49508
}

Semantic roles & 50–950 ramp

primary
#FF97ED
secondary
#D4F7DA
accent
#E62800
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#181117
muted
#868085

Preview Lab

Preview with #FF97ED

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

Preview Lab → · Contrast checker → · Palette generator →

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