#F797CC#F797CC

#F797CC is a light, vivid pink. Relative luminance 0.463; OKLCH L 79.0% C 0.131 H 346.3°. Best body text is #000000 at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#F797CC
RGBrgb(247, 151, 204)
HSLhsl(327, 86%, 78%)
HSVhsv(327, 39%, 97%)
CMYKcmyk(0%, 38.9%, 17.4%, 3.1%)
CIE-LABlab(73.72, 42.96, -11.85)
CIE-LCHlch(73.72, 44.57, 344.58°)
OKLaboklab(79.04% 0.1274 -0.0311)
OKLCHoklch(79.04% 0.131 346.3)
XYZxyz(60.3242, 46.2708, 62.8688)
Luminance0.4627 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F797CC #97F7C2
analogous
#F297F7 #F797CC #F7979C
triadic
#F797CC #CCF797 #97CCF7
tetradic
#F797CC #F7F297 #97F7C2 #979CF7
square
#F797CC #F7F297 #97F7C2 #979CF7
split-complementary
#F797CC #9CF797 #97F7F2
monochromatic
#EE2594 #F35EB0 #F797CC #FBD0E8 #FDE3F1

Accessibility & contrast

On white

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

On black

10.25
#F797CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F797CC
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F797CC#FFFFFF#000000##000000
##F797CC1.002.0510.2510.25
#FFFFFF2.051.0021.0021.00
#00000010.2521.001.001.00
##00000010.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9EABCE
Deuteranopia (green-blind)
#B6BBC9
Tritanopia (blue-blind)
#FF96AA
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #f797cc;
/* rgb */ color: rgb(247, 151, 204);
/* oklch */ color: oklch(79.0% 0.131 346.3);
Tailwind
colors: {
  custom: {
    50: '#fbb7db',
    500: '#f797cc',
    950: '#000000',
  },
}
SCSS
$custom: #f797cc;
$custom-light: #fbb7db;
$custom-dark: #000000;
JSON
{
  "hex": "#f797cc",
  "rgb": {
    "r": 247,
    "g": 151,
    "b": 204
  },
  "hsl": {
    "h": 326.875,
    "s": 85.714,
    "l": 78.039
  },
  "oklch": {
    "l": 0.79039,
    "c": 0.13116,
    "h": 346.3
  },
  "luminance": 0.46267
}

Semantic roles & 50–950 ramp

primary
#F797CC
secondary
#D6F5E4
accent
#E26703
background
#FFFBFD
surface
#FFF6FB
border
#D7D0D4
text
#181115
muted
#868083

Preview Lab

Preview with #F797CC

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

Preview Lab → · Contrast checker → · Palette generator →

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