#FC98E2#FC98E2

#FC98E2 is a light, vivid pink. Relative luminance 0.486; OKLCH L 80.5% C 0.149 H 337.2°. Best body text is #000000 at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#FC98E2
RGBrgb(252, 152, 226)
HSLhsl(316, 94%, 79%)
HSVhsv(316, 40%, 99%)
CMYKcmyk(0%, 39.7%, 10.3%, 1.2%)
CIE-LABlab(75.23, 47.51, -21.58)
CIE-LCHlch(75.23, 52.18, 335.57°)
OKLaboklab(80.54% 0.1377 -0.0578)
OKLCHoklch(80.54% 0.149 337.2)
XYZxyz(65.1006, 48.6466, 77.8975)
Luminance0.4864 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FC98E2 #98FCB2
analogous
#E498FC #FC98E2 #FC98B0
triadic
#FC98E2 #E2FC98 #98E2FC
tetradic
#FC98E2 #FCE498 #98FCB2 #98B0FC
square
#FC98E2 #FCE498 #98FCB2 #98B0FC
split-complementary
#FC98E2 #B0FC98 #98FCE4
monochromatic
#F921C1 #FA5DD1 #FC98E2 #FED3F3 #FEE1F7

Accessibility & contrast

On white

1.96
#FC98E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.73
#FC98E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FC98E2
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FC98E2#FFFFFF#000000##000000
##FC98E21.001.9610.7310.73
#FFFFFF1.961.0021.0021.00
#00000010.7321.001.001.00
##00000010.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9AB0E5
Deuteranopia (green-blind)
#B4BFDF
Tritanopia (blue-blind)
#FF9BB3
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #fc98e2;
/* rgb */ color: rgb(252, 152, 226);
/* oklch */ color: oklch(80.5% 0.149 337.2);
Tailwind
colors: {
  custom: {
    50: '#ffb8eb',
    500: '#fc98e2',
    950: '#000000',
  },
}
SCSS
$custom: #fc98e2;
$custom-light: #ffb8eb;
$custom-dark: #000000;
JSON
{
  "hex": "#fc98e2",
  "rgb": {
    "r": 252,
    "g": 152,
    "b": 226
  },
  "hsl": {
    "h": 315.6,
    "s": 94.34,
    "l": 79.216
  },
  "oklch": {
    "l": 0.80544,
    "c": 0.14937,
    "h": 337.2
  },
  "luminance": 0.48643
}

Semantic roles & 50–950 ramp

primary
#FC98E2
secondary
#D5F6DD
accent
#E63C00
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#181116
muted
#868084

Preview Lab

Preview with #FC98E2

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

Preview Lab → · Contrast checker → · Palette generator →

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