#EC4E8B#EC4E8B

#EC4E8B is a light, vivid pink. Relative luminance 0.251; OKLCH L 65.7% C 0.200 H 0.6°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#EC4E8B
RGBrgb(236, 78, 139)
HSLhsl(337, 81%, 62%)
HSVhsv(337, 67%, 93%)
CMYKcmyk(0%, 66.9%, 41.1%, 7.5%)
CIE-LABlab(57.22, 65.16, 0.49)
CIE-LCHlch(57.22, 65.17, 0.43°)
OKLaboklab(65.72% 0.1995 0.002)
OKLCHoklch(65.72% 0.2 0.6)
XYZxyz(41.9796, 25.1508, 27.0650)
Luminance0.2515 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC4E8B #4EECAF
analogous
#EC4EDA #EC4E8B #EC604E
triadic
#EC4E8B #8BEC4E #4E8BEC
tetradic
#EC4E8B #DAEC4E #4EECAF #604EEC
square
#EC4E8B #DAEC4E #4EECAF #604EEC
split-complementary
#EC4E8B #4EEC60 #4EDAEC
monochromatic
#AD134E #E41967 #EC4E8B #F285AF #F8BDD3

Accessibility & contrast

On white

3.48
#EC4E8B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#EC4E8B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC4E8B
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC4E8B#FFFFFF#000000##000000
##EC4E8B1.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E768D
Deuteranopia (green-blind)
#989587
Tritanopia (blue-blind)
#FF3B67
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ec4e8b;
/* rgb */ color: rgb(236, 78, 139);
/* oklch */ color: oklch(65.7% 0.200 0.6);
Tailwind
colors: {
  custom: {
    50: '#f789ac',
    500: '#ec4e8b',
    950: '#000000',
  },
}
SCSS
$custom: #ec4e8b;
$custom-light: #f789ac;
$custom-dark: #000000;
JSON
{
  "hex": "#ec4e8b",
  "rgb": {
    "r": 236,
    "g": 78,
    "b": 139
  },
  "hsl": {
    "h": 336.835,
    "s": 80.612,
    "l": 61.569
  },
  "oklch": {
    "l": 0.65725,
    "c": 0.1995,
    "h": 0.6
  },
  "luminance": 0.25146
}

Semantic roles & 50–950 ramp

primary
#EC4E8B
secondary
#AEE8D2
accent
#DD8B09
background
#FFF8FA
surface
#FFF0F4
border
#D7CBCE
text
#180C10
muted
#867D7F

Preview Lab

Preview with #EC4E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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