#F98AE2#F98AE2

#F98AE2 is a light, vivid pink. Relative luminance 0.438; OKLCH L 78.1% C 0.170 H 335.3°. Best body text is #000000 at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#F98AE2
RGBrgb(249, 138, 226)
HSLhsl(312, 90%, 76%)
HSVhsv(312, 45%, 98%)
CMYKcmyk(0%, 44.6%, 9.2%, 2.4%)
CIE-LABlab(72.10, 53.61, -26.39)
CIE-LCHlch(72.10, 59.75, 333.79°)
OKLaboklab(78.12% 0.1548 -0.0712)
OKLCHoklch(78.12% 0.17 335.3)
XYZxyz(61.8828, 43.8115, 77.1338)
Luminance0.4381 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F98AE2 #8AF9A1
analogous
#D88AF9 #F98AE2 #F98AAA
triadic
#F98AE2 #E2F98A #8AE2F9
tetradic
#F98AE2 #F9D88A #8AF9A1 #8AAAF9
square
#F98AE2 #F9D88A #8AF9A1 #8AAAF9
split-complementary
#F98AE2 #AAF98A #8AF9D8
monochromatic
#F316C5 #F650D4 #F98AE2 #FCC4F0 #FEE2F8

Accessibility & contrast

On white

2.15
#F98AE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.76
#F98AE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F98AE2
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F98AE2#FFFFFF#000000##000000
##F98AE21.002.159.769.76
#FFFFFF2.151.0021.0021.00
#0000009.7621.001.001.00
##0000009.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AA6E5
Deuteranopia (green-blind)
#A8B7DF
Tritanopia (blue-blind)
#FF8FAC
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #f98ae2;
/* rgb */ color: rgb(249, 138, 226);
/* oklch */ color: oklch(78.1% 0.170 335.3);
Tailwind
colors: {
  custom: {
    50: '#fdafeb',
    500: '#f98ae2',
    950: '#000000',
  },
}
SCSS
$custom: #f98ae2;
$custom-light: #fdafeb;
$custom-dark: #000000;
JSON
{
  "hex": "#f98ae2",
  "rgb": {
    "r": 249,
    "g": 138,
    "b": 226
  },
  "hsl": {
    "h": 312.432,
    "s": 90.244,
    "l": 75.882
  },
  "oklch": {
    "l": 0.78117,
    "c": 0.17038,
    "h": 335.3
  },
  "luminance": 0.43808
}

Semantic roles & 50–950 ramp

primary
#F98AE2
secondary
#D5F6DC
accent
#E63000
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#181116
muted
#868084

Preview Lab

Preview with #F98AE2

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

Preview Lab → · Contrast checker → · Palette generator →

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