#F04C9D#F04C9D

#F04C9D is a light, highly saturated pink. Relative luminance 0.261; OKLCH L 66.7% C 0.212 H 354.1°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#F04C9D
RGBrgb(240, 76, 157)
HSLhsl(330, 85%, 62%)
HSVhsv(330, 68%, 94%)
CMYKcmyk(0%, 68.3%, 34.6%, 5.9%)
CIE-LABlab(58.16, 68.89, -8.59)
CIE-LCHlch(58.16, 69.43, 352.89°)
OKLaboklab(66.72% 0.2109 -0.0218)
OKLCHoklch(66.72% 0.212 354.1)
XYZxyz(44.6081, 26.1336, 34.5869)
Luminance0.2613 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F04C9D #4CF09F
analogous
#F04CEF #F04C9D #F04D4C
triadic
#F04C9D #9DF04C #4C9DF0
tetradic
#F04C9D #EFF04C #4CF09F #4D4CF0
square
#F04C9D #EFF04C #4CF09F #4D4CF0
split-complementary
#F04C9D #4CF04D #4CEFF0
monochromatic
#B30F60 #EB147E #F04C9D #F584BC #F9BDDB

Accessibility & contrast

On white

3.37
#F04C9D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#F04C9D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F04C9D
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F04C9D#FFFFFF#000000##000000
##F04C9D1.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#68799F
Deuteranopia (green-blind)
#969799
Tritanopia (blue-blind)
#FF3E6E
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #f04c9d;
/* rgb */ color: rgb(240, 76, 157);
/* oklch */ color: oklch(66.7% 0.212 354.1);
Tailwind
colors: {
  custom: {
    50: '#fa89b9',
    500: '#f04c9d',
    950: '#000000',
  },
}
SCSS
$custom: #f04c9d;
$custom-light: #fa89b9;
$custom-dark: #000000;
JSON
{
  "hex": "#f04c9d",
  "rgb": {
    "r": 240,
    "g": 76,
    "b": 157
  },
  "hsl": {
    "h": 330.366,
    "s": 84.536,
    "l": 61.961
  },
  "oklch": {
    "l": 0.66723,
    "c": 0.21198,
    "h": 354.1
  },
  "luminance": 0.26128
}

Semantic roles & 50–950 ramp

primary
#F04C9D
secondary
#AEEACC
accent
#E17404
background
#FFF8FB
surface
#FFF0F6
border
#D7CBD0
text
#180D11
muted
#867D80

Preview Lab

Preview with #F04C9D

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

Preview Lab → · Contrast checker → · Palette generator →

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