#F797DF#F797DF

#F797DF is a light, vivid pink. Relative luminance 0.472; OKLCH L 79.7% C 0.145 H 336.7°. Best body text is #000000 at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#F797DF
RGBrgb(247, 151, 223)
HSLhsl(315, 86%, 78%)
HSVhsv(315, 39%, 97%)
CMYKcmyk(0%, 38.9%, 9.7%, 3.1%)
CIE-LABlab(74.34, 45.95, -21.35)
CIE-LCHlch(74.34, 50.67, 335.08°)
OKLaboklab(79.71% 0.1329 -0.0572)
OKLCHoklch(79.71% 0.145 336.7)
XYZxyz(62.7436, 47.2385, 75.6108)
Luminance0.4723 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F797DF #97F7AF
analogous
#DF97F7 #F797DF #F797AF
triadic
#F797DF #DFF797 #97DFF7
tetradic
#F797DF #F7DF97 #97F7AF #97AFF7
square
#F797DF #F7DF97 #97F7AF #97AFF7
split-complementary
#F797DF #AFF797 #97F7DF
monochromatic
#EE25BC #F35ECE #F797DF #FBD0F0 #FDE3F6

Accessibility & contrast

On white

2.01
#F797DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.45
#F797DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F797DF
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F797DF#FFFFFF#000000##000000
##F797DF1.002.0110.4510.45
#FFFFFF2.011.0021.0021.00
#00000010.4521.001.001.00
##00000010.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#98AEE2
Deuteranopia (green-blind)
#B1BCDC
Tritanopia (blue-blind)
#FF9AB2
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #f797df;
/* rgb */ color: rgb(247, 151, 223);
/* oklch */ color: oklch(79.7% 0.145 336.7);
Tailwind
colors: {
  custom: {
    50: '#fbb7e9',
    500: '#f797df',
    950: '#000000',
  },
}
SCSS
$custom: #f797df;
$custom-light: #fbb7e9;
$custom-dark: #000000;
JSON
{
  "hex": "#f797df",
  "rgb": {
    "r": 247,
    "g": 151,
    "b": 223
  },
  "hsl": {
    "h": 315,
    "s": 85.714,
    "l": 78.039
  },
  "oklch": {
    "l": 0.79714,
    "c": 0.14471,
    "h": 336.7
  },
  "luminance": 0.47235
}

Semantic roles & 50–950 ramp

primary
#F797DF
secondary
#D6F5DE
accent
#E23B03
background
#FFFBFE
surface
#FFF6FC
border
#D7D0D5
text
#181116
muted
#868084

Preview Lab

Preview with #F797DF

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

Preview Lab → · Contrast checker → · Palette generator →

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