#F797B1#F797B1

#F797B1 is a light, moderate pink. Relative luminance 0.451; OKLCH L 78.2% C 0.119 H 2.7°. Best body text is #000000 at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#F797B1
RGBrgb(247, 151, 177)
HSLhsl(344, 86%, 78%)
HSVhsv(344, 39%, 97%)
CMYKcmyk(0%, 38.9%, 28.3%, 3.1%)
CIE-LABlab(72.95, 39.14, 1.92)
CIE-LCHlch(72.95, 39.19, 2.81°)
OKLaboklab(78.2% 0.1184 0.0056)
OKLCHoklch(78.2% 0.119 2.7)
XYZxyz(57.3620, 45.0859, 47.2677)
Luminance0.4508 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F797B1 #97F7DD
analogous
#F797E1 #F797B1 #F7AD97
triadic
#F797B1 #B1F797 #97B1F7
tetradic
#F797B1 #E1F797 #97F7DD #AD97F7
square
#F797B1 #E1F797 #97F7DD #AD97F7
split-complementary
#F797B1 #97F7AD #97E1F7
monochromatic
#EE255C #F35E86 #F797B1 #FBD0DC #FDE3EA

Accessibility & contrast

On white

2.10
#F797B1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.02
#F797B1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F797B1
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F797B1#FFFFFF#000000##000000
##F797B11.002.1010.0210.02
#FFFFFF2.101.0021.0021.00
#00000010.0221.001.001.00
##00000010.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5A8B2
Deuteranopia (green-blind)
#BDBAAF
Tritanopia (blue-blind)
#FF90A0
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #f797b1;
/* rgb */ color: rgb(247, 151, 177);
/* oklch */ color: oklch(78.2% 0.119 2.7);
Tailwind
colors: {
  custom: {
    50: '#fcb7c8',
    500: '#f797b1',
    950: '#000000',
  },
}
SCSS
$custom: #f797b1;
$custom-light: #fcb7c8;
$custom-dark: #000000;
JSON
{
  "hex": "#f797b1",
  "rgb": {
    "r": 247,
    "g": 151,
    "b": 177
  },
  "hsl": {
    "h": 343.75,
    "s": 85.714,
    "l": 78.039
  },
  "oklch": {
    "l": 0.78197,
    "c": 0.11855,
    "h": 2.7
  },
  "luminance": 0.45082
}

Semantic roles & 50–950 ramp

primary
#F797B1
secondary
#D6F5ED
accent
#E2A603
background
#FFFBFC
surface
#FFF6F8
border
#D7D0D1
text
#181113
muted
#868082

Preview Lab

Preview with #F797B1

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

Preview Lab → · Contrast checker → · Palette generator →

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