#F098DF#F098DF

#F098DF is a light, vivid pink. Relative luminance 0.463; OKLCH L 79.1% C 0.138 H 334.1°. Best body text is #000000 at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#F098DF
RGBrgb(240, 152, 223)
HSLhsl(312, 75%, 77%)
HSVhsv(312, 37%, 94%)
CMYKcmyk(0%, 36.7%, 7.1%, 5.9%)
CIE-LABlab(73.75, 43.22, -22.32)
CIE-LCHlch(73.75, 48.64, 332.68°)
OKLaboklab(79.09% 0.1237 -0.06)
OKLCHoklch(79.09% 0.138 334.1)
XYZxyz(60.4823, 46.3125, 75.5511)
Luminance0.4631 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F098DF #98F0A9
analogous
#D598F0 #F098DF #F098B3
triadic
#F098DF #DFF098 #98DFF0
tetradic
#F098DF #F0D598 #98F0A9 #98B3F0
square
#F098DF #F0D598 #98F0A9 #98B3F0
split-complementary
#F098DF #B3F098 #98F0D5
monochromatic
#E02DBE #E863CE #F098DF #F8CDF0 #FBE4F7

Accessibility & contrast

On white

2.05
#F098DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.26
#F098DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F098DF
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F098DF#FFFFFF#000000##000000
##F098DF1.002.0510.2610.26
#FFFFFF2.051.0021.0021.00
#00000010.2621.001.001.00
##00000010.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#98ADE2
Deuteranopia (green-blind)
#AEBADC
Tritanopia (blue-blind)
#F89CB2
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #f098df;
/* rgb */ color: rgb(240, 152, 223);
/* oklch */ color: oklch(79.1% 0.138 334.1);
Tailwind
colors: {
  custom: {
    50: '#f6b8e9',
    500: '#f098df',
    950: '#000000',
  },
}
SCSS
$custom: #f098df;
$custom-light: #f6b8e9;
$custom-dark: #000000;
JSON
{
  "hex": "#f098df",
  "rgb": {
    "r": 240,
    "g": 152,
    "b": 223
  },
  "hsl": {
    "h": 311.591,
    "s": 74.576,
    "l": 76.863
  },
  "oklch": {
    "l": 0.79091,
    "c": 0.13751,
    "h": 334.1
  },
  "luminance": 0.46309
}

Semantic roles & 50–950 ramp

primary
#F098DF
secondary
#D8F3DD
accent
#D7350F
background
#FFFBFE
surface
#FFF6FC
border
#D7D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #F098DF

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

Preview Lab → · Contrast checker → · Palette generator →

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