#FF56E2#FF56E2

#FF56E2 is a light, highly saturated pink. Relative luminance 0.334; OKLCH L 72.7% C 0.250 H 335.4°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#FF56E2
RGBrgb(255, 86, 226)
HSLhsl(310, 100%, 67%)
HSVhsv(310, 66%, 100%)
CMYKcmyk(0%, 66.3%, 11.4%, 0%)
CIE-LABlab(64.49, 77.87, -38.10)
CIE-LCHlch(64.49, 86.69, 333.93°)
OKLaboklab(72.67% 0.2272 -0.1038)
OKLCHoklch(72.67% 0.25 335.4)
XYZxyz(58.2959, 33.4115, 75.3155)
Luminance0.3341 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF56E2 #56FF73
analogous
#C856FF #FF56E2 #FF568E
triadic
#FF56E2 #E2FF56 #56E2FF
tetradic
#FF56E2 #FFC856 #56FF73 #568EFF
square
#FF56E2 #FFC856 #56FF73 #568EFF
split-complementary
#FF56E2 #8EFF56 #56FFC8
monochromatic
#DB00B5 #FF19D7 #FF56E2 #FF93ED #FFD0F7

Accessibility & contrast

On white

2.73
#FF56E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#FF56E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF56E2
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF56E2#FFFFFF#000000##000000
##FF56E21.002.737.687.68
#FFFFFF2.731.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#578CE6
Deuteranopia (green-blind)
#8FA5DE
Tritanopia (blue-blind)
#FF6195
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ff56e2;
/* rgb */ color: rgb(255, 86, 226);
/* oklch */ color: oklch(72.7% 0.250 335.4);
Tailwind
colors: {
  custom: {
    50: '#ff91eb',
    500: '#ff56e2',
    950: '#000000',
  },
}
SCSS
$custom: #ff56e2;
$custom-light: #ff91eb;
$custom-dark: #000000;
JSON
{
  "hex": "#ff56e2",
  "rgb": {
    "r": 255,
    "g": 86,
    "b": 226
  },
  "hsl": {
    "h": 310.296,
    "s": 100,
    "l": 66.863
  },
  "oklch": {
    "l": 0.72671,
    "c": 0.24982,
    "h": 335.4
  },
  "luminance": 0.33407
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FF56E2

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

Preview Lab → · Contrast checker → · Palette generator →

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