#F04C8E#F04C8E

#F04C8E is a light, highly saturated pink. Relative luminance 0.256; OKLCH L 66.2% C 0.206 H 359.9°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#F04C8E
RGBrgb(240, 76, 142)
HSLhsl(336, 85%, 62%)
HSVhsv(336, 68%, 94%)
CMYKcmyk(0%, 68.3%, 40.8%, 5.9%)
CIE-LABlab(57.71, 67.34, -0.48)
CIE-LCHlch(57.71, 67.34, 359.59°)
OKLaboklab(66.24% 0.2063 -0.0005)
OKLCHoklch(66.24% 0.206 359.9)
XYZxyz(43.4052, 25.6525, 28.2516)
Luminance0.2565 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F04C8E #4CF0AE
analogous
#F04CE0 #F04C8E #F05C4C
triadic
#F04C8E #8EF04C #4C8EF0
tetradic
#F04C8E #E0F04C #4CF0AE #5C4CF0
square
#F04C8E #E0F04C #4CF0AE #5C4CF0
split-complementary
#F04C8E #4CF05C #4CE0F0
monochromatic
#B30F51 #EB146A #F04C8E #F584B2 #F9BDD5

Accessibility & contrast

On white

3.43
#F04C8E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#F04C8E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F04C8E
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F04C8E#FFFFFF#000000##000000
##F04C8E1.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D7790
Deuteranopia (green-blind)
#99968A
Tritanopia (blue-blind)
#FF3867
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #f04c8e;
/* rgb */ color: rgb(240, 76, 142);
/* oklch */ color: oklch(66.2% 0.206 359.9);
Tailwind
colors: {
  custom: {
    50: '#fa89ae',
    500: '#f04c8e',
    950: '#000000',
  },
}
SCSS
$custom: #f04c8e;
$custom-light: #fa89ae;
$custom-dark: #000000;
JSON
{
  "hex": "#f04c8e",
  "rgb": {
    "r": 240,
    "g": 76,
    "b": 142
  },
  "hsl": {
    "h": 335.854,
    "s": 84.536,
    "l": 61.961
  },
  "oklch": {
    "l": 0.66236,
    "c": 0.20631,
    "h": 359.9
  },
  "luminance": 0.25647
}

Semantic roles & 50–950 ramp

primary
#F04C8E
secondary
#AEEAD2
accent
#E18804
background
#FFF8FA
surface
#FFF0F4
border
#D7CBCE
text
#180C10
muted
#867D7F

Preview Lab

Preview with #F04C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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