#EC5C8E#EC5C8E

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

Color values

HEX#EC5C8E
RGBrgb(236, 92, 142)
HSLhsl(339, 79%, 64%)
HSVhsv(339, 61%, 93%)
CMYKcmyk(0%, 61%, 39.8%, 7.5%)
CIE-LABlab(59.38, 59.81, 1.88)
CIE-LCHlch(59.38, 59.84, 1.80°)
OKLaboklab(67.36% 0.1826 0.0056)
OKLCHoklch(67.36% 0.183 1.8)
XYZxyz(43.3045, 27.4451, 28.6029)
Luminance0.2744 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5C8E #5CECBA
analogous
#EC5CD6 #EC5C8E #EC725C
triadic
#EC5C8E #8EEC5C #5C8EEC
tetradic
#EC5C8E #D6EC5C #5CECBA #725CEC
square
#EC5C8E #D6EC5C #5CECBA #725CEC
split-complementary
#EC5C8E #5CEC72 #5CD6EC
monochromatic
#B8154E #E62568 #EC5C8E #F293B4 #F9CADA

Accessibility & contrast

On white

3.24
#EC5C8E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##EC5C8E#FFFFFF#000000##000000
##EC5C8E1.003.246.496.49
#FFFFFF3.241.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#777E8F
Deuteranopia (green-blind)
#9D998B
Tritanopia (blue-blind)
#FF4D6F
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ec5c8e;
/* rgb */ color: rgb(236, 92, 142);
/* oklch */ color: oklch(67.4% 0.183 1.8);
Tailwind
colors: {
  custom: {
    50: '#f791ae',
    500: '#ec5c8e',
    950: '#000000',
  },
}
SCSS
$custom: #ec5c8e;
$custom-light: #f791ae;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5c8e",
  "rgb": {
    "r": 236,
    "g": 92,
    "b": 142
  },
  "hsl": {
    "h": 339.167,
    "s": 79.121,
    "l": 64.314
  },
  "oklch": {
    "l": 0.67357,
    "c": 0.18269,
    "h": 1.8
  },
  "luminance": 0.2744
}

Semantic roles & 50–950 ramp

primary
#EC5C8E
secondary
#B9EBDA
accent
#DB930A
background
#FFF9FA
surface
#FFF2F4
border
#D7CCCE
text
#180D10
muted
#867E7F

Preview Lab

Preview with #EC5C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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