#FF98DC#FF98DC

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

Color values

HEX#FF98DC
RGBrgb(255, 152, 220)
HSLhsl(320, 100%, 80%)
HSVhsv(320, 40%, 100%)
CMYKcmyk(0%, 40.4%, 13.7%, 0%)
CIE-LABlab(75.38, 47.50, -18.04)
CIE-LCHlch(75.38, 50.81, 339.20°)
OKLaboklab(80.67% 0.1393 -0.048)
OKLCHoklch(80.67% 0.147 341)
XYZxyz(65.3869, 48.8878, 73.6885)
Luminance0.4888 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF98DC #98FFBB
analogous
#EE98FF #FF98DC #FF98A9
triadic
#FF98DC #DCFF98 #98DCFF
tetradic
#FF98DC #FFEE98 #98FFBB #98A9FF
square
#FF98DC #FFEE98 #98FFBB #98A9FF
split-complementary
#FF98DC #A9FF98 #98FFEE
monochromatic
#FF1EB2 #FF5BC7 #FF98DC #FFD5F1 #FFE0F5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FF98DC#FFFFFF#000000##000000
##FF98DC1.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)
#9DB0DE
Deuteranopia (green-blind)
#B7C0D9
Tritanopia (blue-blind)
#FF99B1
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #ff98dc;
/* rgb */ color: rgb(255, 152, 220);
/* oklch */ color: oklch(80.7% 0.147 341.0);
Tailwind
colors: {
  custom: {
    50: '#ffb8e7',
    500: '#ff98dc',
    950: '#000000',
  },
}
SCSS
$custom: #ff98dc;
$custom-light: #ffb8e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ff98dc",
  "rgb": {
    "r": 255,
    "g": 152,
    "b": 220
  },
  "hsl": {
    "h": 320.388,
    "s": 100,
    "l": 79.804
  },
  "oklch": {
    "l": 0.80666,
    "c": 0.14737,
    "h": 341
  },
  "luminance": 0.48884
}

Semantic roles & 50–950 ramp

primary
#FF98DC
secondary
#D4F7E0
accent
#E64E00
background
#FFFBFE
surface
#FFF6FC
border
#D7D0D5
text
#181116
muted
#868084

Preview Lab

Preview with #FF98DC

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

Preview Lab → · Contrast checker → · Palette generator →

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