#F798DD#F798DD

#F798DD is a light, vivid pink. Relative luminance 0.475; OKLCH L 79.8% C 0.141 H 337.7°. Best body text is #000000 at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#F798DD
RGBrgb(247, 152, 221)
HSLhsl(316, 86%, 78%)
HSVhsv(316, 38%, 97%)
CMYKcmyk(0%, 38.5%, 10.5%, 3.1%)
CIE-LABlab(74.48, 45.11, -20.04)
CIE-LCHlch(74.48, 49.37, 336.05°)
OKLaboklab(79.8% 0.1309 -0.0536)
OKLCHoklch(79.8% 0.141 337.7)
XYZxyz(62.6371, 47.4546, 74.2530)
Luminance0.4745 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F798DD #98F7B2
analogous
#E198F7 #F798DD #F798AD
triadic
#F798DD #DDF798 #98DDF7
tetradic
#F798DD #F7E198 #98F7B2 #98ADF7
square
#F798DD #F7E198 #98F7B2 #98ADF7
split-complementary
#F798DD #ADF798 #98F7E1
monochromatic
#EE26B8 #F35FCA #F798DD #FBD1F0 #FDE3F6

Accessibility & contrast

On white

2.00
#F798DD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.49
#F798DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F798DD
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F798DD#FFFFFF#000000##000000
##F798DD1.002.0010.4910.49
#FFFFFF2.001.0021.0021.00
#00000010.4921.001.001.00
##00000010.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9AAEE0
Deuteranopia (green-blind)
#B2BDDA
Tritanopia (blue-blind)
#FF9BB1
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #f798dd;
/* rgb */ color: rgb(247, 152, 221);
/* oklch */ color: oklch(79.8% 0.141 337.7);
Tailwind
colors: {
  custom: {
    50: '#fbb8e7',
    500: '#f798dd',
    950: '#000000',
  },
}
SCSS
$custom: #f798dd;
$custom-light: #fbb8e7;
$custom-dark: #000000;
JSON
{
  "hex": "#f798dd",
  "rgb": {
    "r": 247,
    "g": 152,
    "b": 221
  },
  "hsl": {
    "h": 316.421,
    "s": 85.586,
    "l": 78.235
  },
  "oklch": {
    "l": 0.79795,
    "c": 0.14144,
    "h": 337.7
  },
  "luminance": 0.47451
}

Semantic roles & 50–950 ramp

primary
#F798DD
secondary
#D6F5DF
accent
#E24003
background
#FFFBFE
surface
#FFF6FC
border
#D7D0D5
text
#181116
muted
#868084

Preview Lab

Preview with #F798DD

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

Preview Lab → · Contrast checker → · Palette generator →

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