#FF04CE#FF04CE

#FF04CE is a light, highly saturated pink. Relative luminance 0.258; OKLCH L 67.6% C 0.293 H 339.9°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#FF04CE
RGBrgb(255, 4, 206)
HSLhsl(312, 100%, 51%)
HSVhsv(312, 98%, 100%)
CMYKcmyk(0%, 98.4%, 19.2%, 0%)
CIE-LABlab(57.86, 91.71, -37.18)
CIE-LCHlch(57.86, 98.96, 337.93°)
OKLaboklab(67.6% 0.2749 -0.1008)
OKLCHoklch(67.6% 0.293 339.9)
XYZxyz(52.4258, 25.8088, 60.6013)
Luminance0.2580 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF04CE #04FF35
analogous
#B204FF #FF04CE #FF0450
triadic
#FF04CE #CEFF04 #04CEFF
tetradic
#FF04CE #FFB204 #04FF35 #0450FF
square
#FF04CE #FFB204 #04FF35 #0450FF
split-complementary
#FF04CE #50FF04 #04FFB2
monochromatic
#89006E #C6009F #FF04CE #FF41DA #FF7EE6

Accessibility & contrast

On white

3.41
#FF04CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#FF04CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #FF04CE
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF04CE#FFFFFF#000000##000000
##FF04CE1.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E75D2
Deuteranopia (green-blind)
#8397C9
Tritanopia (blue-blind)
#FF1F7A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ff04ce;
/* rgb */ color: rgb(255, 4, 206);
/* oklch */ color: oklch(67.6% 0.293 339.9);
Tailwind
colors: {
  custom: {
    50: '#ff7add',
    500: '#ff04ce',
    950: '#000000',
  },
}
SCSS
$custom: #ff04ce;
$custom-light: #ff7add;
$custom-dark: #000000;
JSON
{
  "hex": "#ff04ce",
  "rgb": {
    "r": 255,
    "g": 4,
    "b": 206
  },
  "hsl": {
    "h": 311.713,
    "s": 100,
    "l": 50.784
  },
  "oklch": {
    "l": 0.67603,
    "c": 0.29282,
    "h": 339.9
  },
  "luminance": 0.25803
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FF04CE

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

Preview Lab → · Contrast checker → · Palette generator →

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