#F798E6#F798E6

#F798E6 is a light, vivid pink. Relative luminance 0.479; OKLCH L 80.1% C 0.149 H 333.7°. Best body text is #000000 at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#F798E6
RGBrgb(247, 152, 230)
HSLhsl(311, 86%, 78%)
HSVhsv(311, 38%, 97%)
CMYKcmyk(0%, 38.5%, 6.9%, 3.1%)
CIE-LABlab(74.79, 46.60, -24.49)
CIE-LCHlch(74.79, 52.64, 332.28°)
OKLaboklab(80.13% 0.1333 -0.066)
OKLCHoklch(80.13% 0.149 333.7)
XYZxyz(63.8685, 47.9471, 80.7381)
Luminance0.4794 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F798E6 #98F7A9
analogous
#D898F7 #F798E6 #F798B6
triadic
#F798E6 #E6F798 #98E6F7
tetradic
#F798E6 #F7D898 #98F7A9 #98B6F7
square
#F798E6 #F7D898 #98F7A9 #98B6F7
split-complementary
#F798E6 #B6F798 #98F7D8
monochromatic
#EE26CA #F35FD8 #F798E6 #FBD1F4 #FDE3F8

Accessibility & contrast

On white

1.98
#F798E6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.59
#F798E6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F798E6
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F798E6#FFFFFF#000000##000000
##F798E61.001.9810.5910.59
#FFFFFF1.981.0021.0021.00
#00000010.5921.001.001.00
##00000010.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#97B0E9
Deuteranopia (green-blind)
#B0BDE3
Tritanopia (blue-blind)
#FF9DB5
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #f798e6;
/* rgb */ color: rgb(247, 152, 230);
/* oklch */ color: oklch(80.1% 0.149 333.7);
Tailwind
colors: {
  custom: {
    50: '#fbb8ee',
    500: '#f798e6',
    950: '#000000',
  },
}
SCSS
$custom: #f798e6;
$custom-light: #fbb8ee;
$custom-dark: #000000;
JSON
{
  "hex": "#f798e6",
  "rgb": {
    "r": 247,
    "g": 152,
    "b": 230
  },
  "hsl": {
    "h": 310.737,
    "s": 85.586,
    "l": 78.235
  },
  "oklch": {
    "l": 0.80133,
    "c": 0.14873,
    "h": 333.7
  },
  "luminance": 0.47944
}

Semantic roles & 50–950 ramp

primary
#F798E6
secondary
#D6F5DC
accent
#E22B03
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#181116
muted
#868084

Preview Lab

Preview with #F798E6

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

Preview Lab → · Contrast checker → · Palette generator →

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