#F97BE2#F97BE2

#F97BE2 is a light, vivid pink. Relative luminance 0.398; OKLCH L 76.0% C 0.194 H 334.7°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#F97BE2
RGBrgb(249, 123, 226)
HSLhsl(311, 91%, 73%)
HSVhsv(311, 51%, 98%)
CMYKcmyk(0%, 50.6%, 9.2%, 2.4%)
CIE-LABlab(69.33, 60.84, -30.66)
CIE-LCHlch(69.33, 68.12, 333.26°)
OKLaboklab(76.05% 0.1758 -0.0831)
OKLCHoklch(76.05% 0.194 334.7)
XYZxyz(59.8775, 39.8007, 76.4653)
Luminance0.3980 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F97BE2 #7BF992
analogous
#D17BF9 #F97BE2 #F97BA3
triadic
#F97BE2 #E2F97B #7BE2F9
tetradic
#F97BE2 #F9D17B #7BF992 #7BA3F9
square
#F97BE2 #F9D17B #7BF992 #7BA3F9
split-complementary
#F97BE2 #A3F97B #7BF9D1
monochromatic
#EF0BC5 #F640D5 #F97BE2 #FCB6EF #FEE2F9

Accessibility & contrast

On white

2.34
#F97BE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.96
#F97BE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F97BE2
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F97BE2#FFFFFF#000000##000000
##F97BE21.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B9EE5
Deuteranopia (green-blind)
#9FB0DE
Tritanopia (blue-blind)
#FF82A4
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #f97be2;
/* rgb */ color: rgb(249, 123, 226);
/* oklch */ color: oklch(76.0% 0.194 334.7);
Tailwind
colors: {
  custom: {
    50: '#fea6eb',
    500: '#f97be2',
    950: '#000000',
  },
}
SCSS
$custom: #f97be2;
$custom-light: #fea6eb;
$custom-dark: #000000;
JSON
{
  "hex": "#f97be2",
  "rgb": {
    "r": 249,
    "g": 123,
    "b": 226
  },
  "hsl": {
    "h": 310.952,
    "s": 91.304,
    "l": 72.941
  },
  "oklch": {
    "l": 0.7605,
    "c": 0.19442,
    "h": 334.7
  },
  "luminance": 0.39797
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F97BE2

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

Preview Lab → · Contrast checker → · Palette generator →

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