#FF2EC6#FF2EC6

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

Color values

HEX#FF2EC6
RGBrgb(255, 46, 198)
HSLhsl(316, 100%, 59%)
HSVhsv(316, 82%, 100%)
CMYKcmyk(0%, 82%, 22.4%, 0%)
CIE-LABlab(59.25, 85.67, -30.43)
CIE-LCHlch(59.25, 90.91, 340.45°)
OKLaboklab(68.49% 0.2585 -0.0818)
OKLCHoklch(68.49% 0.271 342.4)
XYZxyz(52.4121, 27.2970, 55.9238)
Luminance0.2729 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF2EC6 #2EFF67
analogous
#D02EFF #FF2EC6 #FF2E5E
triadic
#FF2EC6 #C6FF2E #2EC6FF
tetradic
#FF2EC6 #FFD02E #2EFF67 #2E5EFF
square
#FF2EC6 #FFD02E #2EFF67 #2E5EFF
split-complementary
#FF2EC6 #5EFF2E #2EFFD0
monochromatic
#B30082 #F000AE #FF2EC6 #FF6BD7 #FFA8E7

Accessibility & contrast

On white

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

On black

6.46
#FF2EC6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #FF2EC6
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF2EC6#FFFFFF#000000##000000
##FF2EC61.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4879CA
Deuteranopia (green-blind)
#8C9AC2
Tritanopia (blue-blind)
#FF317A
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ff2ec6;
/* rgb */ color: rgb(255, 46, 198);
/* oklch */ color: oklch(68.5% 0.271 342.4);
Tailwind
colors: {
  custom: {
    50: '#ff81d7',
    500: '#ff2ec6',
    950: '#000000',
  },
}
SCSS
$custom: #ff2ec6;
$custom-light: #ff81d7;
$custom-dark: #000000;
JSON
{
  "hex": "#ff2ec6",
  "rgb": {
    "r": 255,
    "g": 46,
    "b": 198
  },
  "hsl": {
    "h": 316.364,
    "s": 100,
    "l": 59.02
  },
  "oklch": {
    "l": 0.68485,
    "c": 0.27112,
    "h": 342.4
  },
  "luminance": 0.27291
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FF2EC6

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

Preview Lab → · Contrast checker → · Palette generator →

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