#F04998#F04998

#F04998 is a light, highly saturated pink. Relative luminance 0.256; OKLCH L 66.3% C 0.213 H 355.6°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#F04998
RGBrgb(240, 73, 152)
HSLhsl(332, 85%, 61%)
HSVhsv(332, 70%, 94%)
CMYKcmyk(0%, 69.6%, 36.7%, 5.9%)
CIE-LABlab(57.62, 69.43, -6.48)
CIE-LCHlch(57.62, 69.73, 354.67°)
OKLaboklab(66.27% 0.2128 -0.0162)
OKLCHoklch(66.27% 0.213 355.6)
XYZxyz(43.9880, 25.5626, 32.3173)
Luminance0.2556 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F04998 #49F0A1
analogous
#F049EB #F04998 #F04E49
triadic
#F04998 #98F049 #4998F0
tetradic
#F04998 #EBF049 #49F0A1 #4E49F0
square
#F04998 #EBF049 #49F0A1 #4E49F0
split-complementary
#F04998 #49F04E #49EBF0
monochromatic
#B00F5B #E91378 #F04998 #F582B8 #F9BAD8

Accessibility & contrast

On white

3.44
#F04998 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#F04998 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F04998
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F04998#FFFFFF#000000##000000
##F049981.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#68779A
Deuteranopia (green-blind)
#969694
Tritanopia (blue-blind)
#FF386B
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #f04998;
/* rgb */ color: rgb(240, 73, 152);
/* oklch */ color: oklch(66.3% 0.213 355.6);
Tailwind
colors: {
  custom: {
    50: '#fa88b6',
    500: '#f04998',
    950: '#000000',
  },
}
SCSS
$custom: #f04998;
$custom-light: #fa88b6;
$custom-dark: #000000;
JSON
{
  "hex": "#f04998",
  "rgb": {
    "r": 240,
    "g": 73,
    "b": 152
  },
  "hsl": {
    "h": 331.617,
    "s": 84.772,
    "l": 61.373
  },
  "oklch": {
    "l": 0.66271,
    "c": 0.21341,
    "h": 355.6
  },
  "luminance": 0.25557
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F04998

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

Preview Lab → · Contrast checker → · Palette generator →

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