#FF2EC7#FF2EC7

#FF2EC7 is a light, highly saturated pink. Relative luminance 0.273; OKLCH L 68.5% C 0.272 H 342.2°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#FF2EC7
RGBrgb(255, 46, 199)
HSLhsl(316, 100%, 59%)
HSVhsv(316, 82%, 100%)
CMYKcmyk(0%, 82%, 22%, 0%)
CIE-LABlab(59.29, 85.79, -30.94)
CIE-LCHlch(59.29, 91.20, 340.17°)
OKLaboklab(68.53% 0.2586 -0.0832)
OKLCHoklch(68.53% 0.272 342.2)
XYZxyz(52.5278, 27.3432, 56.5333)
Luminance0.2734 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF2EC7 #2EFF66
analogous
#CF2EFF #FF2EC7 #FF2E5E
triadic
#FF2EC7 #C7FF2E #2EC7FF
tetradic
#FF2EC7 #FFCF2E #2EFF66 #2E5EFF
square
#FF2EC7 #FFCF2E #2EFF66 #2E5EFF
split-complementary
#FF2EC7 #5EFF2E #2EFFCF
monochromatic
#B30083 #F000B0 #FF2EC7 #FF6BD7 #FFA8E8

Accessibility & contrast

On white

3.25
#FF2EC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#FF2EC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #FF2EC7
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF2EC7#FFFFFF#000000##000000
##FF2EC71.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4879CB
Deuteranopia (green-blind)
#8C9BC3
Tritanopia (blue-blind)
#FF327B
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ff2ec7;
/* rgb */ color: rgb(255, 46, 199);
/* oklch */ color: oklch(68.5% 0.272 342.2);
Tailwind
colors: {
  custom: {
    50: '#ff81d8',
    500: '#ff2ec7',
    950: '#000000',
  },
}
SCSS
$custom: #ff2ec7;
$custom-light: #ff81d8;
$custom-dark: #000000;
JSON
{
  "hex": "#ff2ec7",
  "rgb": {
    "r": 255,
    "g": 46,
    "b": 199
  },
  "hsl": {
    "h": 316.077,
    "s": 100,
    "l": 59.02
  },
  "oklch": {
    "l": 0.68529,
    "c": 0.27167,
    "h": 342.2
  },
  "luminance": 0.27338
}

Semantic roles & 50–950 ramp

primary
#FF2EC7
secondary
#9BEDB1
accent
#FF6229
background
#FFF8FD
surface
#FFF0FA
border
#D7CBD3
text
#190C14
muted
#877D83

Preview Lab

Preview with #FF2EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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