#EC5D91#EC5D91

#EC5D91 is a light, vivid pink. Relative luminance 0.277; OKLCH L 67.6% C 0.182 H 0.6°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#EC5D91
RGBrgb(236, 93, 145)
HSLhsl(338, 79%, 65%)
HSVhsv(338, 61%, 93%)
CMYKcmyk(0%, 60.6%, 38.6%, 7.5%)
CIE-LABlab(59.63, 59.70, 0.49)
CIE-LCHlch(59.63, 59.70, 0.47°)
OKLaboklab(67.57% 0.1823 0.002)
OKLCHoklch(67.57% 0.182 0.6)
XYZxyz(43.6200, 27.7108, 29.8342)
Luminance0.2771 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5D91 #5DECB8
analogous
#EC5DD9 #EC5D91 #EC715D
triadic
#EC5D91 #91EC5D #5D91EC
tetradic
#EC5D91 #D9EC5D #5DECB8 #715DEC
square
#EC5D91 #D9EC5D #5DECB8 #715DEC
split-complementary
#EC5D91 #5DEC71 #5DD9EC
monochromatic
#B91651 #E6266C #EC5D91 #F294B6 #F9CBDB

Accessibility & contrast

On white

3.21
#EC5D91 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#EC5D91 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5D91
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5D91#FFFFFF#000000##000000
##EC5D911.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#777E92
Deuteranopia (green-blind)
#9D9A8E
Tritanopia (blue-blind)
#FE4F71
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ec5d91;
/* rgb */ color: rgb(236, 93, 145);
/* oklch */ color: oklch(67.6% 0.182 0.6);
Tailwind
colors: {
  custom: {
    50: '#f792b1',
    500: '#ec5d91',
    950: '#000000',
  },
}
SCSS
$custom: #ec5d91;
$custom-light: #f792b1;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5d91",
  "rgb": {
    "r": 236,
    "g": 93,
    "b": 145
  },
  "hsl": {
    "h": 338.182,
    "s": 79.006,
    "l": 64.51
  },
  "oklch": {
    "l": 0.67565,
    "c": 0.18228,
    "h": 0.6
  },
  "luminance": 0.27706
}

Semantic roles & 50–950 ramp

primary
#EC5D91
secondary
#BAEBD9
accent
#DB8F0A
background
#FFF9FA
surface
#FFF2F4
border
#D7CCCE
text
#180D10
muted
#867E7F

Preview Lab

Preview with #EC5D91

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

Preview Lab → · Contrast checker → · Palette generator →

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