#F797D5#F797D5

#F797D5 is a light, vivid pink. Relative luminance 0.467; OKLCH L 79.3% C 0.137 H 341.5°. Best body text is #000000 at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#F797D5
RGBrgb(247, 151, 213)
HSLhsl(321, 86%, 78%)
HSVhsv(321, 39%, 97%)
CMYKcmyk(0%, 38.9%, 13.8%, 3.1%)
CIE-LABlab(74.01, 44.35, -16.37)
CIE-LCHlch(74.01, 47.27, 339.74°)
OKLaboklab(79.35% 0.1301 -0.0435)
OKLCHoklch(79.35% 0.137 341.5)
XYZxyz(61.4350, 46.7151, 68.7189)
Luminance0.4671 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F797D5 #97F7B9
analogous
#E997F7 #F797D5 #F797A5
triadic
#F797D5 #D5F797 #97D5F7
tetradic
#F797D5 #F7E997 #97F7B9 #97A5F7
square
#F797D5 #F7E997 #97F7B9 #97A5F7
split-complementary
#F797D5 #A5F797 #97F7E9
monochromatic
#EE25A7 #F35EBE #F797D5 #FBD0EC #FDE3F4

Accessibility & contrast

On white

2.03
#F797D5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.34
#F797D5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F797D5
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F797D5#FFFFFF#000000##000000
##F797D51.002.0310.3410.34
#FFFFFF2.031.0021.0021.00
#00000010.3421.001.001.00
##00000010.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9CADD7
Deuteranopia (green-blind)
#B4BCD2
Tritanopia (blue-blind)
#FF98AD
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #f797d5;
/* rgb */ color: rgb(247, 151, 213);
/* oklch */ color: oklch(79.3% 0.137 341.5);
Tailwind
colors: {
  custom: {
    50: '#fbb7e2',
    500: '#f797d5',
    950: '#000000',
  },
}
SCSS
$custom: #f797d5;
$custom-light: #fbb7e2;
$custom-dark: #000000;
JSON
{
  "hex": "#f797d5",
  "rgb": {
    "r": 247,
    "g": 151,
    "b": 213
  },
  "hsl": {
    "h": 321.25,
    "s": 85.714,
    "l": 78.039
  },
  "oklch": {
    "l": 0.7935,
    "c": 0.13718,
    "h": 341.5
  },
  "luminance": 0.46711
}

Semantic roles & 50–950 ramp

primary
#F797D5
secondary
#D6F5E1
accent
#E25203
background
#FFFBFD
surface
#FFF6FB
border
#D7D0D4
text
#181115
muted
#868083

Preview Lab

Preview with #F797D5

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

Preview Lab → · Contrast checker → · Palette generator →

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