#EC5C95#EC5C95

#EC5C95 is a light, vivid pink. Relative luminance 0.277; OKLCH L 67.6% C 0.185 H 358.7°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#EC5C95
RGBrgb(236, 92, 149)
HSLhsl(336, 79%, 64%)
HSVhsv(336, 61%, 93%)
CMYKcmyk(0%, 61%, 36.9%, 7.5%)
CIE-LABlab(59.58, 60.55, -1.90)
CIE-LCHlch(59.58, 60.58, 358.20°)
OKLaboklab(67.57% 0.1849 -0.0042)
OKLCHoklch(67.57% 0.185 358.7)
XYZxyz(43.8466, 27.6619, 31.4582)
Luminance0.2766 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5C95 #5CECB3
analogous
#EC5CDD #EC5C95 #EC6B5C
triadic
#EC5C95 #95EC5C #5C95EC
tetradic
#EC5C95 #DDEC5C #5CECB3 #6B5CEC
square
#EC5C95 #DDEC5C #5CECB3 #6B5CEC
split-complementary
#EC5C95 #5CEC6B #5CDDEC
monochromatic
#B81556 #E62571 #EC5C95 #F293B9 #F9CADC

Accessibility & contrast

On white

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

On black

6.53
#EC5C95 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5C95
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5C95#FFFFFF#000000##000000
##EC5C951.003.226.536.53
#FFFFFF3.221.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#757E97
Deuteranopia (green-blind)
#9C9A92
Tritanopia (blue-blind)
#FE4F72
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ec5c95;
/* rgb */ color: rgb(236, 92, 149);
/* oklch */ color: oklch(67.6% 0.185 358.7);
Tailwind
colors: {
  custom: {
    50: '#f791b4',
    500: '#ec5c95',
    950: '#000000',
  },
}
SCSS
$custom: #ec5c95;
$custom-light: #f791b4;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5c95",
  "rgb": {
    "r": 236,
    "g": 92,
    "b": 149
  },
  "hsl": {
    "h": 336.25,
    "s": 79.121,
    "l": 64.314
  },
  "oklch": {
    "l": 0.67569,
    "c": 0.18497,
    "h": 358.7
  },
  "luminance": 0.27657
}

Semantic roles & 50–950 ramp

primary
#EC5C95
secondary
#B9EBD7
accent
#DB890A
background
#FFF9FB
surface
#FFF2F6
border
#D7CCD0
text
#180D11
muted
#867E80

Preview Lab

Preview with #EC5C95

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

Preview Lab → · Contrast checker → · Palette generator →

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