#FF04CF#FF04CF

#FF04CF is a light, highly saturated pink. Relative luminance 0.259; OKLCH L 67.7% C 0.293 H 339.6°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#FF04CF
RGBrgb(255, 4, 207)
HSLhsl(311, 100%, 51%)
HSVhsv(311, 98%, 100%)
CMYKcmyk(0%, 98.4%, 18.8%, 0%)
CIE-LABlab(57.90, 91.83, -37.68)
CIE-LCHlch(57.90, 99.26, 337.69°)
OKLaboklab(67.65% 0.275 -0.1022)
OKLCHoklch(67.65% 0.293 339.6)
XYZxyz(52.5476, 25.8576, 61.2431)
Luminance0.2585 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF04CF #04FF34
analogous
#B104FF #FF04CF #FF0451
triadic
#FF04CF #CFFF04 #04CFFF
tetradic
#FF04CF #FFB104 #04FF34 #0451FF
square
#FF04CF #FFB104 #04FF34 #0451FF
split-complementary
#FF04CF #51FF04 #04FFB1
monochromatic
#89006E #C600A0 #FF04CF #FF41DB #FF7EE6

Accessibility & contrast

On white

3.40
#FF04CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#FF04CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #FF04CF
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF04CF#FFFFFF#000000##000000
##FF04CF1.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D75D3
Deuteranopia (green-blind)
#8397CA
Tritanopia (blue-blind)
#FF207A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ff04cf;
/* rgb */ color: rgb(255, 4, 207);
/* oklch */ color: oklch(67.7% 0.293 339.6);
Tailwind
colors: {
  custom: {
    50: '#ff7ade',
    500: '#ff04cf',
    950: '#000000',
  },
}
SCSS
$custom: #ff04cf;
$custom-light: #ff7ade;
$custom-dark: #000000;
JSON
{
  "hex": "#ff04cf",
  "rgb": {
    "r": 255,
    "g": 4,
    "b": 207
  },
  "hsl": {
    "h": 311.474,
    "s": 100,
    "l": 50.784
  },
  "oklch": {
    "l": 0.67651,
    "c": 0.29337,
    "h": 339.6
  },
  "luminance": 0.25852
}

Semantic roles & 50–950 ramp

primary
#FF04CF
secondary
#78E78D
accent
#FF5229
background
#FFF8FD
surface
#FFF0FB
border
#D7CBD4
text
#190B15
muted
#877C83

Preview Lab

Preview with #FF04CF

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

Preview Lab → · Contrast checker → · Palette generator →

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