#EF628C#EF628C

#EF628C is a light, vivid pink. Relative luminance 0.290; OKLCH L 68.5% C 0.177 H 4.5°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#EF628C
RGBrgb(239, 98, 140)
HSLhsl(342, 82%, 66%)
HSVhsv(342, 59%, 94%)
CMYKcmyk(0%, 59%, 41.4%, 6.3%)
CIE-LABlab(60.77, 57.94, 5.11)
CIE-LCHlch(60.77, 58.16, 5.04°)
OKLaboklab(68.46% 0.1766 0.0138)
OKLCHoklch(68.46% 0.177 4.5)
XYZxyz(44.7008, 28.9846, 28.0464)
Luminance0.2898 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF628C #62EFC5
analogous
#EF62D2 #EF628C #EF7E62
triadic
#EF628C #8CEF62 #628CEF
tetradic
#EF628C #D2EF62 #62EFC5 #7E62EF
square
#EF628C #D2EF62 #62EFC5 #7E62EF
split-complementary
#EF628C #62EF7E #62D2EF
monochromatic
#C31448 #E92A63 #EF628C #F59AB5 #FAD1DD

Accessibility & contrast

On white

3.09
#EF628C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#EF628C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EF628C
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF628C#FFFFFF#000000##000000
##EF628C1.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D818D
Deuteranopia (green-blind)
#A29D89
Tritanopia (blue-blind)
#FF5272
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ef628c;
/* rgb */ color: rgb(239, 98, 140);
/* oklch */ color: oklch(68.5% 0.177 4.5);
Tailwind
colors: {
  custom: {
    50: '#f994ad',
    500: '#ef628c',
    950: '#000000',
  },
}
SCSS
$custom: #ef628c;
$custom-light: #f994ad;
$custom-dark: #000000;
JSON
{
  "hex": "#ef628c",
  "rgb": {
    "r": 239,
    "g": 98,
    "b": 140
  },
  "hsl": {
    "h": 342.128,
    "s": 81.503,
    "l": 66.078
  },
  "oklch": {
    "l": 0.68462,
    "c": 0.17711,
    "h": 4.5
  },
  "luminance": 0.2898
}

Semantic roles & 50–950 ramp

primary
#EF628C
secondary
#BFEEE0
accent
#DE9E08
background
#FFF9FA
surface
#FFF2F4
border
#D7CCCE
text
#180E10
muted
#867E7F

Preview Lab

Preview with #EF628C

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

Preview Lab → · Contrast checker → · Palette generator →

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