#F797DA#F797DA

#F797DA is a light, vivid pink. Relative luminance 0.470; OKLCH L 79.5% C 0.141 H 339.1°. Best body text is #000000 at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#F797DA
RGBrgb(247, 151, 218)
HSLhsl(318, 86%, 78%)
HSVhsv(318, 39%, 97%)
CMYKcmyk(0%, 38.9%, 11.7%, 3.1%)
CIE-LABlab(74.17, 45.14, -18.86)
CIE-LCHlch(74.17, 48.93, 337.32°)
OKLaboklab(79.53% 0.1315 -0.0503)
OKLCHoklch(79.53% 0.141 339.1)
XYZxyz(62.0794, 46.9729, 72.1129)
Luminance0.4697 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F797DA #97F7B4
analogous
#E497F7 #F797DA #F797AA
triadic
#F797DA #DAF797 #97DAF7
tetradic
#F797DA #F7E497 #97F7B4 #97AAF7
square
#F797DA #F7E497 #97F7B4 #97AAF7
split-complementary
#F797DA #AAF797 #97F7E4
monochromatic
#EE25B2 #F35EC6 #F797DA #FBD0EE #FDE3F5

Accessibility & contrast

On white

2.02
#F797DA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.39
#F797DA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F797DA
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F797DA#FFFFFF#000000##000000
##F797DA1.002.0210.3910.39
#FFFFFF2.021.0021.0021.00
#00000010.3921.001.001.00
##00000010.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9AADDC
Deuteranopia (green-blind)
#B3BCD7
Tritanopia (blue-blind)
#FF99B0
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #f797da;
/* rgb */ color: rgb(247, 151, 218);
/* oklch */ color: oklch(79.5% 0.141 339.1);
Tailwind
colors: {
  custom: {
    50: '#fbb7e5',
    500: '#f797da',
    950: '#000000',
  },
}
SCSS
$custom: #f797da;
$custom-light: #fbb7e5;
$custom-dark: #000000;
JSON
{
  "hex": "#f797da",
  "rgb": {
    "r": 247,
    "g": 151,
    "b": 218
  },
  "hsl": {
    "h": 318.125,
    "s": 85.714,
    "l": 78.039
  },
  "oklch": {
    "l": 0.7953,
    "c": 0.14085,
    "h": 339.1
  },
  "luminance": 0.46969
}

Semantic roles & 50–950 ramp

primary
#F797DA
secondary
#D6F5DF
accent
#E24703
background
#FFFBFE
surface
#FFF6FC
border
#D7D0D5
text
#181115
muted
#868084

Preview Lab

Preview with #F797DA

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

Preview Lab → · Contrast checker → · Palette generator →

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