#F796DC#F796DC

#F796DC is a light, vivid pink. Relative luminance 0.468; OKLCH L 79.4% C 0.144 H 338.0°. Best body text is #000000 at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#F796DC
RGBrgb(247, 150, 220)
HSLhsl(317, 86%, 78%)
HSVhsv(317, 39%, 97%)
CMYKcmyk(0%, 39.3%, 10.9%, 3.1%)
CIE-LABlab(74.03, 45.98, -20.17)
CIE-LCHlch(74.03, 50.21, 336.31°)
OKLaboklab(79.45% 0.1336 -0.054)
OKLCHoklch(79.45% 0.144 338)
XYZxyz(62.1824, 46.7577, 73.4461)
Luminance0.4675 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F796DC #96F7B1
analogous
#E196F7 #F796DC #F796AB
triadic
#F796DC #DCF796 #96DCF7
tetradic
#F796DC #F7E196 #96F7B1 #96ABF7
square
#F796DC #F7E196 #96F7B1 #96ABF7
split-complementary
#F796DC #ABF796 #96F7E1
monochromatic
#EE24B6 #F35DC9 #F796DC #FBCFEF #FDE3F6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F796DC#FFFFFF#000000##000000
##F796DC1.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)
#98ADDF
Deuteranopia (green-blind)
#B1BBD9
Tritanopia (blue-blind)
#FF99B0
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #f796dc;
/* rgb */ color: rgb(247, 150, 220);
/* oklch */ color: oklch(79.4% 0.144 338.0);
Tailwind
colors: {
  custom: {
    50: '#fbb7e7',
    500: '#f796dc',
    950: '#000000',
  },
}
SCSS
$custom: #f796dc;
$custom-light: #fbb7e7;
$custom-dark: #000000;
JSON
{
  "hex": "#f796dc",
  "rgb": {
    "r": 247,
    "g": 150,
    "b": 220
  },
  "hsl": {
    "h": 316.701,
    "s": 85.841,
    "l": 77.843
  },
  "oklch": {
    "l": 0.79448,
    "c": 0.14407,
    "h": 338
  },
  "luminance": 0.46754
}

Semantic roles & 50–950 ramp

primary
#F796DC
secondary
#D6F5DF
accent
#E24103
background
#FFFBFE
surface
#FFF6FC
border
#D7D0D5
text
#181116
muted
#868084

Preview Lab

Preview with #F796DC

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

Preview Lab → · Contrast checker → · Palette generator →

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