#FF04CB#FF04CB

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

Color values

HEX#FF04CB
RGBrgb(255, 4, 203)
HSLhsl(312, 100%, 51%)
HSVhsv(312, 98%, 100%)
CMYKcmyk(0%, 98.4%, 20.4%, 0%)
CIE-LABlab(57.72, 91.36, -35.68)
CIE-LCHlch(57.72, 98.08, 338.67°)
OKLaboklab(67.46% 0.2747 -0.0965)
OKLCHoklch(67.46% 0.291 340.6)
XYZxyz(52.0648, 25.6644, 58.7002)
Luminance0.2566 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF04CB #04FF38
analogous
#B504FF #FF04CB #FF044E
triadic
#FF04CB #CBFF04 #04CBFF
tetradic
#FF04CB #FFB504 #04FF38 #044EFF
square
#FF04CB #FFB504 #04FF38 #044EFF
split-complementary
#FF04CB #4EFF04 #04FFB5
monochromatic
#89006C #C6009D #FF04CB #FF41D8 #FF7EE4

Accessibility & contrast

On white

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

On black

6.13
#FF04CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #FF04CB
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF04CB#FFFFFF#000000##000000
##FF04CB1.003.426.136.13
#FFFFFF3.421.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3174CF
Deuteranopia (green-blind)
#8497C6
Tritanopia (blue-blind)
#FF1B78
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ff04cb;
/* rgb */ color: rgb(255, 4, 203);
/* oklch */ color: oklch(67.5% 0.291 340.6);
Tailwind
colors: {
  custom: {
    50: '#ff79db',
    500: '#ff04cb',
    950: '#000000',
  },
}
SCSS
$custom: #ff04cb;
$custom-light: #ff79db;
$custom-dark: #000000;
JSON
{
  "hex": "#ff04cb",
  "rgb": {
    "r": 255,
    "g": 4,
    "b": 203
  },
  "hsl": {
    "h": 312.43,
    "s": 100,
    "l": 50.784
  },
  "oklch": {
    "l": 0.6746,
    "c": 0.29118,
    "h": 340.6
  },
  "luminance": 0.25659
}

Semantic roles & 50–950 ramp

primary
#FF04CB
secondary
#78E78F
accent
#FF5529
background
#FFF8FD
surface
#FFEFFB
border
#D7CAD4
text
#190B15
muted
#877C83

Preview Lab

Preview with #FF04CB

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

Preview Lab → · Contrast checker → · Palette generator →

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