#FF97CB#FF97CB

#FF97CB is a light, vivid pink. Relative luminance 0.477; OKLCH L 79.9% C 0.138 H 349.3°. Best body text is #000000 at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#FF97CB
RGBrgb(255, 151, 203)
HSLhsl(330, 100%, 80%)
HSVhsv(330, 41%, 100%)
CMYKcmyk(0%, 40.8%, 20.4%, 0%)
CIE-LABlab(74.64, 45.46, -9.83)
CIE-LCHlch(74.64, 46.51, 347.80°)
OKLaboklab(79.93% 0.1358 -0.0256)
OKLCHoklch(79.93% 0.138 349.3)
XYZxyz(63.0873, 47.7093, 62.3743)
Luminance0.4770 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF97CB #97FFCB
analogous
#FF97FF #FF97CB #FF9797
triadic
#FF97CB #CBFF97 #97CBFF
tetradic
#FF97CB #FFFF97 #97FFCB #9797FF
square
#FF97CB #FFFF97 #97FFCB #9797FF
split-complementary
#FF97CB #97FF97 #97FFFF
monochromatic
#FF1D8E #FF5AAC #FF97CB #FFD4EA #FFE0F0

Accessibility & contrast

On white

1.99
#FF97CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.54
#FF97CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF97CB
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF97CB#FFFFFF#000000##000000
##FF97CB1.001.9910.5410.54
#FFFFFF1.991.0021.0021.00
#00000010.5421.001.001.00
##00000010.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A1ADCD
Deuteranopia (green-blind)
#BBBEC8
Tritanopia (blue-blind)
#FF94AA
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #ff97cb;
/* rgb */ color: rgb(255, 151, 203);
/* oklch */ color: oklch(79.9% 0.138 349.3);
Tailwind
colors: {
  custom: {
    50: '#ffb7da',
    500: '#ff97cb',
    950: '#000000',
  },
}
SCSS
$custom: #ff97cb;
$custom-light: #ffb7da;
$custom-dark: #000000;
JSON
{
  "hex": "#ff97cb",
  "rgb": {
    "r": 255,
    "g": 151,
    "b": 203
  },
  "hsl": {
    "h": 330,
    "s": 100,
    "l": 79.608
  },
  "oklch": {
    "l": 0.7993,
    "c": 0.13817,
    "h": 349.3
  },
  "luminance": 0.47705
}

Semantic roles & 50–950 ramp

primary
#FF97CB
secondary
#D4F7E6
accent
#E67300
background
#FFFBFD
surface
#FFF6FA
border
#D7D0D3
text
#181114
muted
#868083

Preview Lab

Preview with #FF97CB

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

Preview Lab → · Contrast checker → · Palette generator →

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