#EC5D8A#EC5D8A

#EC5D8A is a light, vivid pink. Relative luminance 0.275; OKLCH L 67.4% C 0.180 H 3.7°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#EC5D8A
RGBrgb(236, 93, 138)
HSLhsl(341, 79%, 65%)
HSVhsv(341, 61%, 93%)
CMYKcmyk(0%, 60.6%, 41.5%, 7.5%)
CIE-LABlab(59.44, 58.97, 4.29)
CIE-LCHlch(59.44, 59.13, 4.16°)
OKLaboklab(67.36% 0.1799 0.0118)
OKLCHoklch(67.36% 0.18 3.7)
XYZxyz(43.0967, 27.5015, 27.0786)
Luminance0.2750 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5D8A #5DECBF
analogous
#EC5DD2 #EC5D8A #EC785D
triadic
#EC5D8A #8AEC5D #5D8AEC
tetradic
#EC5D8A #D2EC5D #5DECBF #785DEC
square
#EC5D8A #D2EC5D #5DECBF #785DEC
split-complementary
#EC5D8A #5DEC78 #5DD2EC
monochromatic
#B91649 #E62662 #EC5D8A #F294B2 #F9CBD9

Accessibility & contrast

On white

3.23
#EC5D8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#EC5D8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5D8A
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5D8A#FFFFFF#000000##000000
##EC5D8A1.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#797E8B
Deuteranopia (green-blind)
#9F9987
Tritanopia (blue-blind)
#FF4D6E
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ec5d8a;
/* rgb */ color: rgb(236, 93, 138);
/* oklch */ color: oklch(67.4% 0.180 3.7);
Tailwind
colors: {
  custom: {
    50: '#f791ac',
    500: '#ec5d8a',
    950: '#000000',
  },
}
SCSS
$custom: #ec5d8a;
$custom-light: #f791ac;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5d8a",
  "rgb": {
    "r": 236,
    "g": 93,
    "b": 138
  },
  "hsl": {
    "h": 341.119,
    "s": 79.006,
    "l": 64.51
  },
  "oklch": {
    "l": 0.6736,
    "c": 0.18026,
    "h": 3.7
  },
  "luminance": 0.27497
}

Semantic roles & 50–950 ramp

primary
#EC5D8A
secondary
#BAEBDC
accent
#DB990A
background
#FFF9FA
surface
#FFF2F4
border
#D7CCCE
text
#180D10
muted
#867E7F

Preview Lab

Preview with #EC5D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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