#F05796#F05796

#F05796 is a light, vivid pink. Relative luminance 0.275; OKLCH L 67.6% C 0.196 H 358.3°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#F05796
RGBrgb(240, 87, 150)
HSLhsl(335, 84%, 64%)
HSVhsv(335, 64%, 94%)
CMYKcmyk(0%, 63.7%, 37.5%, 5.9%)
CIE-LABlab(59.48, 63.93, -2.56)
CIE-LCHlch(59.48, 63.98, 357.70°)
OKLaboklab(67.62% 0.1955 -0.0059)
OKLCHoklch(67.62% 0.196 358.3)
XYZxyz(44.8512, 27.5488, 31.8038)
Luminance0.2754 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F05796 #57F0B1
analogous
#F057E3 #F05796 #F06557
triadic
#F05796 #96F057 #5796F0
tetradic
#F05796 #E3F057 #57F0B1 #6557F0
square
#F05796 #E3F057 #57F0B1 #6557F0
split-complementary
#F05796 #57F065 #57E3F0
monochromatic
#BC1157 #EB1F73 #F05796 #F58FB9 #FAC7DC

Accessibility & contrast

On white

3.23
#F05796 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#F05796 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F05796
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F05796#FFFFFF#000000##000000
##F057961.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#737D98
Deuteranopia (green-blind)
#9C9A92
Tritanopia (blue-blind)
#FF4870
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #f05796;
/* rgb */ color: rgb(240, 87, 150);
/* oklch */ color: oklch(67.6% 0.196 358.3);
Tailwind
colors: {
  custom: {
    50: '#fa8fb4',
    500: '#f05796',
    950: '#000000',
  },
}
SCSS
$custom: #f05796;
$custom-light: #fa8fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#f05796",
  "rgb": {
    "r": 240,
    "g": 87,
    "b": 150
  },
  "hsl": {
    "h": 335.294,
    "s": 83.607,
    "l": 64.118
  },
  "oklch": {
    "l": 0.67624,
    "c": 0.19557,
    "h": 358.3
  },
  "luminance": 0.27544
}

Semantic roles & 50–950 ramp

primary
#F05796
secondary
#B7ECD6
accent
#E08605
background
#FFF9FB
surface
#FFF1F6
border
#D7CBD0
text
#180D11
muted
#867E80

Preview Lab

Preview with #F05796

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

Preview Lab → · Contrast checker → · Palette generator →

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