#EC4B78#EC4B78

#EC4B78 is a light, vivid pink. Relative luminance 0.242; OKLCH L 64.9% C 0.198 H 7.8°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#EC4B78
RGBrgb(236, 75, 120)
HSLhsl(343, 81%, 61%)
HSVhsv(343, 68%, 93%)
CMYKcmyk(0%, 68.2%, 49.2%, 7.5%)
CIE-LABlab(56.31, 64.56, 10.41)
CIE-LCHlch(56.31, 65.39, 9.16°)
OKLaboklab(64.89% 0.1965 0.027)
OKLCHoklch(64.89% 0.198 7.8)
XYZxyz(40.5017, 24.2264, 20.3090)
Luminance0.2422 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC4B78 #4BECBF
analogous
#EC4BC8 #EC4B78 #EC6E4B
triadic
#EC4B78 #78EC4B #4B78EC
tetradic
#EC4B78 #C8EC4B #4BECBF #6E4BEC
square
#EC4B78 #C8EC4B #4BECBF #6E4BEC
split-complementary
#EC4B78 #4BEC6E #4BC8EC
monochromatic
#AB123D #E21850 #EC4B78 #F282A2 #F8BACB

Accessibility & contrast

On white

3.59
#EC4B78 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#EC4B78 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC4B78
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC4B78#FFFFFF#000000##000000
##EC4B781.003.595.845.84
#FFFFFF3.591.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#707379
Deuteranopia (green-blind)
#9B9374
Tritanopia (blue-blind)
#FF2E5D
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ec4b78;
/* rgb */ color: rgb(236, 75, 120);
/* oklch */ color: oklch(64.9% 0.198 7.8);
Tailwind
colors: {
  custom: {
    50: '#f8879e',
    500: '#ec4b78',
    950: '#000000',
  },
}
SCSS
$custom: #ec4b78;
$custom-light: #f8879e;
$custom-dark: #000000;
JSON
{
  "hex": "#ec4b78",
  "rgb": {
    "r": 236,
    "g": 75,
    "b": 120
  },
  "hsl": {
    "h": 343.23,
    "s": 80.905,
    "l": 60.98
  },
  "oklch": {
    "l": 0.64889,
    "c": 0.19834,
    "h": 7.8
  },
  "luminance": 0.24221
}

Semantic roles & 50–950 ramp

primary
#EC4B78
secondary
#ABE8D7
accent
#DDA208
background
#FFF8F9
surface
#FFF0F2
border
#D7CBCC
text
#180C0E
muted
#867D7E

Preview Lab

Preview with #EC4B78

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

Preview Lab → · Contrast checker → · Palette generator →

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