#F98CE4#F98CE4

#F98CE4 is a light, vivid pink. Relative luminance 0.445; OKLCH L 78.5% C 0.169 H 334.6°. Best body text is #000000 at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#F98CE4
RGBrgb(249, 140, 228)
HSLhsl(312, 90%, 76%)
HSVhsv(312, 44%, 98%)
CMYKcmyk(0%, 43.8%, 8.4%, 2.4%)
CIE-LABlab(72.56, 52.94, -26.78)
CIE-LCHlch(72.56, 59.33, 333.17°)
OKLaboklab(78.49% 0.1524 -0.0723)
OKLCHoklch(78.49% 0.169 334.6)
XYZxyz(62.4485, 44.5011, 78.6840)
Luminance0.4450 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F98CE4 #8CF9A1
analogous
#D88CF9 #F98CE4 #F98CAE
triadic
#F98CE4 #E4F98C #8CE4F9
tetradic
#F98CE4 #F9D88C #8CF9A1 #8CAEF9
square
#F98CE4 #F9D88C #8CF9A1 #8CAEF9
split-complementary
#F98CE4 #AEF98C #8CF9D8
monochromatic
#F318C9 #F652D6 #F98CE4 #FCC6F2 #FDE2F8

Accessibility & contrast

On white

2.12
#F98CE4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.90
#F98CE4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F98CE4
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F98CE4#FFFFFF#000000##000000
##F98CE41.002.129.909.90
#FFFFFF2.121.0021.0021.00
#0000009.9021.001.001.00
##0000009.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CA8E7
Deuteranopia (green-blind)
#A9B8E1
Tritanopia (blue-blind)
#FF91AE
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #f98ce4;
/* rgb */ color: rgb(249, 140, 228);
/* oklch */ color: oklch(78.5% 0.169 334.6);
Tailwind
colors: {
  custom: {
    50: '#fdb0ec',
    500: '#f98ce4',
    950: '#000000',
  },
}
SCSS
$custom: #f98ce4;
$custom-light: #fdb0ec;
$custom-dark: #000000;
JSON
{
  "hex": "#f98ce4",
  "rgb": {
    "r": 249,
    "g": 140,
    "b": 228
  },
  "hsl": {
    "h": 311.56,
    "s": 90.083,
    "l": 76.275
  },
  "oklch": {
    "l": 0.78485,
    "c": 0.16868,
    "h": 334.6
  },
  "luminance": 0.44497
}

Semantic roles & 50–950 ramp

primary
#F98CE4
secondary
#D5F6DC
accent
#E62C00
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#181116
muted
#868084

Preview Lab

Preview with #F98CE4

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

Preview Lab → · Contrast checker → · Palette generator →

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