#F796E2#F796E2

#F796E2 is a light, vivid pink. Relative luminance 0.471; OKLCH L 79.7% C 0.149 H 335.3°. Best body text is #000000 at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#F796E2
RGBrgb(247, 150, 226)
HSLhsl(313, 86%, 78%)
HSVhsv(313, 39%, 97%)
CMYKcmyk(0%, 39.3%, 8.5%, 3.1%)
CIE-LABlab(74.24, 46.96, -23.14)
CIE-LCHlch(74.24, 52.35, 333.77°)
OKLaboklab(79.67% 0.1352 -0.0622)
OKLCHoklch(79.67% 0.149 335.3)
XYZxyz(62.9913, 47.0813, 77.7064)
Luminance0.4708 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F796E2 #96F7AB
analogous
#DC96F7 #F796E2 #F796B1
triadic
#F796E2 #E2F796 #96E2F7
tetradic
#F796E2 #F7DC96 #96F7AB #96B1F7
square
#F796E2 #F7DC96 #96F7AB #96B1F7
split-complementary
#F796E2 #B1F796 #96F7DC
monochromatic
#EE24C3 #F35DD2 #F796E2 #FBCFF2 #FDE3F7

Accessibility & contrast

On white

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

On black

10.42
#F796E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F796E2
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F796E2#FFFFFF#000000##000000
##F796E21.002.0210.4210.42
#FFFFFF2.021.0021.0021.00
#00000010.4221.001.001.00
##00000010.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#96AEE5
Deuteranopia (green-blind)
#AFBCDF
Tritanopia (blue-blind)
#FF9AB2
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #f796e2;
/* rgb */ color: rgb(247, 150, 226);
/* oklch */ color: oklch(79.7% 0.149 335.3);
Tailwind
colors: {
  custom: {
    50: '#fbb7eb',
    500: '#f796e2',
    950: '#000000',
  },
}
SCSS
$custom: #f796e2;
$custom-light: #fbb7eb;
$custom-dark: #000000;
JSON
{
  "hex": "#f796e2",
  "rgb": {
    "r": 247,
    "g": 150,
    "b": 226
  },
  "hsl": {
    "h": 312.99,
    "s": 85.841,
    "l": 77.843
  },
  "oklch": {
    "l": 0.79672,
    "c": 0.14881,
    "h": 335.3
  },
  "luminance": 0.47078
}

Semantic roles & 50–950 ramp

primary
#F796E2
secondary
#D6F5DD
accent
#E23303
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#181116
muted
#868084

Preview Lab

Preview with #F796E2

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

Preview Lab → · Contrast checker → · Palette generator →

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