#F798E5#F798E5

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

Color values

HEX#F798E5
RGBrgb(247, 152, 229)
HSLhsl(311, 86%, 78%)
HSVhsv(311, 38%, 97%)
CMYKcmyk(0%, 38.5%, 7.3%, 3.1%)
CIE-LABlab(74.76, 46.43, -24.00)
CIE-LCHlch(74.76, 52.27, 332.67°)
OKLaboklab(80.1% 0.133 -0.0646)
OKLCHoklch(80.1% 0.148 334.1)
XYZxyz(63.7285, 47.8911, 80.0007)
Luminance0.4789 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F798E5 #98F7AA
analogous
#D998F7 #F798E5 #F798B5
triadic
#F798E5 #E5F798 #98E5F7
tetradic
#F798E5 #F7D998 #98F7AA #98B5F7
square
#F798E5 #F7D998 #98F7AA #98B5F7
split-complementary
#F798E5 #B5F798 #98F7D9
monochromatic
#EE26C8 #F35FD7 #F798E5 #FBD1F3 #FDE3F8

Accessibility & contrast

On white

1.99
#F798E5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.58
#F798E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F798E5
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F798E5#FFFFFF#000000##000000
##F798E51.001.9910.5810.58
#FFFFFF1.991.0021.0021.00
#00000010.5821.001.001.00
##00000010.5821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f798e5;
/* rgb */ color: rgb(247, 152, 229);
/* oklch */ color: oklch(80.1% 0.148 334.1);
Tailwind
colors: {
  custom: {
    50: '#fbb8ed',
    500: '#f798e5',
    950: '#000000',
  },
}
SCSS
$custom: #f798e5;
$custom-light: #fbb8ed;
$custom-dark: #000000;
JSON
{
  "hex": "#f798e5",
  "rgb": {
    "r": 247,
    "g": 152,
    "b": 229
  },
  "hsl": {
    "h": 311.368,
    "s": 85.586,
    "l": 78.235
  },
  "oklch": {
    "l": 0.80095,
    "c": 0.14789,
    "h": 334.1
  },
  "luminance": 0.47888
}

Semantic roles & 50–950 ramp

primary
#F798E5
secondary
#D6F5DC
accent
#E22E03
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#181116
muted
#868084

Preview Lab

Preview with #F798E5

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

Preview Lab → · Contrast checker → · Palette generator →

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