#EC5C8C#EC5C8C

#EC5C8C is a light, vivid pink. Relative luminance 0.274; OKLCH L 67.3% C 0.182 H 2.6°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#EC5C8C
RGBrgb(236, 92, 140)
HSLhsl(340, 79%, 64%)
HSVhsv(340, 61%, 93%)
CMYKcmyk(0%, 61%, 40.7%, 7.5%)
CIE-LABlab(59.33, 59.60, 2.97)
CIE-LCHlch(59.33, 59.68, 2.85°)
OKLaboklab(67.3% 0.1819 0.0084)
OKLCHoklch(67.3% 0.182 2.6)
XYZxyz(43.1557, 27.3856, 27.8191)
Luminance0.2738 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5C8C #5CECBC
analogous
#EC5CD4 #EC5C8C #EC745C
triadic
#EC5C8C #8CEC5C #5C8CEC
tetradic
#EC5C8C #D4EC5C #5CECBC #745CEC
square
#EC5C8C #D4EC5C #5CECBC #745CEC
split-complementary
#EC5C8C #5CEC74 #5CD4EC
monochromatic
#B8154C #E62565 #EC5C8C #F293B3 #F9CAD9

Accessibility & contrast

On white

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

On black

6.48
#EC5C8C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5C8C
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5C8C#FFFFFF#000000##000000
##EC5C8C1.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#787D8D
Deuteranopia (green-blind)
#9E9989
Tritanopia (blue-blind)
#FF4C6F
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ec5c8c;
/* rgb */ color: rgb(236, 92, 140);
/* oklch */ color: oklch(67.3% 0.182 2.6);
Tailwind
colors: {
  custom: {
    50: '#f791ad',
    500: '#ec5c8c',
    950: '#000000',
  },
}
SCSS
$custom: #ec5c8c;
$custom-light: #f791ad;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5c8c",
  "rgb": {
    "r": 236,
    "g": 92,
    "b": 140
  },
  "hsl": {
    "h": 340,
    "s": 79.121,
    "l": 64.314
  },
  "oklch": {
    "l": 0.67299,
    "c": 0.18211,
    "h": 2.6
  },
  "luminance": 0.27381
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC5C8C

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

Preview Lab → · Contrast checker → · Palette generator →

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