#F796DB#F796DB

#F796DB is a light, vivid pink. Relative luminance 0.467; OKLCH L 79.4% C 0.143 H 338.5°. Best body text is #000000 at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#F796DB
RGBrgb(247, 150, 219)
HSLhsl(317, 86%, 78%)
HSVhsv(317, 39%, 97%)
CMYKcmyk(0%, 39.3%, 11.3%, 3.1%)
CIE-LABlab(74.00, 45.82, -19.67)
CIE-LCHlch(74.00, 49.86, 336.76°)
OKLaboklab(79.41% 0.1333 -0.0526)
OKLCHoklch(79.41% 0.143 338.5)
XYZxyz(62.0504, 46.7049, 72.7507)
Luminance0.4670 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F796DB #96F7B2
analogous
#E396F7 #F796DB #F796AA
triadic
#F796DB #DBF796 #96DBF7
tetradic
#F796DB #F7E396 #96F7B2 #96AAF7
square
#F796DB #F7E396 #96F7B2 #96AAF7
split-complementary
#F796DB #AAF796 #96F7E3
monochromatic
#EE24B4 #F35DC8 #F796DB #FBCFEE #FDE3F5

Accessibility & contrast

On white

2.03
#F796DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.34
#F796DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F796DB
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F796DB#FFFFFF#000000##000000
##F796DB1.002.0310.3410.34
#FFFFFF2.031.0021.0021.00
#00000010.3421.001.001.00
##00000010.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#99ADDE
Deuteranopia (green-blind)
#B2BBD8
Tritanopia (blue-blind)
#FF98AF
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #f796db;
/* rgb */ color: rgb(247, 150, 219);
/* oklch */ color: oklch(79.4% 0.143 338.5);
Tailwind
colors: {
  custom: {
    50: '#fbb7e6',
    500: '#f796db',
    950: '#000000',
  },
}
SCSS
$custom: #f796db;
$custom-light: #fbb7e6;
$custom-dark: #000000;
JSON
{
  "hex": "#f796db",
  "rgb": {
    "r": 247,
    "g": 150,
    "b": 219
  },
  "hsl": {
    "h": 317.32,
    "s": 85.841,
    "l": 77.843
  },
  "oklch": {
    "l": 0.79411,
    "c": 0.1433,
    "h": 338.5
  },
  "luminance": 0.46701
}

Semantic roles & 50–950 ramp

primary
#F796DB
secondary
#D6F5DF
accent
#E24403
background
#FFFBFE
surface
#FFF6FC
border
#D7D0D5
text
#181116
muted
#868084

Preview Lab

Preview with #F796DB

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

Preview Lab → · Contrast checker → · Palette generator →

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