#EC62D5#EC62D5

#EC62D5 is a light, highly saturated pink. Relative luminance 0.314; OKLCH L 70.7% C 0.213 H 334.6°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#EC62D5
RGBrgb(236, 98, 213)
HSLhsl(310, 78%, 65%)
HSVhsv(310, 58%, 93%)
CMYKcmyk(0%, 58.5%, 9.7%, 7.5%)
CIE-LABlab(62.82, 66.46, -33.62)
CIE-LCHlch(62.82, 74.48, 333.17°)
OKLaboklab(70.72% 0.1926 -0.0915)
OKLCHoklch(70.72% 0.213 334.6)
XYZxyz(50.9703, 31.3762, 66.3095)
Luminance0.3137 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC62D5 #62EC79
analogous
#BE62EC #EC62D5 #EC6290
triadic
#EC62D5 #D5EC62 #62D5EC
tetradic
#EC62D5 #ECBE62 #62EC79 #6290EC
square
#EC62D5 #ECBE62 #62EC79 #6290EC
split-complementary
#EC62D5 #90EC62 #62ECBE
monochromatic
#BD17A1 #E52BC6 #EC62D5 #F399E4 #F9CFF2

Accessibility & contrast

On white

2.89
#EC62D5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#EC62D5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC62D5
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC62D5#FFFFFF#000000##000000
##EC62D51.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#618BD9
Deuteranopia (green-blind)
#8C9FD1
Tritanopia (blue-blind)
#F66B93
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ec62d5;
/* rgb */ color: rgb(236, 98, 213);
/* oklch */ color: oklch(70.7% 0.213 334.6);
Tailwind
colors: {
  custom: {
    50: '#f596e2',
    500: '#ec62d5',
    950: '#000000',
  },
}
SCSS
$custom: #ec62d5;
$custom-light: #f596e2;
$custom-dark: #000000;
JSON
{
  "hex": "#ec62d5",
  "rgb": {
    "r": 236,
    "g": 98,
    "b": 213
  },
  "hsl": {
    "h": 310,
    "s": 78.409,
    "l": 65.49
  },
  "oklch": {
    "l": 0.70716,
    "c": 0.21321,
    "h": 334.6
  },
  "luminance": 0.31372
}

Semantic roles & 50–950 ramp

primary
#EC62D5
secondary
#BEECC5
accent
#DB2D0B
background
#FFF9FD
surface
#FFF2FB
border
#D7CCD4
text
#170E15
muted
#857E83

Preview Lab

Preview with #EC62D5

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

Preview Lab → · Contrast checker → · Palette generator →

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