#F998DC#F998DC

#F998DC is a light, vivid pink. Relative luminance 0.478; OKLCH L 80.0% C 0.142 H 338.9°. Best body text is #000000 at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#F998DC
RGBrgb(249, 152, 220)
HSLhsl(318, 89%, 79%)
HSVhsv(318, 39%, 98%)
CMYKcmyk(0%, 39%, 11.6%, 2.4%)
CIE-LABlab(74.68, 45.59, -19.17)
CIE-LCHlch(74.68, 49.46, 337.19°)
OKLaboklab(79.98% 0.1328 -0.0512)
OKLCHoklch(79.98% 0.142 338.9)
XYZxyz(63.2135, 47.7671, 73.5867)
Luminance0.4776 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F998DC #98F9B5
analogous
#E598F9 #F998DC #F998AB
triadic
#F998DC #DCF998 #98DCF9
tetradic
#F998DC #F9E598 #98F9B5 #98ABF9
square
#F998DC #F9E598 #98F9B5 #98ABF9
split-complementary
#F998DC #ABF998 #98F9E5
monochromatic
#F224B5 #F65EC8 #F998DC #FCD2F0 #FDE2F5

Accessibility & contrast

On white

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

On black

10.55
#F998DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F998DC
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F998DC#FFFFFF#000000##000000
##F998DC1.001.9910.5510.55
#FFFFFF1.991.0021.0021.00
#00000010.5521.001.001.00
##00000010.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9BAFDE
Deuteranopia (green-blind)
#B4BDD9
Tritanopia (blue-blind)
#FF9AB1
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #f998dc;
/* rgb */ color: rgb(249, 152, 220);
/* oklch */ color: oklch(80.0% 0.142 338.9);
Tailwind
colors: {
  custom: {
    50: '#fdb8e7',
    500: '#f998dc',
    950: '#000000',
  },
}
SCSS
$custom: #f998dc;
$custom-light: #fdb8e7;
$custom-dark: #000000;
JSON
{
  "hex": "#f998dc",
  "rgb": {
    "r": 249,
    "g": 152,
    "b": 220
  },
  "hsl": {
    "h": 317.938,
    "s": 88.991,
    "l": 78.627
  },
  "oklch": {
    "l": 0.79984,
    "c": 0.14232,
    "h": 338.9
  },
  "luminance": 0.47764
}

Semantic roles & 50–950 ramp

primary
#F998DC
secondary
#D6F5DF
accent
#E64500
background
#FFFBFE
surface
#FFF6FC
border
#D7D0D5
text
#181116
muted
#868084

Preview Lab

Preview with #F998DC

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

Preview Lab → · Contrast checker → · Palette generator →

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