#F04C8F#F04C8F

#F04C8F is a light, highly saturated pink. Relative luminance 0.257; OKLCH L 66.3% C 0.207 H 359.5°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#F04C8F
RGBrgb(240, 76, 143)
HSLhsl(335, 85%, 62%)
HSVhsv(335, 68%, 94%)
CMYKcmyk(0%, 68.3%, 40.4%, 5.9%)
CIE-LABlab(57.73, 67.44, -1.03)
CIE-LCHlch(57.73, 67.45, 359.13°)
OKLaboklab(66.27% 0.2066 -0.0019)
OKLCHoklch(66.27% 0.207 359.5)
XYZxyz(43.4806, 25.6826, 28.6488)
Luminance0.2568 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F04C8F #4CF0AD
analogous
#F04CE1 #F04C8F #F05B4C
triadic
#F04C8F #8FF04C #4C8FF0
tetradic
#F04C8F #E1F04C #4CF0AD #5B4CF0
square
#F04C8F #E1F04C #4CF0AD #5B4CF0
split-complementary
#F04C8F #4CF05B #4CE1F0
monochromatic
#B30F52 #EB146C #F04C8F #F584B2 #F9BDD6

Accessibility & contrast

On white

3.42
#F04C8F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#F04C8F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F04C8F
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F04C8F#FFFFFF#000000##000000
##F04C8F1.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D7791
Deuteranopia (green-blind)
#99968B
Tritanopia (blue-blind)
#FF3868
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #f04c8f;
/* rgb */ color: rgb(240, 76, 143);
/* oklch */ color: oklch(66.3% 0.207 359.5);
Tailwind
colors: {
  custom: {
    50: '#fa89af',
    500: '#f04c8f',
    950: '#000000',
  },
}
SCSS
$custom: #f04c8f;
$custom-light: #fa89af;
$custom-dark: #000000;
JSON
{
  "hex": "#f04c8f",
  "rgb": {
    "r": 240,
    "g": 76,
    "b": 143
  },
  "hsl": {
    "h": 335.488,
    "s": 84.536,
    "l": 61.961
  },
  "oklch": {
    "l": 0.66266,
    "c": 0.20664,
    "h": 359.5
  },
  "luminance": 0.25677
}

Semantic roles & 50–950 ramp

primary
#F04C8F
secondary
#AEEAD1
accent
#E18704
background
#FFF8FA
surface
#FFF0F4
border
#D7CBCE
text
#180C10
muted
#867D7F

Preview Lab

Preview with #F04C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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