#F98DE4#F98DE4

#F98DE4 is a light, vivid pink. Relative luminance 0.448; OKLCH L 78.6% C 0.167 H 334.7°. Best body text is #000000 at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#F98DE4
RGBrgb(249, 141, 228)
HSLhsl(312, 90%, 76%)
HSVhsv(312, 43%, 98%)
CMYKcmyk(0%, 43.4%, 8.4%, 2.4%)
CIE-LABlab(72.76, 52.44, -26.48)
CIE-LCHlch(72.76, 58.75, 333.21°)
OKLaboklab(78.63% 0.151 -0.0715)
OKLCHoklch(78.63% 0.167 334.7)
XYZxyz(62.5952, 44.7946, 78.7330)
Luminance0.4479 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F98DE4 #8DF9A2
analogous
#D88DF9 #F98DE4 #F98DAE
triadic
#F98DE4 #E4F98D #8DE4F9
tetradic
#F98DE4 #F9D88D #8DF9A2 #8DAEF9
square
#F98DE4 #F9D88D #8DF9A2 #8DAEF9
split-complementary
#F98DE4 #AEF98D #8DF9D8
monochromatic
#F319C8 #F653D6 #F98DE4 #FCC7F2 #FDE2F8

Accessibility & contrast

On white

2.11
#F98DE4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.96
#F98DE4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F98DE4
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F98DE4#FFFFFF#000000##000000
##F98DE41.002.119.969.96
#FFFFFF2.111.0021.0021.00
#0000009.9621.001.001.00
##0000009.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DA9E7
Deuteranopia (green-blind)
#AAB8E1
Tritanopia (blue-blind)
#FF92AE
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #f98de4;
/* rgb */ color: rgb(249, 141, 228);
/* oklch */ color: oklch(78.6% 0.167 334.7);
Tailwind
colors: {
  custom: {
    50: '#fdb1ec',
    500: '#f98de4',
    950: '#000000',
  },
}
SCSS
$custom: #f98de4;
$custom-light: #fdb1ec;
$custom-dark: #000000;
JSON
{
  "hex": "#f98de4",
  "rgb": {
    "r": 249,
    "g": 141,
    "b": 228
  },
  "hsl": {
    "h": 311.667,
    "s": 90,
    "l": 76.471
  },
  "oklch": {
    "l": 0.78631,
    "c": 0.16702,
    "h": 334.7
  },
  "luminance": 0.44791
}

Semantic roles & 50–950 ramp

primary
#F98DE4
secondary
#D5F6DC
accent
#E62D00
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#181116
muted
#868084

Preview Lab

Preview with #F98DE4

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

Preview Lab → · Contrast checker → · Palette generator →

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