#EC5E8F#EC5E8F

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

Color values

HEX#EC5E8F
RGBrgb(236, 94, 143)
HSLhsl(339, 79%, 65%)
HSVhsv(339, 60%, 93%)
CMYKcmyk(0%, 60.2%, 39.4%, 7.5%)
CIE-LABlab(59.73, 59.05, 1.81)
CIE-LCHlch(59.73, 59.08, 1.75°)
OKLaboklab(67.63% 0.1802 0.0054)
OKLCHoklch(67.63% 0.18 1.7)
XYZxyz(43.5554, 27.8263, 29.0586)
Luminance0.2782 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5E8F #5EECBB
analogous
#EC5ED6 #EC5E8F #EC745E
triadic
#EC5E8F #8FEC5E #5E8FEC
tetradic
#EC5E8F #D6EC5E #5EECBB #745EEC
square
#EC5E8F #D6EC5E #5EECBB #745EEC
split-complementary
#EC5E8F #5EEC74 #5ED6EC
monochromatic
#BA164E #E62769 #EC5E8F #F295B5 #F9CBDB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EC5E8F#FFFFFF#000000##000000
##EC5E8F1.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)
#787F90
Deuteranopia (green-blind)
#9E9A8C
Tritanopia (blue-blind)
#FE4F71
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ec5e8f;
/* rgb */ color: rgb(236, 94, 143);
/* oklch */ color: oklch(67.6% 0.180 1.7);
Tailwind
colors: {
  custom: {
    50: '#f792af',
    500: '#ec5e8f',
    950: '#000000',
  },
}
SCSS
$custom: #ec5e8f;
$custom-light: #f792af;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5e8f",
  "rgb": {
    "r": 236,
    "g": 94,
    "b": 143
  },
  "hsl": {
    "h": 339.296,
    "s": 78.889,
    "l": 64.706
  },
  "oklch": {
    "l": 0.67625,
    "c": 0.18032,
    "h": 1.7
  },
  "luminance": 0.27821
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC5E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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