#FF98ED#FF98ED

#FF98ED is a light, vivid pink. Relative luminance 0.498; OKLCH L 81.3% C 0.161 H 333.6°. Best body text is #000000 at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#FF98ED
RGBrgb(255, 152, 237)
HSLhsl(310, 100%, 80%)
HSVhsv(310, 40%, 100%)
CMYKcmyk(0%, 40.4%, 7.1%, 0%)
CIE-LABlab(75.97, 50.24, -26.42)
CIE-LCHlch(75.97, 56.76, 332.26°)
OKLaboklab(81.3% 0.1438 -0.0713)
OKLCHoklch(81.3% 0.161 333.6)
XYZxyz(67.7539, 49.8346, 86.1546)
Luminance0.4983 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF98ED #98FFAA
analogous
#DD98FF #FF98ED #FF98BA
triadic
#FF98ED #EDFF98 #98EDFF
tetradic
#FF98ED #FFDD98 #98FFAA #98BAFF
square
#FF98ED #FFDD98 #98FFAA #98BAFF
split-complementary
#FF98ED #BAFF98 #98FFDD
monochromatic
#FF1ED8 #FF5BE2 #FF98ED #FFD5F8 #FFE0FA

Accessibility & contrast

On white

1.91
#FF98ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.97
#FF98ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF98ED
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF98ED#FFFFFF#000000##000000
##FF98ED1.001.9110.9710.97
#FFFFFF1.911.0021.0021.00
#00000010.9721.001.001.00
##00000010.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#97B2F0
Deuteranopia (green-blind)
#B2C1EA
Tritanopia (blue-blind)
#FF9DB8
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #ff98ed;
/* rgb */ color: rgb(255, 152, 237);
/* oklch */ color: oklch(81.3% 0.161 333.6);
Tailwind
colors: {
  custom: {
    50: '#ffb8f3',
    500: '#ff98ed',
    950: '#000000',
  },
}
SCSS
$custom: #ff98ed;
$custom-light: #ffb8f3;
$custom-dark: #000000;
JSON
{
  "hex": "#ff98ed",
  "rgb": {
    "r": 255,
    "g": 152,
    "b": 237
  },
  "hsl": {
    "h": 310.485,
    "s": 100,
    "l": 79.804
  },
  "oklch": {
    "l": 0.81301,
    "c": 0.16051,
    "h": 333.6
  },
  "luminance": 0.49831
}

Semantic roles & 50–950 ramp

primary
#FF98ED
secondary
#D4F7DA
accent
#E62800
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#181217
muted
#868185

Preview Lab

Preview with #FF98ED

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

Preview Lab → · Contrast checker → · Palette generator →

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