#F798CC#F798CC

#F798CC is a light, vivid pink. Relative luminance 0.466; OKLCH L 79.2% C 0.129 H 346.5°. Best body text is #000000 at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#F798CC
RGBrgb(247, 152, 204)
HSLhsl(327, 86%, 78%)
HSVhsv(327, 38%, 97%)
CMYKcmyk(0%, 38.5%, 17.4%, 3.1%)
CIE-LABlab(73.93, 42.45, -11.54)
CIE-LCHlch(73.93, 43.99, 344.79°)
OKLaboklab(79.2% 0.1259 -0.0303)
OKLCHoklch(79.2% 0.129 346.5)
XYZxyz(60.4858, 46.5940, 62.9227)
Luminance0.4659 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F798CC #98F7C3
analogous
#F398F7 #F798CC #F7989C
triadic
#F798CC #CCF798 #98CCF7
tetradic
#F798CC #F7F398 #98F7C3 #989CF7
square
#F798CC #F7F398 #98F7C3 #989CF7
split-complementary
#F798CC #9CF798 #98F7F3
monochromatic
#EE2694 #F35FB0 #F798CC #FBD1E8 #FDE3F1

Accessibility & contrast

On white

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

On black

10.32
#F798CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F798CC
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F798CC#FFFFFF#000000##000000
##F798CC1.002.0410.3210.32
#FFFFFF2.041.0021.0021.00
#00000010.3221.001.001.00
##00000010.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9FACCE
Deuteranopia (green-blind)
#B7BCCA
Tritanopia (blue-blind)
#FF97AB
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #f798cc;
/* rgb */ color: rgb(247, 152, 204);
/* oklch */ color: oklch(79.2% 0.129 346.5);
Tailwind
colors: {
  custom: {
    50: '#fbb8db',
    500: '#f798cc',
    950: '#000000',
  },
}
SCSS
$custom: #f798cc;
$custom-light: #fbb8db;
$custom-dark: #000000;
JSON
{
  "hex": "#f798cc",
  "rgb": {
    "r": 247,
    "g": 152,
    "b": 204
  },
  "hsl": {
    "h": 327.158,
    "s": 85.586,
    "l": 78.235
  },
  "oklch": {
    "l": 0.79197,
    "c": 0.12948,
    "h": 346.5
  },
  "luminance": 0.4659
}

Semantic roles & 50–950 ramp

primary
#F798CC
secondary
#D6F5E4
accent
#E26803
background
#FFFBFD
surface
#FFF6FB
border
#D7D0D4
text
#181115
muted
#868083

Preview Lab

Preview with #F798CC

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

Preview Lab → · Contrast checker → · Palette generator →

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