#F04974#F04974

#F04974 is a light, highly saturated pink. Relative luminance 0.246; OKLCH L 65.2% C 0.204 H 9.6°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#F04974
RGBrgb(240, 73, 116)
HSLhsl(345, 85%, 61%)
HSVhsv(345, 70%, 94%)
CMYKcmyk(0%, 69.6%, 51.7%, 5.9%)
CIE-LABlab(56.64, 66.13, 13.33)
CIE-LCHlch(56.64, 67.46, 11.40°)
OKLaboklab(65.23% 0.2008 0.034)
OKLCHoklch(65.23% 0.204 9.6)
XYZxyz(41.4738, 24.5569, 19.0756)
Luminance0.2455 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F04974 #49F0C5
analogous
#F049C8 #F04974 #F07249
triadic
#F04974 #74F049 #4974F0
tetradic
#F04974 #C8F049 #49F0C5 #7249F0
square
#F04974 #C8F049 #49F0C5 #7249F0
split-complementary
#F04974 #49F072 #49C8F0
monochromatic
#B00F38 #E9134A #F04974 #F5829F #F9BACA

Accessibility & contrast

On white

3.55
#F04974 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#F04974 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F04974
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F04974#FFFFFF#000000##000000
##F049741.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#727275
Deuteranopia (green-blind)
#9D9470
Tritanopia (blue-blind)
#FF265A
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #f04974;
/* rgb */ color: rgb(240, 73, 116);
/* oklch */ color: oklch(65.2% 0.204 9.6);
Tailwind
colors: {
  custom: {
    50: '#fb879b',
    500: '#f04974',
    950: '#000000',
  },
}
SCSS
$custom: #f04974;
$custom-light: #fb879b;
$custom-dark: #000000;
JSON
{
  "hex": "#f04974",
  "rgb": {
    "r": 240,
    "g": 73,
    "b": 116
  },
  "hsl": {
    "h": 344.551,
    "s": 84.772,
    "l": 61.373
  },
  "oklch": {
    "l": 0.65228,
    "c": 0.20364,
    "h": 9.6
  },
  "luminance": 0.24551
}

Semantic roles & 50–950 ramp

primary
#F04974
secondary
#ABEADA
accent
#E1A804
background
#FFF8F9
surface
#FFF0F2
border
#D7CBCC
text
#190C0E
muted
#877D7E

Preview Lab

Preview with #F04974

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

Preview Lab → · Contrast checker → · Palette generator →

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