#F04CC5#F04CC5

#F04CC5 is a light, highly saturated pink. Relative luminance 0.277; OKLCH L 68.3% C 0.234 H 340.1°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#F04CC5
RGBrgb(240, 76, 197)
HSLhsl(316, 85%, 62%)
HSVhsv(316, 68%, 94%)
CMYKcmyk(0%, 68.3%, 17.9%, 5.9%)
CIE-LABlab(59.64, 73.77, -29.44)
CIE-LCHlch(59.64, 79.43, 338.24°)
OKLaboklab(68.29% 0.2197 -0.0794)
OKLCHoklch(68.29% 0.234 340.1)
XYZxyz(48.5989, 27.7300, 55.6054)
Luminance0.2772 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F04CC5 #4CF077
analogous
#C94CF0 #F04CC5 #F04C73
triadic
#F04CC5 #C5F04C #4CC5F0
tetradic
#F04CC5 #F0C94C #4CF077 #4C73F0
square
#F04CC5 #F0C94C #4CF077 #4C73F0
split-complementary
#F04CC5 #73F04C #4CF0C9
monochromatic
#B30F88 #EB14B3 #F04CC5 #F584D7 #F9BDEA

Accessibility & contrast

On white

3.21
#F04CC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#F04CC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F04CC5
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F04CC5#FFFFFF#000000##000000
##F04CC51.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#577FC8
Deuteranopia (green-blind)
#8A99C1
Tritanopia (blue-blind)
#FE5182
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #f04cc5;
/* rgb */ color: rgb(240, 76, 197);
/* oklch */ color: oklch(68.3% 0.234 340.1);
Tailwind
colors: {
  custom: {
    50: '#f98ad7',
    500: '#f04cc5',
    950: '#000000',
  },
}
SCSS
$custom: #f04cc5;
$custom-light: #f98ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#f04cc5",
  "rgb": {
    "r": 240,
    "g": 76,
    "b": 197
  },
  "hsl": {
    "h": 315.732,
    "s": 84.536,
    "l": 61.961
  },
  "oklch": {
    "l": 0.68291,
    "c": 0.23355,
    "h": 340.1
  },
  "luminance": 0.27725
}

Semantic roles & 50–950 ramp

primary
#F04CC5
secondary
#AEEABE
accent
#E13E04
background
#FFF9FD
surface
#FFF1FA
border
#D7CBD3
text
#180D14
muted
#867E83

Preview Lab

Preview with #F04CC5

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

Preview Lab → · Contrast checker → · Palette generator →

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