#F798CF#F798CF

#F798CF is a light, vivid pink. Relative luminance 0.467; OKLCH L 79.3% C 0.131 H 344.8°. Best body text is #000000 at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#F798CF
RGBrgb(247, 152, 207)
HSLhsl(325, 86%, 78%)
HSVhsv(325, 38%, 97%)
CMYKcmyk(0%, 38.5%, 16.2%, 3.1%)
CIE-LABlab(74.02, 42.90, -13.05)
CIE-LCHlch(74.02, 44.84, 343.08°)
OKLaboklab(79.3% 0.1268 -0.0344)
OKLCHoklch(79.3% 0.131 344.8)
XYZxyz(60.8491, 46.7393, 64.8360)
Luminance0.4674 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F798CF #98F7C0
analogous
#EF98F7 #F798CF #F7989F
triadic
#F798CF #CFF798 #98CFF7
tetradic
#F798CF #F7EF98 #98F7C0 #989FF7
square
#F798CF #F7EF98 #98F7C0 #989FF7
split-complementary
#F798CF #9FF798 #98F7EF
monochromatic
#EE269A #F35FB5 #F798CF #FBD1E9 #FDE3F2

Accessibility & contrast

On white

2.03
#F798CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.35
#F798CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F798CF
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F798CF#FFFFFF#000000##000000
##F798CF1.002.0310.3510.35
#FFFFFF2.031.0021.0021.00
#00000010.3521.001.001.00
##00000010.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9FADD1
Deuteranopia (green-blind)
#B6BCCC
Tritanopia (blue-blind)
#FF97AC
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #f798cf;
/* rgb */ color: rgb(247, 152, 207);
/* oklch */ color: oklch(79.3% 0.131 344.8);
Tailwind
colors: {
  custom: {
    50: '#fbb8dd',
    500: '#f798cf',
    950: '#000000',
  },
}
SCSS
$custom: #f798cf;
$custom-light: #fbb8dd;
$custom-dark: #000000;
JSON
{
  "hex": "#f798cf",
  "rgb": {
    "r": 247,
    "g": 152,
    "b": 207
  },
  "hsl": {
    "h": 325.263,
    "s": 85.586,
    "l": 78.235
  },
  "oklch": {
    "l": 0.79299,
    "c": 0.1314,
    "h": 344.8
  },
  "luminance": 0.46736
}

Semantic roles & 50–950 ramp

primary
#F798CF
secondary
#D6F5E3
accent
#E26103
background
#FFFBFD
surface
#FFF6FB
border
#D7D0D4
text
#181115
muted
#868083

Preview Lab

Preview with #F798CF

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

Preview Lab → · Contrast checker → · Palette generator →

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