#EC62C2#EC62C2

#EC62C2 is a light, vivid pink. Relative luminance 0.305; OKLCH L 69.9% C 0.200 H 341.2°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#EC62C2
RGBrgb(236, 98, 194)
HSLhsl(318, 78%, 65%)
HSVhsv(318, 58%, 93%)
CMYKcmyk(0%, 58.5%, 17.8%, 7.5%)
CIE-LABlab(62.06, 63.65, -24.07)
CIE-LCHlch(62.06, 68.05, 339.29°)
OKLaboklab(69.9% 0.1891 -0.0645)
OKLCHoklch(69.9% 0.2 341.2)
XYZxyz(48.6984, 30.4675, 54.3445)
Luminance0.3046 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC62C2 #62EC8C
analogous
#D162EC #EC62C2 #EC627D
triadic
#EC62C2 #C2EC62 #62C2EC
tetradic
#EC62C2 #ECD162 #62EC8C #627DEC
square
#EC62C2 #ECD162 #62EC8C #627DEC
split-complementary
#EC62C2 #7DEC62 #62ECD1
monochromatic
#BD178A #E52BAD #EC62C2 #F399D7 #F9CFEC

Accessibility & contrast

On white

2.96
#EC62C2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#EC62C2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC62C2
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC62C2#FFFFFF#000000##000000
##EC62C21.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B88C5
Deuteranopia (green-blind)
#939EBF
Tritanopia (blue-blind)
#F9648A
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ec62c2;
/* rgb */ color: rgb(236, 98, 194);
/* oklch */ color: oklch(69.9% 0.200 341.2);
Tailwind
colors: {
  custom: {
    50: '#f595d4',
    500: '#ec62c2',
    950: '#000000',
  },
}
SCSS
$custom: #ec62c2;
$custom-light: #f595d4;
$custom-dark: #000000;
JSON
{
  "hex": "#ec62c2",
  "rgb": {
    "r": 236,
    "g": 98,
    "b": 194
  },
  "hsl": {
    "h": 318.261,
    "s": 78.409,
    "l": 65.49
  },
  "oklch": {
    "l": 0.699,
    "c": 0.19981,
    "h": 341.2
  },
  "luminance": 0.30463
}

Semantic roles & 50–950 ramp

primary
#EC62C2
secondary
#BEECCC
accent
#DB4A0B
background
#FFF9FD
surface
#FFF2FA
border
#D7CCD3
text
#180E14
muted
#867E83

Preview Lab

Preview with #EC62C2

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

Preview Lab → · Contrast checker → · Palette generator →

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