#EC5F8E#EC5F8E

#EC5F8E is a light, vivid pink. Relative luminance 0.280; OKLCH L 67.7% C 0.179 H 2.4°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#EC5F8E
RGBrgb(236, 95, 142)
HSLhsl(340, 79%, 65%)
HSVhsv(340, 60%, 93%)
CMYKcmyk(0%, 59.7%, 39.8%, 7.5%)
CIE-LABlab(59.87, 58.51, 2.58)
CIE-LCHlch(59.87, 58.57, 2.53°)
OKLaboklab(67.72% 0.1785 0.0074)
OKLCHoklch(67.72% 0.179 2.4)
XYZxyz(43.5695, 27.9752, 28.6912)
Luminance0.2797 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5F8E #5FECBD
analogous
#EC5FD5 #EC5F8E #EC775F
triadic
#EC5F8E #8EEC5F #5F8EEC
tetradic
#EC5F8E #D5EC5F #5FECBD #775FEC
square
#EC5F8E #D5EC5F #5FECBD #775FEC
split-complementary
#EC5F8E #5FEC77 #5FD5EC
monochromatic
#BA164D #E62867 #EC5F8E #F296B5 #F9CCDB

Accessibility & contrast

On white

3.18
#EC5F8E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#EC5F8E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5F8E
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5F8E#FFFFFF#000000##000000
##EC5F8E1.003.186.596.59
#FFFFFF3.181.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ec5f8e;
/* rgb */ color: rgb(236, 95, 142);
/* oklch */ color: oklch(67.7% 0.179 2.4);
Tailwind
colors: {
  custom: {
    50: '#f793ae',
    500: '#ec5f8e',
    950: '#000000',
  },
}
SCSS
$custom: #ec5f8e;
$custom-light: #f793ae;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5f8e",
  "rgb": {
    "r": 236,
    "g": 95,
    "b": 142
  },
  "hsl": {
    "h": 340,
    "s": 78.771,
    "l": 64.902
  },
  "oklch": {
    "l": 0.67716,
    "c": 0.17868,
    "h": 2.4
  },
  "luminance": 0.2797
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC5F8E

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

Preview Lab → · Contrast checker → · Palette generator →

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