#FF98EC#FF98EC

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

Color values

HEX#FF98EC
RGBrgb(255, 152, 236)
HSLhsl(311, 100%, 80%)
HSVhsv(311, 40%, 100%)
CMYKcmyk(0%, 40.4%, 7.5%, 0%)
CIE-LABlab(75.93, 50.07, -25.93)
CIE-LCHlch(75.93, 56.39, 332.62°)
OKLaboklab(81.26% 0.1436 -0.0699)
OKLCHoklch(81.26% 0.16 334)
XYZxyz(67.6082, 49.7763, 85.3873)
Luminance0.4977 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF98EC #98FFAB
analogous
#DF98FF #FF98EC #FF98B9
triadic
#FF98EC #ECFF98 #98ECFF
tetradic
#FF98EC #FFDF98 #98FFAB #98B9FF
square
#FF98EC #FFDF98 #98FFAB #98B9FF
split-complementary
#FF98EC #B9FF98 #98FFDF
monochromatic
#FF1ED5 #FF5BE1 #FF98EC #FFD5F7 #FFE0F9

Accessibility & contrast

On white

1.92
#FF98EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.95
#FF98EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF98EC
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF98EC#FFFFFF#000000##000000
##FF98EC1.001.9210.9510.95
#FFFFFF1.921.0021.0021.00
#00000010.9521.001.001.00
##00000010.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ff98ec;
/* rgb */ color: rgb(255, 152, 236);
/* oklch */ color: oklch(81.3% 0.160 334.0);
Tailwind
colors: {
  custom: {
    50: '#ffb8f2',
    500: '#ff98ec',
    950: '#000000',
  },
}
SCSS
$custom: #ff98ec;
$custom-light: #ffb8f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ff98ec",
  "rgb": {
    "r": 255,
    "g": 152,
    "b": 236
  },
  "hsl": {
    "h": 311.068,
    "s": 100,
    "l": 79.804
  },
  "oklch": {
    "l": 0.81262,
    "c": 0.15969,
    "h": 334
  },
  "luminance": 0.49773
}

Semantic roles & 50–950 ramp

primary
#FF98EC
secondary
#D4F7DA
accent
#E62A00
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#181217
muted
#868185

Preview Lab

Preview with #FF98EC

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

Preview Lab → · Contrast checker → · Palette generator →

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