#EC4B8D#EC4B8D

#EC4B8D is a light, highly saturated pink. Relative luminance 0.248; OKLCH L 65.5% C 0.204 H 359.3°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#EC4B8D
RGBrgb(236, 75, 141)
HSLhsl(335, 81%, 61%)
HSVhsv(335, 68%, 93%)
CMYKcmyk(0%, 68.2%, 40.3%, 7.5%)
CIE-LABlab(56.87, 66.48, -1.19)
CIE-LCHlch(56.87, 66.49, 358.97°)
OKLaboklab(65.49% 0.2037 -0.0023)
OKLCHoklch(65.49% 0.204 359.3)
XYZxyz(41.9188, 24.7932, 27.7722)
Luminance0.2479 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC4B8D #4BECAA
analogous
#EC4BDD #EC4B8D #EC594B
triadic
#EC4B8D #8DEC4B #4B8DEC
tetradic
#EC4B8D #DDEC4B #4BECAA #594BEC
square
#EC4B8D #DDEC4B #4BECAA #594BEC
split-complementary
#EC4B8D #4BEC59 #4BDDEC
monochromatic
#AB1251 #E2186B #EC4B8D #F282B0 #F8BAD3

Accessibility & contrast

On white

3.52
#EC4B8D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#EC4B8D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC4B8D
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC4B8D#FFFFFF#000000##000000
##EC4B8D1.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B758F
Deuteranopia (green-blind)
#979489
Tritanopia (blue-blind)
#FF3866
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ec4b8d;
/* rgb */ color: rgb(236, 75, 141);
/* oklch */ color: oklch(65.5% 0.204 359.3);
Tailwind
colors: {
  custom: {
    50: '#f788ae',
    500: '#ec4b8d',
    950: '#000000',
  },
}
SCSS
$custom: #ec4b8d;
$custom-light: #f788ae;
$custom-dark: #000000;
JSON
{
  "hex": "#ec4b8d",
  "rgb": {
    "r": 236,
    "g": 75,
    "b": 141
  },
  "hsl": {
    "h": 335.404,
    "s": 80.905,
    "l": 60.98
  },
  "oklch": {
    "l": 0.65486,
    "c": 0.2037,
    "h": 359.3
  },
  "luminance": 0.24788
}

Semantic roles & 50–950 ramp

primary
#EC4B8D
secondary
#ABE8CF
accent
#DD8608
background
#FFF8FA
surface
#FFF0F4
border
#D7CBCE
text
#180C10
muted
#867D7F

Preview Lab

Preview with #EC4B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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