#F796DD#F796DD

#F796DD is a light, vivid pink. Relative luminance 0.468; OKLCH L 79.5% C 0.145 H 337.5°. Best body text is #000000 at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#F796DD
RGBrgb(247, 150, 221)
HSLhsl(316, 86%, 78%)
HSVhsv(316, 39%, 97%)
CMYKcmyk(0%, 39.3%, 10.5%, 3.1%)
CIE-LABlab(74.07, 46.14, -20.67)
CIE-LCHlch(74.07, 50.56, 335.87°)
OKLaboklab(79.49% 0.1339 -0.0553)
OKLCHoklch(79.49% 0.145 337.5)
XYZxyz(62.3153, 46.8108, 74.1457)
Luminance0.4681 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F796DD #96F7B0
analogous
#E096F7 #F796DD #F796AD
triadic
#F796DD #DDF796 #96DDF7
tetradic
#F796DD #F7E096 #96F7B0 #96ADF7
square
#F796DD #F7E096 #96F7B0 #96ADF7
split-complementary
#F796DD #ADF796 #96F7E0
monochromatic
#EE24B8 #F35DCB #F796DD #FBCFEF #FDE3F6

Accessibility & contrast

On white

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

On black

10.36
#F796DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F796DD
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F796DD#FFFFFF#000000##000000
##F796DD1.002.0310.3610.36
#FFFFFF2.031.0021.0021.00
#00000010.3621.001.001.00
##00000010.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#98ADE0
Deuteranopia (green-blind)
#B1BBDA
Tritanopia (blue-blind)
#FF99B0
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #f796dd;
/* rgb */ color: rgb(247, 150, 221);
/* oklch */ color: oklch(79.5% 0.145 337.5);
Tailwind
colors: {
  custom: {
    50: '#fbb7e7',
    500: '#f796dd',
    950: '#000000',
  },
}
SCSS
$custom: #f796dd;
$custom-light: #fbb7e7;
$custom-dark: #000000;
JSON
{
  "hex": "#f796dd",
  "rgb": {
    "r": 247,
    "g": 150,
    "b": 221
  },
  "hsl": {
    "h": 316.082,
    "s": 85.841,
    "l": 77.843
  },
  "oklch": {
    "l": 0.79485,
    "c": 0.14484,
    "h": 337.5
  },
  "luminance": 0.46807
}

Semantic roles & 50–950 ramp

primary
#F796DD
secondary
#D6F5DE
accent
#E23F03
background
#FFFBFE
surface
#FFF6FC
border
#D7D0D5
text
#181116
muted
#868084

Preview Lab

Preview with #F796DD

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

Preview Lab → · Contrast checker → · Palette generator →

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