#F796DF#F796DF

#F796DF is a light, vivid pink. Relative luminance 0.469; OKLCH L 79.6% C 0.146 H 336.6°. Best body text is #000000 at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#F796DF
RGBrgb(247, 150, 223)
HSLhsl(315, 86%, 78%)
HSVhsv(315, 39%, 97%)
CMYKcmyk(0%, 39.3%, 9.7%, 3.1%)
CIE-LABlab(74.14, 46.46, -21.66)
CIE-LCHlch(74.14, 51.26, 335.01°)
OKLaboklab(79.56% 0.1344 -0.0581)
OKLCHoklch(79.56% 0.146 336.6)
XYZxyz(62.5833, 46.9180, 75.5574)
Luminance0.4692 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F796DF #96F7AE
analogous
#DE96F7 #F796DF #F796AF
triadic
#F796DF #DFF796 #96DFF7
tetradic
#F796DF #F7DE96 #96F7AE #96AFF7
square
#F796DF #F7DE96 #96F7AE #96AFF7
split-complementary
#F796DF #AFF796 #96F7DE
monochromatic
#EE24BC #F35DCE #F796DF #FBCFF0 #FDE3F6

Accessibility & contrast

On white

2.02
#F796DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.38
#F796DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F796DF
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F796DF#FFFFFF#000000##000000
##F796DF1.002.0210.3810.38
#FFFFFF2.021.0021.0021.00
#00000010.3821.001.001.00
##00000010.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#97ADE2
Deuteranopia (green-blind)
#B0BCDC
Tritanopia (blue-blind)
#FF99B1
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #f796df;
/* rgb */ color: rgb(247, 150, 223);
/* oklch */ color: oklch(79.6% 0.146 336.6);
Tailwind
colors: {
  custom: {
    50: '#fbb7e9',
    500: '#f796df',
    950: '#000000',
  },
}
SCSS
$custom: #f796df;
$custom-light: #fbb7e9;
$custom-dark: #000000;
JSON
{
  "hex": "#f796df",
  "rgb": {
    "r": 247,
    "g": 150,
    "b": 223
  },
  "hsl": {
    "h": 314.845,
    "s": 85.841,
    "l": 77.843
  },
  "oklch": {
    "l": 0.79559,
    "c": 0.14641,
    "h": 336.6
  },
  "luminance": 0.46915
}

Semantic roles & 50–950 ramp

primary
#F796DF
secondary
#D6F5DE
accent
#E23A03
background
#FFFBFE
surface
#FFF6FC
border
#D7D0D5
text
#181116
muted
#868084

Preview Lab

Preview with #F796DF

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

Preview Lab → · Contrast checker → · Palette generator →

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