#F97DE2#F97DE2

#F97DE2 is a light, vivid pink. Relative luminance 0.403; OKLCH L 76.3% C 0.191 H 334.8°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#F97DE2
RGBrgb(249, 125, 226)
HSLhsl(311, 91%, 73%)
HSVhsv(311, 50%, 98%)
CMYKcmyk(0%, 49.8%, 9.2%, 2.4%)
CIE-LABlab(69.68, 59.90, -30.11)
CIE-LCHlch(69.68, 67.04, 333.31°)
OKLaboklab(76.31% 0.173 -0.0815)
OKLCHoklch(76.31% 0.191 334.8)
XYZxyz(60.1281, 40.3020, 76.5488)
Luminance0.4030 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F97DE2 #7DF994
analogous
#D27DF9 #F97DE2 #F97DA4
triadic
#F97DE2 #E2F97D #7DE2F9
tetradic
#F97DE2 #F9D27D #7DF994 #7DA4F9
square
#F97DE2 #F9D27D #7DF994 #7DA4F9
split-complementary
#F97DE2 #A4F97D #7DF9D2
monochromatic
#F00BC6 #F642D5 #F97DE2 #FCB7EF #FEE2F8

Accessibility & contrast

On white

2.32
#F97DE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.06
#F97DE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F97DE2
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F97DE2#FFFFFF#000000##000000
##F97DE21.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D9FE5
Deuteranopia (green-blind)
#A0B1DF
Tritanopia (blue-blind)
#FF84A5
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #f97de2;
/* rgb */ color: rgb(249, 125, 226);
/* oklch */ color: oklch(76.3% 0.191 334.8);
Tailwind
colors: {
  custom: {
    50: '#fea7eb',
    500: '#f97de2',
    950: '#000000',
  },
}
SCSS
$custom: #f97de2;
$custom-light: #fea7eb;
$custom-dark: #000000;
JSON
{
  "hex": "#f97de2",
  "rgb": {
    "r": 249,
    "g": 125,
    "b": 226
  },
  "hsl": {
    "h": 311.129,
    "s": 91.176,
    "l": 73.333
  },
  "oklch": {
    "l": 0.76314,
    "c": 0.19129,
    "h": 334.8
  },
  "luminance": 0.40298
}

Semantic roles & 50–950 ramp

primary
#F97DE2
secondary
#D5F6DB
accent
#E62B00
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#181016
muted
#867F84

Preview Lab

Preview with #F97DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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