#F798C6#F798C6

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

Color values

HEX#F798C6
RGBrgb(247, 152, 198)
HSLhsl(331, 86%, 78%)
HSVhsv(331, 38%, 97%)
CMYKcmyk(0%, 38.5%, 19.8%, 3.1%)
CIE-LABlab(73.75, 41.55, -8.50)
CIE-LCHlch(73.75, 42.41, 348.43°)
OKLaboklab(79% 0.124 -0.0221)
OKLCHoklch(79% 0.126 349.9)
XYZxyz(59.7800, 46.3117, 59.2055)
Luminance0.4631 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F798C6 #98F7C9
analogous
#F798F6 #F798C6 #F79998
triadic
#F798C6 #C6F798 #98C6F7
tetradic
#F798C6 #F6F798 #98F7C9 #9998F7
square
#F798C6 #F6F798 #98F7C9 #9998F7
split-complementary
#F798C6 #98F799 #98F6F7
monochromatic
#EE2687 #F35FA7 #F798C6 #FBD1E5 #FDE3EF

Accessibility & contrast

On white

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

On black

10.26
#F798C6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F798C6
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F798C6#FFFFFF#000000##000000
##F798C61.002.0510.2610.26
#FFFFFF2.051.0021.0021.00
#00000010.2621.001.001.00
##00000010.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A1ABC8
Deuteranopia (green-blind)
#B9BBC4
Tritanopia (blue-blind)
#FF95A8
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #f798c6;
/* rgb */ color: rgb(247, 152, 198);
/* oklch */ color: oklch(79.0% 0.126 349.9);
Tailwind
colors: {
  custom: {
    50: '#fbb8d7',
    500: '#f798c6',
    950: '#000000',
  },
}
SCSS
$custom: #f798c6;
$custom-light: #fbb8d7;
$custom-dark: #000000;
JSON
{
  "hex": "#f798c6",
  "rgb": {
    "r": 247,
    "g": 152,
    "b": 198
  },
  "hsl": {
    "h": 330.947,
    "s": 85.586,
    "l": 78.235
  },
  "oklch": {
    "l": 0.78999,
    "c": 0.12595,
    "h": 349.9
  },
  "luminance": 0.46308
}

Semantic roles & 50–950 ramp

primary
#F798C6
secondary
#D6F5E6
accent
#E27603
background
#FFFBFD
surface
#FFF6FA
border
#D7D0D3
text
#181114
muted
#868083

Preview Lab

Preview with #F798C6

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

Preview Lab → · Contrast checker → · Palette generator →

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