#FF04CC#FF04CC

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

Color values

HEX#FF04CC
RGBrgb(255, 4, 204)
HSLhsl(312, 100%, 51%)
HSVhsv(312, 98%, 100%)
CMYKcmyk(0%, 98.4%, 20%, 0%)
CIE-LABlab(57.76, 91.48, -36.18)
CIE-LCHlch(57.76, 98.37, 338.42°)
OKLaboklab(67.51% 0.2748 -0.0979)
OKLCHoklch(67.51% 0.292 340.4)
XYZxyz(52.1844, 25.7122, 59.3298)
Luminance0.2571 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF04CC #04FF37
analogous
#B404FF #FF04CC #FF044E
triadic
#FF04CC #CCFF04 #04CCFF
tetradic
#FF04CC #FFB404 #04FF37 #044EFF
square
#FF04CC #FFB404 #04FF37 #044EFF
split-complementary
#FF04CC #4EFF04 #04FFB4
monochromatic
#89006D #C6009E #FF04CC #FF41D8 #FF7EE5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FF04CC#FFFFFF#000000##000000
##FF04CC1.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)
#3074D0
Deuteranopia (green-blind)
#8497C7
Tritanopia (blue-blind)
#FF1C78
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ff04cc;
/* rgb */ color: rgb(255, 4, 204);
/* oklch */ color: oklch(67.5% 0.292 340.4);
Tailwind
colors: {
  custom: {
    50: '#ff79dc',
    500: '#ff04cc',
    950: '#000000',
  },
}
SCSS
$custom: #ff04cc;
$custom-light: #ff79dc;
$custom-dark: #000000;
JSON
{
  "hex": "#ff04cc",
  "rgb": {
    "r": 255,
    "g": 4,
    "b": 204
  },
  "hsl": {
    "h": 312.191,
    "s": 100,
    "l": 50.784
  },
  "oklch": {
    "l": 0.67508,
    "c": 0.29172,
    "h": 340.4
  },
  "luminance": 0.25706
}

Semantic roles & 50–950 ramp

primary
#FF04CC
secondary
#78E78E
accent
#FF5429
background
#FFF8FD
surface
#FFEFFB
border
#D7CAD4
text
#190B15
muted
#877C83

Preview Lab

Preview with #FF04CC

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

Preview Lab → · Contrast checker → · Palette generator →

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