#EC5FD2#EC5FD2

#EC5FD2 is a light, highly saturated pink. Relative luminance 0.307; OKLCH L 70.2% C 0.215 H 335.5°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#EC5FD2
RGBrgb(236, 95, 210)
HSLhsl(311, 79%, 65%)
HSVhsv(311, 60%, 93%)
CMYKcmyk(0%, 59.7%, 11%, 7.5%)
CIE-LABlab(62.23, 67.27, -32.85)
CIE-LCHlch(62.23, 74.87, 333.97°)
OKLaboklab(70.24% 0.1959 -0.0893)
OKLCHoklch(70.24% 0.215 335.5)
XYZxyz(50.3176, 30.6744, 64.2309)
Luminance0.3067 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5FD2 #5FEC79
analogous
#C05FEC #EC5FD2 #EC5F8B
triadic
#EC5FD2 #D2EC5F #5FD2EC
tetradic
#EC5FD2 #ECC05F #5FEC79 #5F8BEC
square
#EC5FD2 #ECC05F #5FEC79 #5F8BEC
split-complementary
#EC5FD2 #8BEC5F #5FECC0
monochromatic
#BA169C #E628C3 #EC5FD2 #F296E1 #F9CCF1

Accessibility & contrast

On white

2.94
#EC5FD2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#EC5FD2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC5FD2
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5FD2#FFFFFF#000000##000000
##EC5FD21.002.947.137.13
#FFFFFF2.941.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6089D6
Deuteranopia (green-blind)
#8B9ECE
Tritanopia (blue-blind)
#F76790
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ec5fd2;
/* rgb */ color: rgb(236, 95, 210);
/* oklch */ color: oklch(70.2% 0.215 335.5);
Tailwind
colors: {
  custom: {
    50: '#f594e0',
    500: '#ec5fd2',
    950: '#000000',
  },
}
SCSS
$custom: #ec5fd2;
$custom-light: #f594e0;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5fd2",
  "rgb": {
    "r": 236,
    "g": 95,
    "b": 210
  },
  "hsl": {
    "h": 311.064,
    "s": 78.771,
    "l": 64.902
  },
  "oklch": {
    "l": 0.70241,
    "c": 0.21523,
    "h": 335.5
  },
  "luminance": 0.3067
}

Semantic roles & 50–950 ramp

primary
#EC5FD2
secondary
#BBEBC4
accent
#DB310A
background
#FFF9FD
surface
#FFF2FB
border
#D7CCD4
text
#180E15
muted
#867E83

Preview Lab

Preview with #EC5FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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