#FF04CD#FF04CD

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

Color values

HEX#FF04CD
RGBrgb(255, 4, 205)
HSLhsl(312, 100%, 51%)
HSVhsv(312, 98%, 100%)
CMYKcmyk(0%, 98.4%, 19.6%, 0%)
CIE-LABlab(57.81, 91.59, -36.68)
CIE-LCHlch(57.81, 98.67, 338.18°)
OKLaboklab(67.55% 0.2749 -0.0994)
OKLCHoklch(67.55% 0.292 340.1)
XYZxyz(52.3047, 25.7604, 59.9635)
Luminance0.2576 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF04CD #04FF36
analogous
#B304FF #FF04CD #FF044F
triadic
#FF04CD #CDFF04 #04CDFF
tetradic
#FF04CD #FFB304 #04FF36 #044FFF
square
#FF04CD #FFB304 #04FF36 #044FFF
split-complementary
#FF04CD #4FFF04 #04FFB3
monochromatic
#89006D #C6009E #FF04CD #FF41D9 #FF7EE5

Accessibility & contrast

On white

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

On black

6.15
#FF04CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #FF04CD
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF04CD#FFFFFF#000000##000000
##FF04CD1.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F74D1
Deuteranopia (green-blind)
#8497C8
Tritanopia (blue-blind)
#FF1E79
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ff04cd;
/* rgb */ color: rgb(255, 4, 205);
/* oklch */ color: oklch(67.6% 0.292 340.1);
Tailwind
colors: {
  custom: {
    50: '#ff79dc',
    500: '#ff04cd',
    950: '#000000',
  },
}
SCSS
$custom: #ff04cd;
$custom-light: #ff79dc;
$custom-dark: #000000;
JSON
{
  "hex": "#ff04cd",
  "rgb": {
    "r": 255,
    "g": 4,
    "b": 205
  },
  "hsl": {
    "h": 311.952,
    "s": 100,
    "l": 50.784
  },
  "oklch": {
    "l": 0.67555,
    "c": 0.29227,
    "h": 340.1
  },
  "luminance": 0.25755
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FF04CD

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

Preview Lab → · Contrast checker → · Palette generator →

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