#F798E7#F798E7

#F798E7 is a light, vivid pink. Relative luminance 0.480; OKLCH L 80.2% C 0.150 H 333.2°. Best body text is #000000 at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#F798E7
RGBrgb(247, 152, 231)
HSLhsl(310, 86%, 78%)
HSVhsv(310, 38%, 97%)
CMYKcmyk(0%, 38.5%, 6.5%, 3.1%)
CIE-LABlab(74.83, 46.77, -24.98)
CIE-LCHlch(74.83, 53.02, 331.90°)
OKLaboklab(80.17% 0.1335 -0.0674)
OKLCHoklch(80.17% 0.15 333.2)
XYZxyz(64.0093, 48.0034, 81.4798)
Luminance0.4800 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F798E7 #98F7A8
analogous
#D798F7 #F798E7 #F798B7
triadic
#F798E7 #E7F798 #98E7F7
tetradic
#F798E7 #F7D798 #98F7A8 #98B7F7
square
#F798E7 #F7D798 #98F7A8 #98B7F7
split-complementary
#F798E7 #B7F798 #98F7D7
monochromatic
#EE26CD #F35FDA #F798E7 #FBD1F4 #FDE3F8

Accessibility & contrast

On white

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

On black

10.60
#F798E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F798E7
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F798E7#FFFFFF#000000##000000
##F798E71.001.9810.6010.60
#FFFFFF1.981.0021.0021.00
#00000010.6021.001.001.00
##00000010.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f798e7;
/* rgb */ color: rgb(247, 152, 231);
/* oklch */ color: oklch(80.2% 0.150 333.2);
Tailwind
colors: {
  custom: {
    50: '#fbb8ee',
    500: '#f798e7',
    950: '#000000',
  },
}
SCSS
$custom: #f798e7;
$custom-light: #fbb8ee;
$custom-dark: #000000;
JSON
{
  "hex": "#f798e7",
  "rgb": {
    "r": 247,
    "g": 152,
    "b": 231
  },
  "hsl": {
    "h": 310.105,
    "s": 85.586,
    "l": 78.235
  },
  "oklch": {
    "l": 0.80172,
    "c": 0.14957,
    "h": 333.2
  },
  "luminance": 0.48
}

Semantic roles & 50–950 ramp

primary
#F798E7
secondary
#D6F5DB
accent
#E22903
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#181116
muted
#868084

Preview Lab

Preview with #F798E7

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

Preview Lab → · Contrast checker → · Palette generator →

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