#FF97E2#FF97E2

#FF97E2 is a light, vivid pink. Relative luminance 0.489; OKLCH L 80.7% C 0.153 H 338.2°. Best body text is #000000 at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#FF97E2
RGBrgb(255, 151, 226)
HSLhsl(317, 100%, 80%)
HSVhsv(317, 41%, 100%)
CMYKcmyk(0%, 40.8%, 11.4%, 0%)
CIE-LABlab(75.38, 48.95, -21.32)
CIE-LCHlch(75.38, 53.39, 336.47°)
OKLaboklab(80.73% 0.1425 -0.0571)
OKLCHoklch(80.73% 0.153 338.2)
XYZxyz(66.0342, 48.8881, 77.8950)
Luminance0.4888 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF97E2 #97FFB4
analogous
#E897FF #FF97E2 #FF97AE
triadic
#FF97E2 #E2FF97 #97E2FF
tetradic
#FF97E2 #FFE897 #97FFB4 #97AEFF
square
#FF97E2 #FFE897 #97FFB4 #97AEFF
split-complementary
#FF97E2 #AEFF97 #97FFE8
monochromatic
#FF1DC0 #FF5AD1 #FF97E2 #FFD4F3 #FFE0F6

Accessibility & contrast

On white

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

On black

10.78
#FF97E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF97E2
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF97E2#FFFFFF#000000##000000
##FF97E21.001.9510.7810.78
#FFFFFF1.951.0021.0021.00
#00000010.7821.001.001.00
##00000010.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9AB0E5
Deuteranopia (green-blind)
#B5C0DF
Tritanopia (blue-blind)
#FF9AB3
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #ff97e2;
/* rgb */ color: rgb(255, 151, 226);
/* oklch */ color: oklch(80.7% 0.153 338.2);
Tailwind
colors: {
  custom: {
    50: '#ffb8eb',
    500: '#ff97e2',
    950: '#000000',
  },
}
SCSS
$custom: #ff97e2;
$custom-light: #ffb8eb;
$custom-dark: #000000;
JSON
{
  "hex": "#ff97e2",
  "rgb": {
    "r": 255,
    "g": 151,
    "b": 226
  },
  "hsl": {
    "h": 316.731,
    "s": 100,
    "l": 79.608
  },
  "oklch": {
    "l": 0.80733,
    "c": 0.15345,
    "h": 338.2
  },
  "luminance": 0.48884
}

Semantic roles & 50–950 ramp

primary
#FF97E2
secondary
#D4F7DE
accent
#E64000
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#181116
muted
#868084

Preview Lab

Preview with #FF97E2

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

Preview Lab → · Contrast checker → · Palette generator →

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