#FF97EB#FF97EB

#FF97EB is a light, vivid pink. Relative luminance 0.494; OKLCH L 81.1% C 0.161 H 334.4°. Best body text is #000000 at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#FF97EB
RGBrgb(255, 151, 235)
HSLhsl(312, 100%, 80%)
HSVhsv(312, 41%, 100%)
CMYKcmyk(0%, 40.8%, 7.8%, 0%)
CIE-LABlab(75.70, 50.41, -25.75)
CIE-LCHlch(75.70, 56.61, 332.95°)
OKLaboklab(81.07% 0.1448 -0.0694)
OKLCHoklch(81.07% 0.161 334.4)
XYZxyz(67.3017, 49.3951, 84.5704)
Luminance0.4939 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF97EB #97FFAB
analogous
#DF97FF #FF97EB #FF97B7
triadic
#FF97EB #EBFF97 #97EBFF
tetradic
#FF97EB #FFDF97 #97FFAB #97B7FF
square
#FF97EB #FFDF97 #97FFAB #97B7FF
split-complementary
#FF97EB #B7FF97 #97FFDF
monochromatic
#FF1DD3 #FF5ADF #FF97EB #FFD4F7 #FFE0F9

Accessibility & contrast

On white

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

On black

10.88
#FF97EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF97EB
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF97EB#FFFFFF#000000##000000
##FF97EB1.001.9310.8810.88
#FFFFFF1.931.0021.0021.00
#00000010.8821.001.001.00
##00000010.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#97B1EE
Deuteranopia (green-blind)
#B2C0E8
Tritanopia (blue-blind)
#FF9CB7
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #ff97eb;
/* rgb */ color: rgb(255, 151, 235);
/* oklch */ color: oklch(81.1% 0.161 334.4);
Tailwind
colors: {
  custom: {
    50: '#ffb8f1',
    500: '#ff97eb',
    950: '#000000',
  },
}
SCSS
$custom: #ff97eb;
$custom-light: #ffb8f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ff97eb",
  "rgb": {
    "r": 255,
    "g": 151,
    "b": 235
  },
  "hsl": {
    "h": 311.538,
    "s": 100,
    "l": 79.608
  },
  "oklch": {
    "l": 0.81074,
    "c": 0.16054,
    "h": 334.4
  },
  "luminance": 0.49391
}

Semantic roles & 50–950 ramp

primary
#FF97EB
secondary
#D4F7DB
accent
#E62C00
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#181116
muted
#868084

Preview Lab

Preview with #FF97EB

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

Preview Lab → · Contrast checker → · Palette generator →

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