#FF2EC5#FF2EC5

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

Color values

HEX#FF2EC5
RGBrgb(255, 46, 197)
HSLhsl(317, 100%, 59%)
HSVhsv(317, 82%, 100%)
CMYKcmyk(0%, 82%, 22.7%, 0%)
CIE-LABlab(59.21, 85.55, -29.92)
CIE-LCHlch(59.21, 90.63, 340.72°)
OKLaboklab(68.44% 0.2584 -0.0803)
OKLCHoklch(68.44% 0.271 342.7)
XYZxyz(52.2971, 27.2510, 55.3183)
Luminance0.2725 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF2EC5 #2EFF68
analogous
#D12EFF #FF2EC5 #FF2E5D
triadic
#FF2EC5 #C5FF2E #2EC5FF
tetradic
#FF2EC5 #FFD12E #2EFF68 #2E5DFF
square
#FF2EC5 #FFD12E #2EFF68 #2E5DFF
split-complementary
#FF2EC5 #5DFF2E #2EFFD1
monochromatic
#B30081 #F000AD #FF2EC5 #FF6BD6 #FFA8E7

Accessibility & contrast

On white

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

On black

6.45
#FF2EC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #FF2EC5
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF2EC5#FFFFFF#000000##000000
##FF2EC51.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4979C9
Deuteranopia (green-blind)
#8C9AC1
Tritanopia (blue-blind)
#FF307A
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ff2ec5;
/* rgb */ color: rgb(255, 46, 197);
/* oklch */ color: oklch(68.4% 0.271 342.7);
Tailwind
colors: {
  custom: {
    50: '#ff81d7',
    500: '#ff2ec5',
    950: '#000000',
  },
}
SCSS
$custom: #ff2ec5;
$custom-light: #ff81d7;
$custom-dark: #000000;
JSON
{
  "hex": "#ff2ec5",
  "rgb": {
    "r": 255,
    "g": 46,
    "b": 197
  },
  "hsl": {
    "h": 316.651,
    "s": 100,
    "l": 59.02
  },
  "oklch": {
    "l": 0.68441,
    "c": 0.27057,
    "h": 342.7
  },
  "luminance": 0.27245
}

Semantic roles & 50–950 ramp

primary
#FF2EC5
secondary
#9BEDB2
accent
#FF6429
background
#FFF8FD
surface
#FFF0FA
border
#D7CBD3
text
#190C14
muted
#877D83

Preview Lab

Preview with #FF2EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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