#F798CE#F798CE

#F798CE is a light, vivid pink. Relative luminance 0.467; OKLCH L 79.3% C 0.131 H 345.4°. Best body text is #000000 at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#F798CE
RGBrgb(247, 152, 206)
HSLhsl(326, 86%, 78%)
HSVhsv(326, 38%, 97%)
CMYKcmyk(0%, 38.5%, 16.6%, 3.1%)
CIE-LABlab(73.99, 42.75, -12.55)
CIE-LCHlch(73.99, 44.55, 343.64°)
OKLaboklab(79.27% 0.1265 -0.033)
OKLCHoklch(79.27% 0.131 345.4)
XYZxyz(60.7272, 46.6906, 64.1942)
Luminance0.4669 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F798CE #98F7C1
analogous
#F198F7 #F798CE #F7989E
triadic
#F798CE #CEF798 #98CEF7
tetradic
#F798CE #F7F198 #98F7C1 #989EF7
square
#F798CE #F7F198 #98F7C1 #989EF7
split-complementary
#F798CE #9EF798 #98F7F1
monochromatic
#EE2698 #F35FB3 #F798CE #FBD1E9 #FDE3F1

Accessibility & contrast

On white

2.03
#F798CE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.34
#F798CE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F798CE
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F798CE#FFFFFF#000000##000000
##F798CE1.002.0310.3410.34
#FFFFFF2.031.0021.0021.00
#00000010.3421.001.001.00
##00000010.3421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f798ce;
/* rgb */ color: rgb(247, 152, 206);
/* oklch */ color: oklch(79.3% 0.131 345.4);
Tailwind
colors: {
  custom: {
    50: '#fbb8dd',
    500: '#f798ce',
    950: '#000000',
  },
}
SCSS
$custom: #f798ce;
$custom-light: #fbb8dd;
$custom-dark: #000000;
JSON
{
  "hex": "#f798ce",
  "rgb": {
    "r": 247,
    "g": 152,
    "b": 206
  },
  "hsl": {
    "h": 325.895,
    "s": 85.586,
    "l": 78.235
  },
  "oklch": {
    "l": 0.79265,
    "c": 0.13075,
    "h": 345.4
  },
  "luminance": 0.46687
}

Semantic roles & 50–950 ramp

primary
#F798CE
secondary
#D6F5E3
accent
#E26403
background
#FFFBFD
surface
#FFF6FB
border
#D7D0D4
text
#181115
muted
#868083

Preview Lab

Preview with #F798CE

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

Preview Lab → · Contrast checker → · Palette generator →

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