#EC5E8E#EC5E8E

#EC5E8E is a light, vivid pink. Relative luminance 0.278; OKLCH L 67.6% C 0.180 H 2.2°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#EC5E8E
RGBrgb(236, 94, 142)
HSLhsl(340, 79%, 65%)
HSVhsv(340, 60%, 93%)
CMYKcmyk(0%, 60.2%, 39.8%, 7.5%)
CIE-LABlab(59.70, 58.95, 2.35)
CIE-LCHlch(59.70, 59.00, 2.28°)
OKLaboklab(67.6% 0.1799 0.0068)
OKLCHoklch(67.6% 0.18 2.2)
XYZxyz(43.4800, 27.7962, 28.6614)
Luminance0.2779 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5E8E #5EECBC
analogous
#EC5ED5 #EC5E8E #EC755E
triadic
#EC5E8E #8EEC5E #5E8EEC
tetradic
#EC5E8E #D5EC5E #5EECBC #755EEC
square
#EC5E8E #D5EC5E #5EECBC #755EEC
split-complementary
#EC5E8E #5EEC75 #5ED5EC
monochromatic
#BA164D #E62768 #EC5E8E #F295B4 #F9CBDB

Accessibility & contrast

On white

3.20
#EC5E8E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#EC5E8E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5E8E
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5E8E#FFFFFF#000000##000000
##EC5E8E1.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#797F8F
Deuteranopia (green-blind)
#9E9A8B
Tritanopia (blue-blind)
#FF4F70
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ec5e8e;
/* rgb */ color: rgb(236, 94, 142);
/* oklch */ color: oklch(67.6% 0.180 2.2);
Tailwind
colors: {
  custom: {
    50: '#f792ae',
    500: '#ec5e8e',
    950: '#000000',
  },
}
SCSS
$custom: #ec5e8e;
$custom-light: #f792ae;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5e8e",
  "rgb": {
    "r": 236,
    "g": 94,
    "b": 142
  },
  "hsl": {
    "h": 339.718,
    "s": 78.889,
    "l": 64.706
  },
  "oklch": {
    "l": 0.67596,
    "c": 0.18003,
    "h": 2.2
  },
  "luminance": 0.27791
}

Semantic roles & 50–950 ramp

primary
#EC5E8E
secondary
#BBEBDB
accent
#DB950A
background
#FFF9FA
surface
#FFF2F4
border
#D7CCCE
text
#180D10
muted
#867E7F

Preview Lab

Preview with #EC5E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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