#EC5D98#EC5D98

#EC5D98 is a light, vivid pink. Relative luminance 0.279; OKLCH L 67.8% C 0.185 H 357.6°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#EC5D98
RGBrgb(236, 93, 152)
HSLhsl(335, 79%, 65%)
HSVhsv(335, 61%, 93%)
CMYKcmyk(0%, 60.6%, 35.6%, 7.5%)
CIE-LABlab(59.83, 60.46, -3.28)
CIE-LCHlch(59.83, 60.55, 356.89°)
OKLaboklab(67.78% 0.1846 -0.0078)
OKLCHoklch(67.78% 0.185 357.6)
XYZxyz(44.1764, 27.9334, 32.7649)
Luminance0.2793 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5D98 #5DECB1
analogous
#EC5DDF #EC5D98 #EC6A5D
triadic
#EC5D98 #98EC5D #5D98EC
tetradic
#EC5D98 #DFEC5D #5DECB1 #6A5DEC
square
#EC5D98 #DFEC5D #5DECB1 #6A5DEC
split-complementary
#EC5D98 #5DEC6A #5DDFEC
monochromatic
#B91659 #E62675 #EC5D98 #F294BB #F9CBDE

Accessibility & contrast

On white

3.19
#EC5D98 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#EC5D98 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5D98
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5D98#FFFFFF#000000##000000
##EC5D981.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#757F9A
Deuteranopia (green-blind)
#9C9A95
Tritanopia (blue-blind)
#FE5174
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ec5d98;
/* rgb */ color: rgb(236, 93, 152);
/* oklch */ color: oklch(67.8% 0.185 357.6);
Tailwind
colors: {
  custom: {
    50: '#f692b6',
    500: '#ec5d98',
    950: '#000000',
  },
}
SCSS
$custom: #ec5d98;
$custom-light: #f692b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5d98",
  "rgb": {
    "r": 236,
    "g": 93,
    "b": 152
  },
  "hsl": {
    "h": 335.245,
    "s": 79.006,
    "l": 64.51
  },
  "oklch": {
    "l": 0.67781,
    "c": 0.18472,
    "h": 357.6
  },
  "luminance": 0.27929
}

Semantic roles & 50–950 ramp

primary
#EC5D98
secondary
#BAEBD7
accent
#DB850A
background
#FFF9FB
surface
#FFF2F6
border
#D7CCD0
text
#180D11
muted
#867E80

Preview Lab

Preview with #EC5D98

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

Preview Lab → · Contrast checker → · Palette generator →

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