#EC62A2#EC62A2

#EC62A2 is a light, vivid pink. Relative luminance 0.292; OKLCH L 68.7% C 0.182 H 354.0°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#EC62A2
RGBrgb(236, 98, 162)
HSLhsl(332, 78%, 65%)
HSVhsv(332, 58%, 93%)
CMYKcmyk(0%, 58.5%, 31.4%, 7.5%)
CIE-LABlab(60.94, 59.44, -7.42)
CIE-LCHlch(60.94, 59.91, 352.88°)
OKLaboklab(68.71% 0.1809 -0.0189)
OKLCHoklch(68.71% 0.182 354)
XYZxyz(45.4835, 29.1815, 37.4127)
Luminance0.2918 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC62A2 #62ECAC
analogous
#EC62E7 #EC62A2 #EC6762
triadic
#EC62A2 #A2EC62 #62A2EC
tetradic
#EC62A2 #E7EC62 #62ECAC #6762EC
square
#EC62A2 #E7EC62 #62ECAC #6762EC
split-complementary
#EC62A2 #62EC67 #62E7EC
monochromatic
#BD1764 #E52B82 #EC62A2 #F399C2 #F9CFE3

Accessibility & contrast

On white

3.07
#EC62A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#EC62A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC62A2
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC62A2#FFFFFF#000000##000000
##EC62A21.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7683A4
Deuteranopia (green-blind)
#9C9C9F
Tritanopia (blue-blind)
#FD5A7B
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ec62a2;
/* rgb */ color: rgb(236, 98, 162);
/* oklch */ color: oklch(68.7% 0.182 354.0);
Tailwind
colors: {
  custom: {
    50: '#f695bd',
    500: '#ec62a2',
    950: '#000000',
  },
}
SCSS
$custom: #ec62a2;
$custom-light: #f695bd;
$custom-dark: #000000;
JSON
{
  "hex": "#ec62a2",
  "rgb": {
    "r": 236,
    "g": 98,
    "b": 162
  },
  "hsl": {
    "h": 332.174,
    "s": 78.409,
    "l": 65.49
  },
  "oklch": {
    "l": 0.68709,
    "c": 0.18186,
    "h": 354
  },
  "luminance": 0.29177
}

Semantic roles & 50–950 ramp

primary
#EC62A2
secondary
#BEECD7
accent
#DB7A0B
background
#FFF9FB
surface
#FFF2F6
border
#D7CCD0
text
#180E12
muted
#867E81

Preview Lab

Preview with #EC62A2

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

Preview Lab → · Contrast checker → · Palette generator →

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