#F798E4#F798E4

#F798E4 is a light, vivid pink. Relative luminance 0.478; OKLCH L 80.1% C 0.147 H 334.5°. Best body text is #000000 at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#F798E4
RGBrgb(247, 152, 228)
HSLhsl(312, 86%, 78%)
HSVhsv(312, 38%, 97%)
CMYKcmyk(0%, 38.5%, 7.7%, 3.1%)
CIE-LABlab(74.72, 46.27, -23.50)
CIE-LCHlch(74.72, 51.89, 333.07°)
OKLaboklab(80.06% 0.1328 -0.0632)
OKLCHoklch(80.06% 0.147 334.5)
XYZxyz(63.5892, 47.8354, 79.2675)
Luminance0.4783 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F798E4 #98F7AB
analogous
#DA98F7 #F798E4 #F798B4
triadic
#F798E4 #E4F798 #98E4F7
tetradic
#F798E4 #F7DA98 #98F7AB #98B4F7
square
#F798E4 #F7DA98 #98F7AB #98B4F7
split-complementary
#F798E4 #B4F798 #98F7DA
monochromatic
#EE26C6 #F35FD5 #F798E4 #FBD1F3 #FDE3F8

Accessibility & contrast

On white

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

On black

10.57
#F798E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F798E4
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F798E4#FFFFFF#000000##000000
##F798E41.001.9910.5710.57
#FFFFFF1.991.0021.0021.00
#00000010.5721.001.001.00
##00000010.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#98AFE7
Deuteranopia (green-blind)
#B0BDE1
Tritanopia (blue-blind)
#FF9CB4
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #f798e4;
/* rgb */ color: rgb(247, 152, 228);
/* oklch */ color: oklch(80.1% 0.147 334.5);
Tailwind
colors: {
  custom: {
    50: '#fbb8ec',
    500: '#f798e4',
    950: '#000000',
  },
}
SCSS
$custom: #f798e4;
$custom-light: #fbb8ec;
$custom-dark: #000000;
JSON
{
  "hex": "#f798e4",
  "rgb": {
    "r": 247,
    "g": 152,
    "b": 228
  },
  "hsl": {
    "h": 312,
    "s": 85.586,
    "l": 78.235
  },
  "oklch": {
    "l": 0.80057,
    "c": 0.14706,
    "h": 334.5
  },
  "luminance": 0.47832
}

Semantic roles & 50–950 ramp

primary
#F798E4
secondary
#D6F5DC
accent
#E23003
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#181116
muted
#868084

Preview Lab

Preview with #F798E4

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

Preview Lab → · Contrast checker → · Palette generator →

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