#F796CF#F796CF

#F796CF is a light, vivid pink. Relative luminance 0.461; OKLCH L 79.0% C 0.135 H 344.5°. Best body text is #000000 at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#F796CF
RGBrgb(247, 150, 207)
HSLhsl(325, 86%, 78%)
HSVhsv(325, 39%, 97%)
CMYKcmyk(0%, 39.3%, 16.2%, 3.1%)
CIE-LABlab(73.61, 43.93, -13.67)
CIE-LCHlch(73.61, 46.01, 342.71°)
OKLaboklab(78.98% 0.1298 -0.0361)
OKLCHoklch(78.98% 0.135 344.5)
XYZxyz(60.5272, 46.0956, 64.7287)
Luminance0.4609 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F796CF #96F7BE
analogous
#EE96F7 #F796CF #F7969E
triadic
#F796CF #CFF796 #96CFF7
tetradic
#F796CF #F7EE96 #96F7BE #969EF7
square
#F796CF #F7EE96 #96F7BE #969EF7
split-complementary
#F796CF #9EF796 #96F7EE
monochromatic
#EE249B #F35DB5 #F796CF #FBCFE9 #FDE3F2

Accessibility & contrast

On white

2.06
#F796CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.22
#F796CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F796CF
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F796CF#FFFFFF#000000##000000
##F796CF1.002.0610.2210.22
#FFFFFF2.061.0021.0021.00
#00000010.2221.001.001.00
##00000010.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9DABD1
Deuteranopia (green-blind)
#B5BBCC
Tritanopia (blue-blind)
#FF96AB
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #f796cf;
/* rgb */ color: rgb(247, 150, 207);
/* oklch */ color: oklch(79.0% 0.135 344.5);
Tailwind
colors: {
  custom: {
    50: '#fbb6dd',
    500: '#f796cf',
    950: '#000000',
  },
}
SCSS
$custom: #f796cf;
$custom-light: #fbb6dd;
$custom-dark: #000000;
JSON
{
  "hex": "#f796cf",
  "rgb": {
    "r": 247,
    "g": 150,
    "b": 207
  },
  "hsl": {
    "h": 324.742,
    "s": 85.841,
    "l": 77.843
  },
  "oklch": {
    "l": 0.78984,
    "c": 0.13476,
    "h": 344.5
  },
  "luminance": 0.46092
}

Semantic roles & 50–950 ramp

primary
#F796CF
secondary
#D6F5E3
accent
#E25F03
background
#FFFBFD
surface
#FFF6FB
border
#D7D0D4
text
#181115
muted
#868083

Preview Lab

Preview with #F796CF

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

Preview Lab → · Contrast checker → · Palette generator →

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