#F798CB#F798CB

#F798CB is a light, vivid pink. Relative luminance 0.465; OKLCH L 79.2% C 0.129 H 347.0°. Best body text is #000000 at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#F798CB
RGBrgb(247, 152, 203)
HSLhsl(328, 86%, 78%)
HSVhsv(328, 38%, 97%)
CMYKcmyk(0%, 38.5%, 17.8%, 3.1%)
CIE-LABlab(73.90, 42.30, -11.03)
CIE-LCHlch(73.90, 43.71, 345.38°)
OKLaboklab(79.16% 0.1256 -0.0289)
OKLCHoklch(79.16% 0.129 347)
XYZxyz(60.3663, 46.5462, 62.2931)
Luminance0.4654 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F798CB #98F7C4
analogous
#F398F7 #F798CB #F7989B
triadic
#F798CB #CBF798 #98CBF7
tetradic
#F798CB #F7F398 #98F7C4 #989BF7
square
#F798CB #F7F398 #98F7C4 #989BF7
split-complementary
#F798CB #9BF798 #98F7F3
monochromatic
#EE2692 #F35FAE #F798CB #FBD1E8 #FDE3F1

Accessibility & contrast

On white

2.04
#F798CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.31
#F798CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F798CB
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F798CB#FFFFFF#000000##000000
##F798CB1.002.0410.3110.31
#FFFFFF2.041.0021.0021.00
#00000010.3121.001.001.00
##00000010.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A0ACCD
Deuteranopia (green-blind)
#B7BCC9
Tritanopia (blue-blind)
#FF97AA
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #f798cb;
/* rgb */ color: rgb(247, 152, 203);
/* oklch */ color: oklch(79.2% 0.129 347.0);
Tailwind
colors: {
  custom: {
    50: '#fbb8da',
    500: '#f798cb',
    950: '#000000',
  },
}
SCSS
$custom: #f798cb;
$custom-light: #fbb8da;
$custom-dark: #000000;
JSON
{
  "hex": "#f798cb",
  "rgb": {
    "r": 247,
    "g": 152,
    "b": 203
  },
  "hsl": {
    "h": 327.789,
    "s": 85.586,
    "l": 78.235
  },
  "oklch": {
    "l": 0.79164,
    "c": 0.12886,
    "h": 347
  },
  "luminance": 0.46542
}

Semantic roles & 50–950 ramp

primary
#F798CB
secondary
#D6F5E4
accent
#E26B03
background
#FFFBFD
surface
#FFF6FA
border
#D7D0D3
text
#181114
muted
#868083

Preview Lab

Preview with #F798CB

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

Preview Lab → · Contrast checker → · Palette generator →

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