#F04797#F04797

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

Color values

HEX#F04797
RGBrgb(240, 71, 151)
HSLhsl(332, 85%, 61%)
HSVhsv(332, 70%, 94%)
CMYKcmyk(0%, 70.4%, 37.1%, 5.9%)
CIE-LABlab(57.34, 70.02, -6.31)
CIE-LCHlch(57.34, 70.30, 354.85°)
OKLaboklab(66.05% 0.2147 -0.0157)
OKLCHoklch(66.05% 0.215 355.8)
XYZxyz(43.7772, 25.2714, 31.8447)
Luminance0.2527 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F04797 #47F0A0
analogous
#F047EB #F04797 #F04B47
triadic
#F04797 #97F047 #4797F0
tetradic
#F04797 #EBF047 #47F0A0 #4B47F0
square
#F04797 #EBF047 #47F0A0 #4B47F0
split-complementary
#F04797 #47F04B #47EBF0
monochromatic
#AE0E5A #E71377 #F04797 #F580B7 #F9B8D7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F04797#FFFFFF#000000##000000
##F047971.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)
#677699
Deuteranopia (green-blind)
#969593
Tritanopia (blue-blind)
#FF3569
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #f04797;
/* rgb */ color: rgb(240, 71, 151);
/* oklch */ color: oklch(66.1% 0.215 355.8);
Tailwind
colors: {
  custom: {
    50: '#fa87b5',
    500: '#f04797',
    950: '#000000',
  },
}
SCSS
$custom: #f04797;
$custom-light: #fa87b5;
$custom-dark: #000000;
JSON
{
  "hex": "#f04797",
  "rgb": {
    "r": 240,
    "g": 71,
    "b": 151
  },
  "hsl": {
    "h": 331.598,
    "s": 84.925,
    "l": 60.98
  },
  "oklch": {
    "l": 0.66054,
    "c": 0.21528,
    "h": 355.8
  },
  "luminance": 0.25266
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F04797

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

Preview Lab → · Contrast checker → · Palette generator →

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