#EC5D8D#EC5D8D

#EC5D8D is a light, vivid pink. Relative luminance 0.276; OKLCH L 67.4% C 0.181 H 2.4°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#EC5D8D
RGBrgb(236, 93, 141)
HSLhsl(340, 79%, 65%)
HSVhsv(340, 61%, 93%)
CMYKcmyk(0%, 60.6%, 40.3%, 7.5%)
CIE-LABlab(59.52, 59.28, 2.66)
CIE-LCHlch(59.52, 59.34, 2.57°)
OKLaboklab(67.45% 0.1809 0.0076)
OKLCHoklch(67.45% 0.181 2.4)
XYZxyz(43.3169, 27.5896, 28.2383)
Luminance0.2758 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5D8D #5DECBC
analogous
#EC5DD5 #EC5D8D #EC755D
triadic
#EC5D8D #8DEC5D #5D8DEC
tetradic
#EC5D8D #D5EC5D #5DECBC #755DEC
square
#EC5D8D #D5EC5D #5DECBC #755DEC
split-complementary
#EC5D8D #5DEC75 #5DD5EC
monochromatic
#B9164C #E62666 #EC5D8D #F294B4 #F9CBDA

Accessibility & contrast

On white

3.22
#EC5D8D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#EC5D8D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5D8D
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5D8D#FFFFFF#000000##000000
##EC5D8D1.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#787E8E
Deuteranopia (green-blind)
#9E9A8A
Tritanopia (blue-blind)
#FF4E70
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ec5d8d;
/* rgb */ color: rgb(236, 93, 141);
/* oklch */ color: oklch(67.4% 0.181 2.4);
Tailwind
colors: {
  custom: {
    50: '#f791ae',
    500: '#ec5d8d',
    950: '#000000',
  },
}
SCSS
$custom: #ec5d8d;
$custom-light: #f791ae;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5d8d",
  "rgb": {
    "r": 236,
    "g": 93,
    "b": 141
  },
  "hsl": {
    "h": 339.86,
    "s": 79.006,
    "l": 64.51
  },
  "oklch": {
    "l": 0.67446,
    "c": 0.18107,
    "h": 2.4
  },
  "luminance": 0.27585
}

Semantic roles & 50–950 ramp

primary
#EC5D8D
secondary
#BAEBDB
accent
#DB950A
background
#FFF9FA
surface
#FFF2F4
border
#D7CCCE
text
#180D10
muted
#867E7F

Preview Lab

Preview with #EC5D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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