#F04C8D#F04C8D

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

Color values

HEX#F04C8D
RGBrgb(240, 76, 141)
HSLhsl(336, 85%, 62%)
HSVhsv(336, 68%, 94%)
CMYKcmyk(0%, 68.3%, 41.3%, 5.9%)
CIE-LABlab(57.68, 67.24, 0.06)
CIE-LCHlch(57.68, 67.24, 0.05°)
OKLaboklab(66.21% 0.206 0.0009)
OKLCHoklch(66.21% 0.206 0.3)
XYZxyz(43.3304, 25.6226, 27.8580)
Luminance0.2562 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F04C8D #4CF0AF
analogous
#F04CDF #F04C8D #F05D4C
triadic
#F04C8D #8DF04C #4C8DF0
tetradic
#F04C8D #DFF04C #4CF0AF #5D4CF0
square
#F04C8D #DFF04C #4CF0AF #5D4CF0
split-complementary
#F04C8D #4CF05D #4CDFF0
monochromatic
#B30F50 #EB1469 #F04C8D #F584B1 #F9BDD5

Accessibility & contrast

On white

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

On black

6.12
#F04C8D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F04C8D
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F04C8D#FFFFFF#000000##000000
##F04C8D1.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D778F
Deuteranopia (green-blind)
#9A9689
Tritanopia (blue-blind)
#FF3767
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #f04c8d;
/* rgb */ color: rgb(240, 76, 141);
/* oklch */ color: oklch(66.2% 0.206 0.3);
Tailwind
colors: {
  custom: {
    50: '#fa89ae',
    500: '#f04c8d',
    950: '#000000',
  },
}
SCSS
$custom: #f04c8d;
$custom-light: #fa89ae;
$custom-dark: #000000;
JSON
{
  "hex": "#f04c8d",
  "rgb": {
    "r": 240,
    "g": 76,
    "b": 141
  },
  "hsl": {
    "h": 336.22,
    "s": 84.536,
    "l": 61.961
  },
  "oklch": {
    "l": 0.66205,
    "c": 0.20599,
    "h": 0.3
  },
  "luminance": 0.25617
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F04C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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