#F98EC7#F98EC7

#F98EC7 is a light, vivid pink. Relative luminance 0.436; OKLCH L 77.7% C 0.145 H 347.8°. Best body text is #000000 at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#F98EC7
RGBrgb(249, 142, 199)
HSLhsl(328, 90%, 77%)
HSVhsv(328, 43%, 98%)
CMYKcmyk(0%, 43%, 20.1%, 2.4%)
CIE-LABlab(71.97, 47.46, -11.68)
CIE-LCHlch(71.97, 48.88, 346.17°)
OKLaboklab(77.72% 0.1416 -0.0306)
OKLCHoklch(77.72% 0.145 347.8)
XYZxyz(59.0499, 43.6134, 59.3299)
Luminance0.4361 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F98EC7 #8EF9C0
analogous
#F58EF9 #F98EC7 #F98E92
triadic
#F98EC7 #C7F98E #8EC7F9
tetradic
#F98EC7 #F9F58E #8EF9C0 #8E92F9
square
#F98EC7 #F9F58E #8EF9C0 #8E92F9
split-complementary
#F98EC7 #92F98E #8EF9F5
monochromatic
#F31A8D #F654AA #F98EC7 #FCC8E4 #FDE2F1

Accessibility & contrast

On white

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

On black

9.72
#F98EC7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F98EC7
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F98EC7#FFFFFF#000000##000000
##F98EC71.002.169.729.72
#FFFFFF2.161.0021.0021.00
#0000009.7221.001.001.00
##0000009.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#98A5C9
Deuteranopia (green-blind)
#B3B7C4
Tritanopia (blue-blind)
#FF8CA3
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #f98ec7;
/* rgb */ color: rgb(249, 142, 199);
/* oklch */ color: oklch(77.7% 0.145 347.8);
Tailwind
colors: {
  custom: {
    50: '#fdb1d8',
    500: '#f98ec7',
    950: '#000000',
  },
}
SCSS
$custom: #f98ec7;
$custom-light: #fdb1d8;
$custom-dark: #000000;
JSON
{
  "hex": "#f98ec7",
  "rgb": {
    "r": 249,
    "g": 142,
    "b": 199
  },
  "hsl": {
    "h": 328.037,
    "s": 89.916,
    "l": 76.667
  },
  "oklch": {
    "l": 0.77715,
    "c": 0.1449,
    "h": 347.8
  },
  "luminance": 0.43609
}

Semantic roles & 50–950 ramp

primary
#F98EC7
secondary
#D5F6E4
accent
#E66B00
background
#FFFBFD
surface
#FFF6FA
border
#D7D0D3
text
#181114
muted
#868083

Preview Lab

Preview with #F98EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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