#F98CD5#F98CD5

#F98CD5 is a light, vivid pink. Relative luminance 0.437; OKLCH L 77.9% C 0.157 H 340.9°. Best body text is #000000 at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#F98CD5
RGBrgb(249, 140, 213)
HSLhsl(320, 90%, 76%)
HSVhsv(320, 44%, 98%)
CMYKcmyk(0%, 43.8%, 14.5%, 2.4%)
CIE-LABlab(72.03, 50.56, -19.34)
CIE-LCHlch(72.03, 54.13, 339.07°)
OKLaboklab(77.91% 0.1486 -0.0515)
OKLCHoklch(77.91% 0.157 340.9)
XYZxyz(60.4558, 43.7040, 68.1894)
Luminance0.4370 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F98CD5 #8CF9B0
analogous
#E78CF9 #F98CD5 #F98C9F
triadic
#F98CD5 #D5F98C #8CD5F9
tetradic
#F98CD5 #F9E78C #8CF9B0 #8C9FF9
square
#F98CD5 #F9E78C #8CF9B0 #8C9FF9
split-complementary
#F98CD5 #9FF98C #8CF9E7
monochromatic
#F318AB #F652C0 #F98CD5 #FCC6EA #FDE2F4

Accessibility & contrast

On white

2.16
#F98CD5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.74
#F98CD5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F98CD5
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F98CD5#FFFFFF#000000##000000
##F98CD51.002.169.749.74
#FFFFFF2.161.0021.0021.00
#0000009.7421.001.001.00
##0000009.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#91A6D8
Deuteranopia (green-blind)
#AEB7D2
Tritanopia (blue-blind)
#FF8DA7
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #f98cd5;
/* rgb */ color: rgb(249, 140, 213);
/* oklch */ color: oklch(77.9% 0.157 340.9);
Tailwind
colors: {
  custom: {
    50: '#fdb0e2',
    500: '#f98cd5',
    950: '#000000',
  },
}
SCSS
$custom: #f98cd5;
$custom-light: #fdb0e2;
$custom-dark: #000000;
JSON
{
  "hex": "#f98cd5",
  "rgb": {
    "r": 249,
    "g": 140,
    "b": 213
  },
  "hsl": {
    "h": 319.817,
    "s": 90.083,
    "l": 76.275
  },
  "oklch": {
    "l": 0.77911,
    "c": 0.1573,
    "h": 340.9
  },
  "luminance": 0.437
}

Semantic roles & 50–950 ramp

primary
#F98CD5
secondary
#D5F6E0
accent
#E64C00
background
#FFFBFD
surface
#FFF6FB
border
#D7D0D4
text
#181115
muted
#868083

Preview Lab

Preview with #F98CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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