#F798D2#F798D2

#F798D2 is a light, vivid pink. Relative luminance 0.469; OKLCH L 79.4% C 0.133 H 343.2°. Best body text is #000000 at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#F798D2
RGBrgb(247, 152, 210)
HSLhsl(323, 86%, 78%)
HSVhsv(323, 38%, 97%)
CMYKcmyk(0%, 38.5%, 15%, 3.1%)
CIE-LABlab(74.12, 43.37, -14.56)
CIE-LCHlch(74.12, 45.74, 341.45°)
OKLaboklab(79.4% 0.1277 -0.0385)
OKLCHoklch(79.4% 0.133 343.2)
XYZxyz(61.2193, 46.8874, 66.7859)
Luminance0.4688 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F798D2 #98F7BD
analogous
#EC98F7 #F798D2 #F798A2
triadic
#F798D2 #D2F798 #98D2F7
tetradic
#F798D2 #F7EC98 #98F7BD #98A2F7
square
#F798D2 #F7EC98 #98F7BD #98A2F7
split-complementary
#F798D2 #A2F798 #98F7EC
monochromatic
#EE26A0 #F35FB9 #F798D2 #FBD1EB #FDE3F3

Accessibility & contrast

On white

2.02
#F798D2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.38
#F798D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F798D2
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F798D2#FFFFFF#000000##000000
##F798D21.002.0210.3810.38
#FFFFFF2.021.0021.0021.00
#00000010.3821.001.001.00
##00000010.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9EADD4
Deuteranopia (green-blind)
#B6BCCF
Tritanopia (blue-blind)
#FF98AD
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #f798d2;
/* rgb */ color: rgb(247, 152, 210);
/* oklch */ color: oklch(79.4% 0.133 343.2);
Tailwind
colors: {
  custom: {
    50: '#fbb8df',
    500: '#f798d2',
    950: '#000000',
  },
}
SCSS
$custom: #f798d2;
$custom-light: #fbb8df;
$custom-dark: #000000;
JSON
{
  "hex": "#f798d2",
  "rgb": {
    "r": 247,
    "g": 152,
    "b": 210
  },
  "hsl": {
    "h": 323.368,
    "s": 85.586,
    "l": 78.235
  },
  "oklch": {
    "l": 0.79402,
    "c": 0.1334,
    "h": 343.2
  },
  "luminance": 0.46884
}

Semantic roles & 50–950 ramp

primary
#F798D2
secondary
#D6F5E2
accent
#E25A03
background
#FFFBFD
surface
#FFF6FB
border
#D7D0D4
text
#181115
muted
#868083

Preview Lab

Preview with #F798D2

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

Preview Lab → · Contrast checker → · Palette generator →

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