#F797E4#F797E4

#F797E4 is a light, vivid pink. Relative luminance 0.475; OKLCH L 79.9% C 0.149 H 334.5°. Best body text is #000000 at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#F797E4
RGBrgb(247, 151, 228)
HSLhsl(312, 86%, 78%)
HSVhsv(312, 39%, 97%)
CMYKcmyk(0%, 38.9%, 7.7%, 3.1%)
CIE-LABlab(74.52, 46.78, -23.81)
CIE-LCHlch(74.52, 52.49, 333.02°)
OKLaboklab(79.9% 0.1342 -0.0641)
OKLCHoklch(79.9% 0.149 334.5)
XYZxyz(63.4276, 47.5122, 79.2136)
Luminance0.4751 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F797E4 #97F7AA
analogous
#DA97F7 #F797E4 #F797B4
triadic
#F797E4 #E4F797 #97E4F7
tetradic
#F797E4 #F7DA97 #97F7AA #97B4F7
square
#F797E4 #F7DA97 #97F7AA #97B4F7
split-complementary
#F797E4 #B4F797 #97F7DA
monochromatic
#EE25C6 #F35ED5 #F797E4 #FBD0F3 #FDE3F8

Accessibility & contrast

On white

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

On black

10.50
#F797E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F797E4
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F797E4#FFFFFF#000000##000000
##F797E41.002.0010.5010.50
#FFFFFF2.001.0021.0021.00
#00000010.5021.001.001.00
##00000010.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#97AFE7
Deuteranopia (green-blind)
#AFBCE1
Tritanopia (blue-blind)
#FF9BB4
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #f797e4;
/* rgb */ color: rgb(247, 151, 228);
/* oklch */ color: oklch(79.9% 0.149 334.5);
Tailwind
colors: {
  custom: {
    50: '#fbb7ec',
    500: '#f797e4',
    950: '#000000',
  },
}
SCSS
$custom: #f797e4;
$custom-light: #fbb7ec;
$custom-dark: #000000;
JSON
{
  "hex": "#f797e4",
  "rgb": {
    "r": 247,
    "g": 151,
    "b": 228
  },
  "hsl": {
    "h": 311.875,
    "s": 85.714,
    "l": 78.039
  },
  "oklch": {
    "l": 0.79902,
    "c": 0.14875,
    "h": 334.5
  },
  "luminance": 0.47509
}

Semantic roles & 50–950 ramp

primary
#F797E4
secondary
#D6F5DC
accent
#E22F03
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#181116
muted
#868084

Preview Lab

Preview with #F797E4

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

Preview Lab → · Contrast checker → · Palette generator →

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