#FF54E2#FF54E2

#FF54E2 is a light, highly saturated pink. Relative luminance 0.331; OKLCH L 72.5% C 0.252 H 335.4°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#FF54E2
RGBrgb(255, 84, 226)
HSLhsl(310, 100%, 66%)
HSVhsv(310, 67%, 100%)
CMYKcmyk(0%, 67.1%, 11.4%, 0%)
CIE-LABlab(64.24, 78.58, -38.49)
CIE-LCHlch(64.24, 87.50, 333.90°)
OKLaboklab(72.49% 0.2293 -0.1049)
OKLCHoklch(72.49% 0.252 335.4)
XYZxyz(58.1385, 33.0966, 75.2630)
Luminance0.3309 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF54E2 #54FF71
analogous
#C654FF #FF54E2 #FF548D
triadic
#FF54E2 #E2FF54 #54E2FF
tetradic
#FF54E2 #FFC654 #54FF71 #548DFF
square
#FF54E2 #FFC654 #54FF71 #548DFF
split-complementary
#FF54E2 #8DFF54 #54FFC6
monochromatic
#D900B4 #FF17D8 #FF54E2 #FF91EC #FFCEF7

Accessibility & contrast

On white

2.76
#FF54E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#FF54E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF54E2
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF54E2#FFFFFF#000000##000000
##FF54E21.002.767.627.62
#FFFFFF2.761.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#558BE6
Deuteranopia (green-blind)
#8EA5DE
Tritanopia (blue-blind)
#FF6094
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ff54e2;
/* rgb */ color: rgb(255, 84, 226);
/* oklch */ color: oklch(72.5% 0.252 335.4);
Tailwind
colors: {
  custom: {
    50: '#ff91eb',
    500: '#ff54e2',
    950: '#000000',
  },
}
SCSS
$custom: #ff54e2;
$custom-light: #ff91eb;
$custom-dark: #000000;
JSON
{
  "hex": "#ff54e2",
  "rgb": {
    "r": 255,
    "g": 84,
    "b": 226
  },
  "hsl": {
    "h": 310.175,
    "s": 100,
    "l": 66.471
  },
  "oklch": {
    "l": 0.72487,
    "c": 0.25219,
    "h": 335.4
  },
  "luminance": 0.33092
}

Semantic roles & 50–950 ramp

primary
#FF54E2
secondary
#BCF3C5
accent
#E62700
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#190E16
muted
#877E84

Preview Lab

Preview with #FF54E2

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

Preview Lab → · Contrast checker → · Palette generator →

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