#F798CD#F798CD

#F798CD is a light, vivid pink. Relative luminance 0.466; OKLCH L 79.2% C 0.130 H 345.9°. Best body text is #000000 at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#F798CD
RGBrgb(247, 152, 205)
HSLhsl(327, 86%, 78%)
HSVhsv(327, 38%, 97%)
CMYKcmyk(0%, 38.5%, 17%, 3.1%)
CIE-LABlab(73.96, 42.60, -12.04)
CIE-LCHlch(73.96, 44.27, 344.21°)
OKLaboklab(79.23% 0.1262 -0.0316)
OKLCHoklch(79.23% 0.13 345.9)
XYZxyz(60.6061, 46.6422, 63.5564)
Luminance0.4664 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F798CD #98F7C2
analogous
#F198F7 #F798CD #F7989D
triadic
#F798CD #CDF798 #98CDF7
tetradic
#F798CD #F7F198 #98F7C2 #989DF7
square
#F798CD #F7F198 #98F7C2 #989DF7
split-complementary
#F798CD #9DF798 #98F7F1
monochromatic
#EE2696 #F35FB1 #F798CD #FBD1E9 #FDE3F1

Accessibility & contrast

On white

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

On black

10.33
#F798CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F798CD
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F798CD#FFFFFF#000000##000000
##F798CD1.002.0310.3310.33
#FFFFFF2.031.0021.0021.00
#00000010.3321.001.001.00
##00000010.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9FACCF
Deuteranopia (green-blind)
#B7BCCB
Tritanopia (blue-blind)
#FF97AB
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #f798cd;
/* rgb */ color: rgb(247, 152, 205);
/* oklch */ color: oklch(79.2% 0.130 345.9);
Tailwind
colors: {
  custom: {
    50: '#fbb8dc',
    500: '#f798cd',
    950: '#000000',
  },
}
SCSS
$custom: #f798cd;
$custom-light: #fbb8dc;
$custom-dark: #000000;
JSON
{
  "hex": "#f798cd",
  "rgb": {
    "r": 247,
    "g": 152,
    "b": 205
  },
  "hsl": {
    "h": 326.526,
    "s": 85.586,
    "l": 78.235
  },
  "oklch": {
    "l": 0.79231,
    "c": 0.13011,
    "h": 345.9
  },
  "luminance": 0.46638
}

Semantic roles & 50–950 ramp

primary
#F798CD
secondary
#D6F5E4
accent
#E26603
background
#FFFBFD
surface
#FFF6FB
border
#D7D0D4
text
#181115
muted
#868083

Preview Lab

Preview with #F798CD

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

Preview Lab → · Contrast checker → · Palette generator →

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