#EC5C8F#EC5C8F

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

Color values

HEX#EC5C8F
RGBrgb(236, 92, 143)
HSLhsl(339, 79%, 64%)
HSVhsv(339, 61%, 93%)
CMYKcmyk(0%, 61%, 39.4%, 7.5%)
CIE-LABlab(59.41, 59.91, 1.34)
CIE-LCHlch(59.41, 59.93, 1.28°)
OKLaboklab(67.39% 0.1829 0.0042)
OKLCHoklch(67.39% 0.183 1.3)
XYZxyz(43.3799, 27.4752, 29.0001)
Luminance0.2747 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5C8F #5CECB9
analogous
#EC5CD7 #EC5C8F #EC715C
triadic
#EC5C8F #8FEC5C #5C8FEC
tetradic
#EC5C8F #D7EC5C #5CECB9 #715CEC
square
#EC5C8F #D7EC5C #5CECB9 #715CEC
split-complementary
#EC5C8F #5CEC71 #5CD7EC
monochromatic
#B8154F #E62569 #EC5C8F #F293B5 #F9CADA

Accessibility & contrast

On white

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

On black

6.49
#EC5C8F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5C8F
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5C8F#FFFFFF#000000##000000
##EC5C8F1.003.236.496.49
#FFFFFF3.231.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#777E90
Deuteranopia (green-blind)
#9D998C
Tritanopia (blue-blind)
#FF4D70
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ec5c8f;
/* rgb */ color: rgb(236, 92, 143);
/* oklch */ color: oklch(67.4% 0.183 1.3);
Tailwind
colors: {
  custom: {
    50: '#f791af',
    500: '#ec5c8f',
    950: '#000000',
  },
}
SCSS
$custom: #ec5c8f;
$custom-light: #f791af;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5c8f",
  "rgb": {
    "r": 236,
    "g": 92,
    "b": 143
  },
  "hsl": {
    "h": 338.75,
    "s": 79.121,
    "l": 64.314
  },
  "oklch": {
    "l": 0.67387,
    "c": 0.18299,
    "h": 1.3
  },
  "luminance": 0.2747
}

Semantic roles & 50–950 ramp

primary
#EC5C8F
secondary
#B9EBD9
accent
#DB910A
background
#FFF9FA
surface
#FFF2F4
border
#D7CCCE
text
#180D10
muted
#867E7F

Preview Lab

Preview with #EC5C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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