#F797BA#F797BA

#F797BA is a light, vivid pink. Relative luminance 0.455; OKLCH L 78.5% C 0.122 H 356.9°. Best body text is #000000 at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#F797BA
RGBrgb(247, 151, 186)
HSLhsl(338, 86%, 78%)
HSVhsv(338, 39%, 97%)
CMYKcmyk(0%, 38.9%, 24.7%, 3.1%)
CIE-LABlab(73.19, 40.35, -2.70)
CIE-LCHlch(73.19, 40.44, 356.17°)
OKLaboklab(78.46% 0.1216 -0.0066)
OKLCHoklch(78.46% 0.122 356.9)
XYZxyz(58.2887, 45.4566, 52.1488)
Luminance0.4545 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F797BA #97F7D4
analogous
#F797EA #F797BA #F7A497
triadic
#F797BA #BAF797 #97BAF7
tetradic
#F797BA #EAF797 #97F7D4 #A497F7
square
#F797BA #EAF797 #97F7D4 #A497F7
split-complementary
#F797BA #97F7A4 #97EAF7
monochromatic
#EE256F #F35E94 #F797BA #FBD0E0 #FDE3EC

Accessibility & contrast

On white

2.08
#F797BA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.09
#F797BA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F797BA
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F797BA#FFFFFF#000000##000000
##F797BA1.002.0810.0910.09
#FFFFFF2.081.0021.0021.00
#00000010.0921.001.001.00
##00000010.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3A9BB
Deuteranopia (green-blind)
#BBBAB8
Tritanopia (blue-blind)
#FF92A3
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #f797ba;
/* rgb */ color: rgb(247, 151, 186);
/* oklch */ color: oklch(78.5% 0.122 356.9);
Tailwind
colors: {
  custom: {
    50: '#fcb7ce',
    500: '#f797ba',
    950: '#000000',
  },
}
SCSS
$custom: #f797ba;
$custom-light: #fcb7ce;
$custom-dark: #000000;
JSON
{
  "hex": "#f797ba",
  "rgb": {
    "r": 247,
    "g": 151,
    "b": 186
  },
  "hsl": {
    "h": 338.125,
    "s": 85.714,
    "l": 78.039
  },
  "oklch": {
    "l": 0.78463,
    "c": 0.12173,
    "h": 356.9
  },
  "luminance": 0.45453
}

Semantic roles & 50–950 ramp

primary
#F797BA
secondary
#D6F5EA
accent
#E29103
background
#FFFBFC
surface
#FFF6F9
border
#D7D0D2
text
#181113
muted
#868082

Preview Lab

Preview with #F797BA

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

Preview Lab → · Contrast checker → · Palette generator →

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