#F798C8#F798C8

#F798C8 is a light, vivid pink. Relative luminance 0.464; OKLCH L 79.1% C 0.127 H 348.7°. Best body text is #000000 at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#F798C8
RGBrgb(247, 152, 200)
HSLhsl(330, 86%, 78%)
HSVhsv(330, 38%, 97%)
CMYKcmyk(0%, 38.5%, 19%, 3.1%)
CIE-LABlab(73.81, 41.85, -9.52)
CIE-LCHlch(73.81, 42.92, 347.19°)
OKLaboklab(79.06% 0.1246 -0.0248)
OKLCHoklch(79.06% 0.127 348.7)
XYZxyz(60.0122, 46.4046, 60.4285)
Luminance0.4640 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F798C8 #98F7C7
analogous
#F698F7 #F798C8 #F79898
triadic
#F798C8 #C8F798 #98C8F7
tetradic
#F798C8 #F7F698 #98F7C7 #9898F7
square
#F798C8 #F7F698 #98F7C7 #9898F7
split-complementary
#F798C8 #98F798 #98F7F6
monochromatic
#EE268B #F35FAA #F798C8 #FBD1E6 #FDE3F0

Accessibility & contrast

On white

2.04
#F798C8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.28
#F798C8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F798C8
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F798C8#FFFFFF#000000##000000
##F798C81.002.0410.2810.28
#FFFFFF2.041.0021.0021.00
#00000010.2821.001.001.00
##00000010.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A0ACCA
Deuteranopia (green-blind)
#B8BBC6
Tritanopia (blue-blind)
#FF96A9
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #f798c8;
/* rgb */ color: rgb(247, 152, 200);
/* oklch */ color: oklch(79.1% 0.127 348.7);
Tailwind
colors: {
  custom: {
    50: '#fbb8d8',
    500: '#f798c8',
    950: '#000000',
  },
}
SCSS
$custom: #f798c8;
$custom-light: #fbb8d8;
$custom-dark: #000000;
JSON
{
  "hex": "#f798c8",
  "rgb": {
    "r": 247,
    "g": 152,
    "b": 200
  },
  "hsl": {
    "h": 329.684,
    "s": 85.586,
    "l": 78.235
  },
  "oklch": {
    "l": 0.79064,
    "c": 0.12709,
    "h": 348.7
  },
  "luminance": 0.46401
}

Semantic roles & 50–950 ramp

primary
#F798C8
secondary
#D6F5E5
accent
#E27203
background
#FFFBFD
surface
#FFF6FA
border
#D7D0D3
text
#181114
muted
#868083

Preview Lab

Preview with #F798C8

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

Preview Lab → · Contrast checker → · Palette generator →

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