#F04796#F04796

#F04796 is a light, highly saturated pink. Relative luminance 0.252; OKLCH L 66.0% C 0.215 H 356.2°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#F04796
RGBrgb(240, 71, 150)
HSLhsl(332, 85%, 61%)
HSVhsv(332, 70%, 94%)
CMYKcmyk(0%, 70.4%, 37.5%, 5.9%)
CIE-LABlab(57.31, 69.92, -5.77)
CIE-LCHlch(57.31, 70.15, 355.28°)
OKLaboklab(66.02% 0.2144 -0.0143)
OKLCHoklch(66.02% 0.215 356.2)
XYZxyz(43.6963, 25.2390, 31.4188)
Luminance0.2523 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F04796 #47F0A1
analogous
#F047EA #F04796 #F04C47
triadic
#F04796 #96F047 #4796F0
tetradic
#F04796 #EAF047 #47F0A1 #4C47F0
square
#F04796 #EAF047 #47F0A1 #4C47F0
split-complementary
#F04796 #47F04C #47EAF0
monochromatic
#AE0E59 #E71376 #F04796 #F580B6 #F9B8D7

Accessibility & contrast

On white

3.47
#F04796 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#F04796 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F04796
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F04796#FFFFFF#000000##000000
##F047961.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#677698
Deuteranopia (green-blind)
#969592
Tritanopia (blue-blind)
#FF3569
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #f04796;
/* rgb */ color: rgb(240, 71, 150);
/* oklch */ color: oklch(66.0% 0.215 356.2);
Tailwind
colors: {
  custom: {
    50: '#fa87b4',
    500: '#f04796',
    950: '#000000',
  },
}
SCSS
$custom: #f04796;
$custom-light: #fa87b4;
$custom-dark: #000000;
JSON
{
  "hex": "#f04796",
  "rgb": {
    "r": 240,
    "g": 71,
    "b": 150
  },
  "hsl": {
    "h": 331.953,
    "s": 84.925,
    "l": 60.98
  },
  "oklch": {
    "l": 0.66021,
    "c": 0.21488,
    "h": 356.2
  },
  "luminance": 0.25234
}

Semantic roles & 50–950 ramp

primary
#F04796
secondary
#AAE9CB
accent
#E17A04
background
#FFF8FB
surface
#FFF0F6
border
#D7CBD0
text
#180C11
muted
#867D80

Preview Lab

Preview with #F04796

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

Preview Lab → · Contrast checker → · Palette generator →

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