#F98FE7#F98FE7

#F98FE7 is a light, vivid pink. Relative luminance 0.456; OKLCH L 79.0% C 0.166 H 333.6°. Best body text is #000000 at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#F98FE7
RGBrgb(249, 143, 231)
HSLhsl(310, 90%, 77%)
HSVhsv(310, 43%, 98%)
CMYKcmyk(0%, 42.6%, 7.2%, 2.4%)
CIE-LABlab(73.26, 51.94, -27.36)
CIE-LCHlch(73.26, 58.71, 332.22°)
OKLaboklab(79.04% 0.1488 -0.0739)
OKLCHoklch(79.04% 0.166 333.6)
XYZxyz(63.3129, 45.5578, 81.0445)
Luminance0.4555 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F98FE7 #8FF9A1
analogous
#D68FF9 #F98FE7 #F98FB2
triadic
#F98FE7 #E7F98F #8FE7F9
tetradic
#F98FE7 #F9D68F #8FF9A1 #8FB2F9
square
#F98FE7 #F9D68F #8FF9A1 #8FB2F9
split-complementary
#F98FE7 #B2F98F #8FF9D6
monochromatic
#F31BCE #F655DB #F98FE7 #FCC9F3 #FDE2F9

Accessibility & contrast

On white

2.08
#F98FE7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.11
#F98FE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F98FE7
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F98FE7#FFFFFF#000000##000000
##F98FE71.002.0810.1110.11
#FFFFFF2.081.0021.0021.00
#00000010.1121.001.001.00
##00000010.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EAAEA
Deuteranopia (green-blind)
#AAB9E4
Tritanopia (blue-blind)
#FF95B1
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #f98fe7;
/* rgb */ color: rgb(249, 143, 231);
/* oklch */ color: oklch(79.0% 0.166 333.6);
Tailwind
colors: {
  custom: {
    50: '#fdb2ee',
    500: '#f98fe7',
    950: '#000000',
  },
}
SCSS
$custom: #f98fe7;
$custom-light: #fdb2ee;
$custom-dark: #000000;
JSON
{
  "hex": "#f98fe7",
  "rgb": {
    "r": 249,
    "g": 143,
    "b": 231
  },
  "hsl": {
    "h": 310.189,
    "s": 89.831,
    "l": 76.863
  },
  "oklch": {
    "l": 0.79043,
    "c": 0.16616,
    "h": 333.6
  },
  "luminance": 0.45554
}

Semantic roles & 50–950 ramp

primary
#F98FE7
secondary
#D5F6DB
accent
#E62700
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#181116
muted
#868084

Preview Lab

Preview with #F98FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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