#EC628A#EC628A

#EC628A is a light, vivid pink. Relative luminance 0.284; OKLCH L 68.0% C 0.174 H 4.9°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#EC628A
RGBrgb(236, 98, 138)
HSLhsl(343, 78%, 65%)
HSVhsv(343, 58%, 93%)
CMYKcmyk(0%, 58.5%, 41.5%, 7.5%)
CIE-LABlab(60.26, 56.78, 5.47)
CIE-LCHlch(60.26, 57.04, 5.50°)
OKLaboklab(67.97% 0.173 0.0148)
OKLCHoklch(67.97% 0.174 4.9)
XYZxyz(43.5500, 28.4081, 27.2297)
Luminance0.2840 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC628A #62ECC4
analogous
#EC62CF #EC628A #EC7F62
triadic
#EC628A #8AEC62 #628AEC
tetradic
#EC628A #CFEC62 #62ECC4 #7F62EC
square
#EC628A #CFEC62 #62ECC4 #7F62EC
split-complementary
#EC628A #62EC7F #62CFEC
monochromatic
#BD1747 #E52B61 #EC628A #F399B3 #F9CFDB

Accessibility & contrast

On white

3.14
#EC628A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#EC628A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC628A
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC628A#FFFFFF#000000##000000
##EC628A1.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D808B
Deuteranopia (green-blind)
#A19B87
Tritanopia (blue-blind)
#FF5271
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ec628a;
/* rgb */ color: rgb(236, 98, 138);
/* oklch */ color: oklch(68.0% 0.174 4.9);
Tailwind
colors: {
  custom: {
    50: '#f794ac',
    500: '#ec628a',
    950: '#000000',
  },
}
SCSS
$custom: #ec628a;
$custom-light: #f794ac;
$custom-dark: #000000;
JSON
{
  "hex": "#ec628a",
  "rgb": {
    "r": 236,
    "g": 98,
    "b": 138
  },
  "hsl": {
    "h": 342.609,
    "s": 78.409,
    "l": 65.49
  },
  "oklch": {
    "l": 0.67972,
    "c": 0.17361,
    "h": 4.9
  },
  "luminance": 0.28403
}

Semantic roles & 50–950 ramp

primary
#EC628A
secondary
#BEECDF
accent
#DB9E0B
background
#FFF9FA
surface
#FFF2F4
border
#D7CCCE
text
#180E10
muted
#867E7F

Preview Lab

Preview with #EC628A

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

Preview Lab → · Contrast checker → · Palette generator →

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