#EC5C8A#EC5C8A

#EC5C8A is a light, vivid pink. Relative luminance 0.273; OKLCH L 67.2% C 0.182 H 3.5°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#EC5C8A
RGBrgb(236, 92, 138)
HSLhsl(341, 79%, 64%)
HSVhsv(341, 61%, 93%)
CMYKcmyk(0%, 61%, 41.5%, 7.5%)
CIE-LABlab(59.28, 59.40, 4.06)
CIE-LCHlch(59.28, 59.54, 3.91°)
OKLaboklab(67.24% 0.1812 0.0112)
OKLCHoklch(67.24% 0.182 3.5)
XYZxyz(43.0095, 27.3271, 27.0495)
Luminance0.2732 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5C8A #5CECBE
analogous
#EC5CD2 #EC5C8A #EC765C
triadic
#EC5C8A #8AEC5C #5C8AEC
tetradic
#EC5C8A #D2EC5C #5CECBE #765CEC
square
#EC5C8A #D2EC5C #5CECBE #765CEC
split-complementary
#EC5C8A #5CEC76 #5CD2EC
monochromatic
#B81549 #E62563 #EC5C8A #F293B1 #F9CAD9

Accessibility & contrast

On white

3.25
#EC5C8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#EC5C8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5C8A
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5C8A#FFFFFF#000000##000000
##EC5C8A1.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#787D8B
Deuteranopia (green-blind)
#9E9987
Tritanopia (blue-blind)
#FF4C6E
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ec5c8a;
/* rgb */ color: rgb(236, 92, 138);
/* oklch */ color: oklch(67.2% 0.182 3.5);
Tailwind
colors: {
  custom: {
    50: '#f791ac',
    500: '#ec5c8a',
    950: '#000000',
  },
}
SCSS
$custom: #ec5c8a;
$custom-light: #f791ac;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5c8a",
  "rgb": {
    "r": 236,
    "g": 92,
    "b": 138
  },
  "hsl": {
    "h": 340.833,
    "s": 79.121,
    "l": 64.314
  },
  "oklch": {
    "l": 0.67241,
    "c": 0.18157,
    "h": 3.5
  },
  "luminance": 0.27322
}

Semantic roles & 50–950 ramp

primary
#EC5C8A
secondary
#B9EBDB
accent
#DB990A
background
#FFF9FA
surface
#FFF2F4
border
#D7CCCE
text
#180D10
muted
#867E7F

Preview Lab

Preview with #EC5C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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