#FF04A8#FF04A8

#FF04A8 is a light, highly saturated pink. Relative luminance 0.242; OKLCH L 66.0% C 0.274 H 350.3°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#FF04A8
RGBrgb(255, 4, 168)
HSLhsl(321, 100%, 51%)
HSVhsv(321, 98%, 100%)
CMYKcmyk(0%, 98.4%, 34.1%, 0%)
CIE-LABlab(56.27, 87.65, -17.63)
CIE-LCHlch(56.27, 89.41, 348.63°)
OKLaboklab(65.95% 0.2699 -0.046)
OKLCHoklch(65.95% 0.274 350.3)
XYZxyz(48.3545, 24.1803, 39.1592)
Luminance0.2417 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF04A8 #04FF5B
analogous
#D904FF #FF04A8 #FF042A
triadic
#FF04A8 #A8FF04 #04A8FF
tetradic
#FF04A8 #FFD904 #04FF5B #042AFF
square
#FF04A8 #FFD904 #04FF5B #042AFF
split-complementary
#FF04A8 #2AFF04 #04FFD9
monochromatic
#890059 #C60081 #FF04A8 #FF41BD #FF7ED2

Accessibility & contrast

On white

3.60
#FF04A8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#FF04A8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #FF04A8
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF04A8#FFFFFF#000000##000000
##FF04A81.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D6DAB
Deuteranopia (green-blind)
#9095A3
Tritanopia (blue-blind)
#FF0063
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ff04a8;
/* rgb */ color: rgb(255, 4, 168);
/* oklch */ color: oklch(66.0% 0.274 350.3);
Tailwind
colors: {
  custom: {
    50: '#ff78c2',
    500: '#ff04a8',
    950: '#000000',
  },
}
SCSS
$custom: #ff04a8;
$custom-light: #ff78c2;
$custom-dark: #000000;
JSON
{
  "hex": "#ff04a8",
  "rgb": {
    "r": 255,
    "g": 4,
    "b": 168
  },
  "hsl": {
    "h": 320.797,
    "s": 100,
    "l": 50.784
  },
  "oklch": {
    "l": 0.65951,
    "c": 0.27377,
    "h": 350.3
  },
  "luminance": 0.24174
}

Semantic roles & 50–950 ramp

primary
#FF04A8
secondary
#78E79E
accent
#FF7329
background
#FFF8FB
surface
#FFEFF7
border
#D7CAD0
text
#1A0B12
muted
#877C81

Preview Lab

Preview with #FF04A8

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

Preview Lab → · Contrast checker → · Palette generator →

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