#EC628C#EC628C

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

Color values

HEX#EC628C
RGBrgb(236, 98, 140)
HSLhsl(342, 78%, 65%)
HSVhsv(342, 58%, 93%)
CMYKcmyk(0%, 58.5%, 40.7%, 7.5%)
CIE-LABlab(60.31, 56.98, 4.38)
CIE-LCHlch(60.31, 57.15, 4.40°)
OKLaboklab(68.03% 0.1737 0.012)
OKLCHoklch(68.03% 0.174 3.9)
XYZxyz(43.6962, 28.4666, 27.9993)
Luminance0.2846 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC628C #62ECC2
analogous
#EC62D1 #EC628C #EC7D62
triadic
#EC628C #8CEC62 #628CEC
tetradic
#EC628C #D1EC62 #62ECC2 #7D62EC
square
#EC628C #D1EC62 #62ECC2 #7D62EC
split-complementary
#EC628C #62EC7D #62D1EC
monochromatic
#BD1749 #E52B64 #EC628C #F399B4 #F9CFDC

Accessibility & contrast

On white

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

On black

6.69
#EC628C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC628C
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC628C#FFFFFF#000000##000000
##EC628C1.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C818D
Deuteranopia (green-blind)
#A09B89
Tritanopia (blue-blind)
#FF5372
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ec628c;
/* rgb */ color: rgb(236, 98, 140);
/* oklch */ color: oklch(68.0% 0.174 3.9);
Tailwind
colors: {
  custom: {
    50: '#f794ad',
    500: '#ec628c',
    950: '#000000',
  },
}
SCSS
$custom: #ec628c;
$custom-light: #f794ad;
$custom-dark: #000000;
JSON
{
  "hex": "#ec628c",
  "rgb": {
    "r": 236,
    "g": 98,
    "b": 140
  },
  "hsl": {
    "h": 341.739,
    "s": 78.409,
    "l": 65.49
  },
  "oklch": {
    "l": 0.68029,
    "c": 0.17409,
    "h": 3.9
  },
  "luminance": 0.28462
}

Semantic roles & 50–950 ramp

primary
#EC628C
secondary
#BEECDE
accent
#DB9B0B
background
#FFF9FA
surface
#FFF2F4
border
#D7CCCE
text
#180E10
muted
#867E7F

Preview Lab

Preview with #EC628C

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

Preview Lab → · Contrast checker → · Palette generator →

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