#F796E4#F796E4

#F796E4 is a light, vivid pink. Relative luminance 0.472; OKLCH L 79.7% C 0.150 H 334.4°. Best body text is #000000 at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#F796E4
RGBrgb(247, 150, 228)
HSLhsl(312, 86%, 78%)
HSVhsv(312, 39%, 97%)
CMYKcmyk(0%, 39.3%, 7.7%, 3.1%)
CIE-LABlab(74.31, 47.29, -24.13)
CIE-LCHlch(74.31, 53.09, 332.97°)
OKLaboklab(79.75% 0.1357 -0.065)
OKLCHoklch(79.75% 0.15 334.4)
XYZxyz(63.2674, 47.1917, 79.1602)
Luminance0.4719 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F796E4 #96F7A9
analogous
#DA96F7 #F796E4 #F796B3
triadic
#F796E4 #E4F796 #96E4F7
tetradic
#F796E4 #F7DA96 #96F7A9 #96B3F7
square
#F796E4 #F7DA96 #96F7A9 #96B3F7
split-complementary
#F796E4 #B3F796 #96F7DA
monochromatic
#EE24C7 #F35DD5 #F796E4 #FBCFF3 #FDE3F8

Accessibility & contrast

On white

2.01
#F796E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.44
#F796E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F796E4
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F796E4#FFFFFF#000000##000000
##F796E41.002.0110.4410.44
#FFFFFF2.011.0021.0021.00
#00000010.4421.001.001.00
##00000010.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#96AEE7
Deuteranopia (green-blind)
#AFBCE1
Tritanopia (blue-blind)
#FF9BB3
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #f796e4;
/* rgb */ color: rgb(247, 150, 228);
/* oklch */ color: oklch(79.7% 0.150 334.4);
Tailwind
colors: {
  custom: {
    50: '#fbb7ec',
    500: '#f796e4',
    950: '#000000',
  },
}
SCSS
$custom: #f796e4;
$custom-light: #fbb7ec;
$custom-dark: #000000;
JSON
{
  "hex": "#f796e4",
  "rgb": {
    "r": 247,
    "g": 150,
    "b": 228
  },
  "hsl": {
    "h": 311.753,
    "s": 85.841,
    "l": 77.843
  },
  "oklch": {
    "l": 0.79749,
    "c": 0.15045,
    "h": 334.4
  },
  "luminance": 0.47188
}

Semantic roles & 50–950 ramp

primary
#F796E4
secondary
#D6F5DC
accent
#E22F03
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#181116
muted
#868084

Preview Lab

Preview with #F796E4

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

Preview Lab → · Contrast checker → · Palette generator →

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