#EC4E7B#EC4E7B

#EC4E7B is a light, vivid pink. Relative luminance 0.247; OKLCH L 65.3% C 0.195 H 7.1°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#EC4E7B
RGBrgb(236, 78, 123)
HSLhsl(343, 81%, 62%)
HSVhsv(343, 67%, 93%)
CMYKcmyk(0%, 66.9%, 47.9%, 7.5%)
CIE-LABlab(56.80, 63.68, 9.32)
CIE-LCHlch(56.80, 64.36, 8.33°)
OKLaboklab(65.27% 0.194 0.0243)
OKLCHoklch(65.27% 0.195 7.1)
XYZxyz(40.8949, 24.7170, 21.3524)
Luminance0.2471 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC4E7B #4EECBF
analogous
#EC4ECA #EC4E7B #EC704E
triadic
#EC4E7B #7BEC4E #4E7BEC
tetradic
#EC4E7B #CAEC4E #4EECBF #704EEC
square
#EC4E7B #CAEC4E #4EECBF #704EEC
split-complementary
#EC4E7B #4EEC70 #4ECAEC
monochromatic
#AD133F #E41953 #EC4E7B #F285A4 #F8BDCD

Accessibility & contrast

On white

3.53
#EC4E7B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#EC4E7B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC4E7B
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC4E7B#FFFFFF#000000##000000
##EC4E7B1.003.535.945.94
#FFFFFF3.531.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#72747C
Deuteranopia (green-blind)
#9B9477
Tritanopia (blue-blind)
#FF3460
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ec4e7b;
/* rgb */ color: rgb(236, 78, 123);
/* oklch */ color: oklch(65.3% 0.195 7.1);
Tailwind
colors: {
  custom: {
    50: '#f889a0',
    500: '#ec4e7b',
    950: '#000000',
  },
}
SCSS
$custom: #ec4e7b;
$custom-light: #f889a0;
$custom-dark: #000000;
JSON
{
  "hex": "#ec4e7b",
  "rgb": {
    "r": 236,
    "g": 78,
    "b": 123
  },
  "hsl": {
    "h": 342.911,
    "s": 80.612,
    "l": 61.569
  },
  "oklch": {
    "l": 0.65272,
    "c": 0.19549,
    "h": 7.1
  },
  "luminance": 0.24712
}

Semantic roles & 50–950 ramp

primary
#EC4E7B
secondary
#AEE8D8
accent
#DDA009
background
#FFF8F9
surface
#FFF0F2
border
#D7CBCC
text
#180C0E
muted
#867D7E

Preview Lab

Preview with #EC4E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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