#F797CA#F797CA

#F797CA is a light, vivid pink. Relative luminance 0.462; OKLCH L 79.0% C 0.130 H 347.4°. Best body text is #000000 at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#F797CA
RGBrgb(247, 151, 202)
HSLhsl(328, 86%, 78%)
HSVhsv(328, 39%, 97%)
CMYKcmyk(0%, 38.9%, 18.2%, 3.1%)
CIE-LABlab(73.66, 42.66, -10.84)
CIE-LCHlch(73.66, 44.02, 345.74°)
OKLaboklab(78.97% 0.1268 -0.0284)
OKLCHoklch(78.97% 0.13 347.4)
XYZxyz(60.0859, 46.1755, 61.6136)
Luminance0.4617 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F797CA #97F7C4
analogous
#F497F7 #F797CA #F7979A
triadic
#F797CA #CAF797 #97CAF7
tetradic
#F797CA #F7F497 #97F7C4 #979AF7
square
#F797CA #F7F497 #97F7C4 #979AF7
split-complementary
#F797CA #9AF797 #97F7F4
monochromatic
#EE2590 #F35EAD #F797CA #FBD0E7 #FDE3F1

Accessibility & contrast

On white

2.05
#F797CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.23
#F797CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F797CA
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F797CA#FFFFFF#000000##000000
##F797CA1.002.0510.2310.23
#FFFFFF2.051.0021.0021.00
#00000010.2321.001.001.00
##00000010.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9FABCC
Deuteranopia (green-blind)
#B7BBC8
Tritanopia (blue-blind)
#FF95A9
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #f797ca;
/* rgb */ color: rgb(247, 151, 202);
/* oklch */ color: oklch(79.0% 0.130 347.4);
Tailwind
colors: {
  custom: {
    50: '#fbb7da',
    500: '#f797ca',
    950: '#000000',
  },
}
SCSS
$custom: #f797ca;
$custom-light: #fbb7da;
$custom-dark: #000000;
JSON
{
  "hex": "#f797ca",
  "rgb": {
    "r": 247,
    "g": 151,
    "b": 202
  },
  "hsl": {
    "h": 328.125,
    "s": 85.714,
    "l": 78.039
  },
  "oklch": {
    "l": 0.78972,
    "c": 0.12993,
    "h": 347.4
  },
  "luminance": 0.46172
}

Semantic roles & 50–950 ramp

primary
#F797CA
secondary
#D6F5E5
accent
#E26C03
background
#FFFBFD
surface
#FFF6FA
border
#D7D0D3
text
#181114
muted
#868083

Preview Lab

Preview with #F797CA

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

Preview Lab → · Contrast checker → · Palette generator →

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