#FF2EC4#FF2EC4

#FF2EC4 is a light, highly saturated pink. Relative luminance 0.272; OKLCH L 68.4% C 0.270 H 343.0°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#FF2EC4
RGBrgb(255, 46, 196)
HSLhsl(317, 100%, 59%)
HSVhsv(317, 82%, 100%)
CMYKcmyk(0%, 82%, 23.1%, 0%)
CIE-LABlab(59.16, 85.44, -29.41)
CIE-LCHlch(59.16, 90.36, 341.00°)
OKLaboklab(68.4% 0.2582 -0.0789)
OKLCHoklch(68.4% 0.27 343)
XYZxyz(52.1829, 27.2053, 54.7169)
Luminance0.2720 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF2EC4 #2EFF69
analogous
#D22EFF #FF2EC4 #FF2E5C
triadic
#FF2EC4 #C4FF2E #2EC4FF
tetradic
#FF2EC4 #FFD22E #2EFF69 #2E5CFF
square
#FF2EC4 #FFD22E #2EFF69 #2E5CFF
split-complementary
#FF2EC4 #5CFF2E #2EFFD2
monochromatic
#B30080 #F000AC #FF2EC4 #FF6BD5 #FFA8E7

Accessibility & contrast

On white

3.26
#FF2EC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#FF2EC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #FF2EC4
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF2EC4#FFFFFF#000000##000000
##FF2EC41.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A79C8
Deuteranopia (green-blind)
#8D9AC0
Tritanopia (blue-blind)
#FF2F79
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ff2ec4;
/* rgb */ color: rgb(255, 46, 196);
/* oklch */ color: oklch(68.4% 0.270 343.0);
Tailwind
colors: {
  custom: {
    50: '#ff81d6',
    500: '#ff2ec4',
    950: '#000000',
  },
}
SCSS
$custom: #ff2ec4;
$custom-light: #ff81d6;
$custom-dark: #000000;
JSON
{
  "hex": "#ff2ec4",
  "rgb": {
    "r": 255,
    "g": 46,
    "b": 196
  },
  "hsl": {
    "h": 316.938,
    "s": 100,
    "l": 59.02
  },
  "oklch": {
    "l": 0.68397,
    "c": 0.27001,
    "h": 343
  },
  "luminance": 0.272
}

Semantic roles & 50–950 ramp

primary
#FF2EC4
secondary
#9BEDB3
accent
#FF6529
background
#FFF8FD
surface
#FFF0FA
border
#D7CBD3
text
#190C14
muted
#877D83

Preview Lab

Preview with #FF2EC4

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

Preview Lab → · Contrast checker → · Palette generator →

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