#F797E2#F797E2

#F797E2 is a light, vivid pink. Relative luminance 0.474; OKLCH L 79.8% C 0.147 H 335.3°. Best body text is #000000 at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#F797E2
RGBrgb(247, 151, 226)
HSLhsl(313, 86%, 78%)
HSVhsv(313, 39%, 97%)
CMYKcmyk(0%, 38.9%, 8.5%, 3.1%)
CIE-LABlab(74.45, 46.45, -22.83)
CIE-LCHlch(74.45, 51.75, 333.83°)
OKLaboklab(79.83% 0.1337 -0.0614)
OKLCHoklch(79.83% 0.147 335.3)
XYZxyz(63.1516, 47.4018, 77.7598)
Luminance0.4740 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F797E2 #97F7AC
analogous
#DC97F7 #F797E2 #F797B2
triadic
#F797E2 #E2F797 #97E2F7
tetradic
#F797E2 #F7DC97 #97F7AC #97B2F7
square
#F797E2 #F7DC97 #97F7AC #97B2F7
split-complementary
#F797E2 #B2F797 #97F7DC
monochromatic
#EE25C2 #F35ED2 #F797E2 #FBD0F2 #FDE3F7

Accessibility & contrast

On white

2.00
#F797E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.48
#F797E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F797E2
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F797E2#FFFFFF#000000##000000
##F797E21.002.0010.4810.48
#FFFFFF2.001.0021.0021.00
#00000010.4821.001.001.00
##00000010.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#97AEE5
Deuteranopia (green-blind)
#B0BCDF
Tritanopia (blue-blind)
#FF9BB3
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #f797e2;
/* rgb */ color: rgb(247, 151, 226);
/* oklch */ color: oklch(79.8% 0.147 335.3);
Tailwind
colors: {
  custom: {
    50: '#fbb7eb',
    500: '#f797e2',
    950: '#000000',
  },
}
SCSS
$custom: #f797e2;
$custom-light: #fbb7eb;
$custom-dark: #000000;
JSON
{
  "hex": "#f797e2",
  "rgb": {
    "r": 247,
    "g": 151,
    "b": 226
  },
  "hsl": {
    "h": 313.125,
    "s": 85.714,
    "l": 78.039
  },
  "oklch": {
    "l": 0.79826,
    "c": 0.14712,
    "h": 335.3
  },
  "luminance": 0.47398
}

Semantic roles & 50–950 ramp

primary
#F797E2
secondary
#D6F5DD
accent
#E23403
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#181116
muted
#868084

Preview Lab

Preview with #F797E2

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

Preview Lab → · Contrast checker → · Palette generator →

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