#FF98E2#FF98E2

#FF98E2 is a light, vivid pink. Relative luminance 0.492; OKLCH L 80.9% C 0.152 H 338.3°. Best body text is #000000 at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#FF98E2
RGBrgb(255, 152, 226)
HSLhsl(317, 100%, 80%)
HSVhsv(317, 40%, 100%)
CMYKcmyk(0%, 40.4%, 11.4%, 0%)
CIE-LABlab(75.58, 48.45, -21.01)
CIE-LCHlch(75.58, 52.81, 336.55°)
OKLaboklab(80.88% 0.141 -0.0562)
OKLCHoklch(80.88% 0.152 338.3)
XYZxyz(66.1958, 49.2113, 77.9488)
Luminance0.4921 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF98E2 #98FFB5
analogous
#E898FF #FF98E2 #FF98AF
triadic
#FF98E2 #E2FF98 #98E2FF
tetradic
#FF98E2 #FFE898 #98FFB5 #98AFFF
square
#FF98E2 #FFE898 #98FFB5 #98AFFF
split-complementary
#FF98E2 #AFFF98 #98FFE8
monochromatic
#FF1EC0 #FF5BD1 #FF98E2 #FFD5F3 #FFE0F6

Accessibility & contrast

On white

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

On black

10.84
#FF98E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF98E2
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF98E2#FFFFFF#000000##000000
##FF98E21.001.9410.8410.84
#FFFFFF1.941.0021.0021.00
#00000010.8421.001.001.00
##00000010.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9BB0E5
Deuteranopia (green-blind)
#B5C0DF
Tritanopia (blue-blind)
#FF9BB3
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #ff98e2;
/* rgb */ color: rgb(255, 152, 226);
/* oklch */ color: oklch(80.9% 0.152 338.3);
Tailwind
colors: {
  custom: {
    50: '#ffb8eb',
    500: '#ff98e2',
    950: '#000000',
  },
}
SCSS
$custom: #ff98e2;
$custom-light: #ffb8eb;
$custom-dark: #000000;
JSON
{
  "hex": "#ff98e2",
  "rgb": {
    "r": 255,
    "g": 152,
    "b": 226
  },
  "hsl": {
    "h": 316.893,
    "s": 100,
    "l": 79.804
  },
  "oklch": {
    "l": 0.80884,
    "c": 0.15178,
    "h": 338.3
  },
  "luminance": 0.49207
}

Semantic roles & 50–950 ramp

primary
#FF98E2
secondary
#D4F7DE
accent
#E64100
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#181216
muted
#868184

Preview Lab

Preview with #FF98E2

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

Preview Lab → · Contrast checker → · Palette generator →

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