#FF98DF#FF98DF

#FF98DF is a light, vivid pink. Relative luminance 0.490; OKLCH L 80.8% C 0.150 H 339.6°. Best body text is #000000 at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#FF98DF
RGBrgb(255, 152, 223)
HSLhsl(319, 100%, 80%)
HSVhsv(319, 40%, 100%)
CMYKcmyk(0%, 40.4%, 12.5%, 0%)
CIE-LABlab(75.48, 47.97, -19.53)
CIE-LCHlch(75.48, 51.80, 337.85°)
OKLaboklab(80.77% 0.1402 -0.0521)
OKLCHoklch(80.77% 0.15 339.6)
XYZxyz(65.7878, 49.0481, 75.7998)
Luminance0.4904 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF98DF #98FFB8
analogous
#EC98FF #FF98DF #FF98AB
triadic
#FF98DF #DFFF98 #98DFFF
tetradic
#FF98DF #FFEC98 #98FFB8 #98ABFF
square
#FF98DF #FFEC98 #98FFB8 #98ABFF
split-complementary
#FF98DF #ABFF98 #98FFEC
monochromatic
#FF1EB9 #FF5BCC #FF98DF #FFD5F2 #FFE0F5

Accessibility & contrast

On white

1.94
#FF98DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.81
#FF98DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF98DF
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF98DF#FFFFFF#000000##000000
##FF98DF1.001.9410.8110.81
#FFFFFF1.941.0021.0021.00
#00000010.8121.001.001.00
##00000010.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9CB0E2
Deuteranopia (green-blind)
#B6C0DC
Tritanopia (blue-blind)
#FF9AB2
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #ff98df;
/* rgb */ color: rgb(255, 152, 223);
/* oklch */ color: oklch(80.8% 0.150 339.6);
Tailwind
colors: {
  custom: {
    50: '#ffb8e9',
    500: '#ff98df',
    950: '#000000',
  },
}
SCSS
$custom: #ff98df;
$custom-light: #ffb8e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ff98df",
  "rgb": {
    "r": 255,
    "g": 152,
    "b": 223
  },
  "hsl": {
    "h": 318.641,
    "s": 100,
    "l": 79.804
  },
  "oklch": {
    "l": 0.80775,
    "c": 0.14954,
    "h": 339.6
  },
  "luminance": 0.49044
}

Semantic roles & 50–950 ramp

primary
#FF98DF
secondary
#D4F7DF
accent
#E64700
background
#FFFBFE
surface
#FFF6FC
border
#D7D0D5
text
#181116
muted
#868084

Preview Lab

Preview with #FF98DF

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

Preview Lab → · Contrast checker → · Palette generator →

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