#F796E1#F796E1

#F796E1 is a light, vivid pink. Relative luminance 0.470; OKLCH L 79.6% C 0.148 H 335.7°. Best body text is #000000 at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#F796E1
RGBrgb(247, 150, 225)
HSLhsl(314, 86%, 78%)
HSVhsv(314, 39%, 97%)
CMYKcmyk(0%, 39.3%, 8.9%, 3.1%)
CIE-LABlab(74.21, 46.79, -22.65)
CIE-LCHlch(74.21, 51.98, 334.17°)
OKLaboklab(79.63% 0.1349 -0.0608)
OKLCHoklch(79.63% 0.148 335.7)
XYZxyz(62.8545, 47.0265, 76.9859)
Luminance0.4702 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F796E1 #96F7AC
analogous
#DC96F7 #F796E1 #F796B0
triadic
#F796E1 #E1F796 #96E1F7
tetradic
#F796E1 #F7DC96 #96F7AC #96B0F7
square
#F796E1 #F7DC96 #96F7AC #96B0F7
split-complementary
#F796E1 #B0F796 #96F7DC
monochromatic
#EE24C1 #F35DD1 #F796E1 #FBCFF1 #FDE3F7

Accessibility & contrast

On white

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

On black

10.40
#F796E1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F796E1
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F796E1#FFFFFF#000000##000000
##F796E11.002.0210.4010.40
#FFFFFF2.021.0021.0021.00
#00000010.4021.001.001.00
##00000010.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#97AEE4
Deuteranopia (green-blind)
#B0BCDE
Tritanopia (blue-blind)
#FF9AB2
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #f796e1;
/* rgb */ color: rgb(247, 150, 225);
/* oklch */ color: oklch(79.6% 0.148 335.7);
Tailwind
colors: {
  custom: {
    50: '#fbb7ea',
    500: '#f796e1',
    950: '#000000',
  },
}
SCSS
$custom: #f796e1;
$custom-light: #fbb7ea;
$custom-dark: #000000;
JSON
{
  "hex": "#f796e1",
  "rgb": {
    "r": 247,
    "g": 150,
    "b": 225
  },
  "hsl": {
    "h": 313.608,
    "s": 85.841,
    "l": 77.843
  },
  "oklch": {
    "l": 0.79634,
    "c": 0.148,
    "h": 335.7
  },
  "luminance": 0.47023
}

Semantic roles & 50–950 ramp

primary
#F796E1
secondary
#D6F5DD
accent
#E23603
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#181116
muted
#868084

Preview Lab

Preview with #F796E1

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

Preview Lab → · Contrast checker → · Palette generator →

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