#F798DC#F798DC

#F798DC is a light, vivid pink. Relative luminance 0.474; OKLCH L 79.8% C 0.141 H 338.2°. Best body text is #000000 at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#F798DC
RGBrgb(247, 152, 220)
HSLhsl(317, 86%, 78%)
HSVhsv(317, 38%, 97%)
CMYKcmyk(0%, 38.5%, 10.9%, 3.1%)
CIE-LABlab(74.45, 44.95, -19.55)
CIE-LCHlch(74.45, 49.02, 336.50°)
OKLaboklab(79.76% 0.1306 -0.0522)
OKLCHoklch(79.76% 0.141 338.2)
XYZxyz(62.5043, 47.4014, 73.5534)
Luminance0.4740 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F798DC #98F7B3
analogous
#E398F7 #F798DC #F798AC
triadic
#F798DC #DCF798 #98DCF7
tetradic
#F798DC #F7E398 #98F7B3 #98ACF7
square
#F798DC #F7E398 #98F7B3 #98ACF7
split-complementary
#F798DC #ACF798 #98F7E3
monochromatic
#EE26B5 #F35FC9 #F798DC #FBD1EF #FDE3F5

Accessibility & contrast

On white

2.00
#F798DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.48
#F798DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F798DC
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F798DC#FFFFFF#000000##000000
##F798DC1.002.0010.4810.48
#FFFFFF2.001.0021.0021.00
#00000010.4821.001.001.00
##00000010.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9BAEDF
Deuteranopia (green-blind)
#B3BCD9
Tritanopia (blue-blind)
#FF9AB1
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #f798dc;
/* rgb */ color: rgb(247, 152, 220);
/* oklch */ color: oklch(79.8% 0.141 338.2);
Tailwind
colors: {
  custom: {
    50: '#fbb8e7',
    500: '#f798dc',
    950: '#000000',
  },
}
SCSS
$custom: #f798dc;
$custom-light: #fbb8e7;
$custom-dark: #000000;
JSON
{
  "hex": "#f798dc",
  "rgb": {
    "r": 247,
    "g": 152,
    "b": 220
  },
  "hsl": {
    "h": 317.053,
    "s": 85.586,
    "l": 78.235
  },
  "oklch": {
    "l": 0.79758,
    "c": 0.14067,
    "h": 338.2
  },
  "luminance": 0.47398
}

Semantic roles & 50–950 ramp

primary
#F798DC
secondary
#D6F5DF
accent
#E24303
background
#FFFBFE
surface
#FFF6FC
border
#D7D0D5
text
#181116
muted
#868084

Preview Lab

Preview with #F798DC

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

Preview Lab → · Contrast checker → · Palette generator →

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