#FF5FE2#FF5FE2

#FF5FE2 is a light, highly saturated pink. Relative luminance 0.349; OKLCH L 73.6% C 0.239 H 335.6°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#FF5FE2
RGBrgb(255, 95, 226)
HSLhsl(311, 100%, 69%)
HSVhsv(311, 63%, 100%)
CMYKcmyk(0%, 62.7%, 11.4%, 0%)
CIE-LABlab(65.70, 74.50, -36.21)
CIE-LCHlch(65.70, 82.84, 334.08°)
OKLaboklab(73.55% 0.2173 -0.0985)
OKLCHoklch(73.55% 0.239 335.6)
XYZxyz(59.0603, 34.9402, 75.5703)
Luminance0.3493 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF5FE2 #5FFF7C
analogous
#CC5FFF #FF5FE2 #FF5F92
triadic
#FF5FE2 #E2FF5F #5FE2FF
tetradic
#FF5FE2 #FFCC5F #5FFF7C #5F92FF
square
#FF5FE2 #FFCC5F #5FFF7C #5F92FF
split-complementary
#FF5FE2 #92FF5F #5FFFCC
monochromatic
#E400BA #FF22D7 #FF5FE2 #FF9CED #FFD9F8

Accessibility & contrast

On white

2.63
#FF5FE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.99
#FF5FE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF5FE2
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF5FE2#FFFFFF#000000##000000
##FF5FE21.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6090E6
Deuteranopia (green-blind)
#93A8DE
Tritanopia (blue-blind)
#FF6998
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #ff5fe2;
/* rgb */ color: rgb(255, 95, 226);
/* oklch */ color: oklch(73.6% 0.239 335.6);
Tailwind
colors: {
  custom: {
    50: '#ff96eb',
    500: '#ff5fe2',
    950: '#000000',
  },
}
SCSS
$custom: #ff5fe2;
$custom-light: #ff96eb;
$custom-dark: #000000;
JSON
{
  "hex": "#ff5fe2",
  "rgb": {
    "r": 255,
    "g": 95,
    "b": 226
  },
  "hsl": {
    "h": 310.875,
    "s": 100,
    "l": 68.627
  },
  "oklch": {
    "l": 0.73551,
    "c": 0.23858,
    "h": 335.6
  },
  "luminance": 0.34935
}

Semantic roles & 50–950 ramp

primary
#FF5FE2
secondary
#C5F5CE
accent
#E62A00
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#190E16
muted
#877E84

Preview Lab

Preview with #FF5FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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