#EC5291#EC5291

#EC5291 is a light, vivid pink. Relative luminance 0.259; OKLCH L 66.3% C 0.197 H 358.7°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#EC5291
RGBrgb(236, 82, 145)
HSLhsl(335, 80%, 62%)
HSVhsv(335, 65%, 93%)
CMYKcmyk(0%, 65.3%, 38.6%, 7.5%)
CIE-LABlab(57.96, 64.23, -1.95)
CIE-LCHlch(57.96, 64.26, 358.26°)
OKLaboklab(66.33% 0.1965 -0.0043)
OKLCHoklch(66.33% 0.197 358.7)
XYZxyz(42.7230, 25.9168, 29.5352)
Luminance0.2591 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5291 #52ECAD
analogous
#EC52DE #EC5291 #EC6052
triadic
#EC5291 #91EC52 #5291EC
tetradic
#EC5291 #DEEC52 #52ECAD #6052EC
square
#EC5291 #DEEC52 #52ECAD #6052EC
split-complementary
#EC5291 #52EC60 #52DEEC
monochromatic
#B01354 #E61B6E #EC5291 #F289B4 #F8C0D7

Accessibility & contrast

On white

3.40
#EC5291 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#EC5291 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5291
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5291#FFFFFF#000000##000000
##EC52911.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F7993
Deuteranopia (green-blind)
#98968D
Tritanopia (blue-blind)
#FF426B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ec5291;
/* rgb */ color: rgb(236, 82, 145);
/* oklch */ color: oklch(66.3% 0.197 358.7);
Tailwind
colors: {
  custom: {
    50: '#f78cb1',
    500: '#ec5291',
    950: '#000000',
  },
}
SCSS
$custom: #ec5291;
$custom-light: #f78cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5291",
  "rgb": {
    "r": 236,
    "g": 82,
    "b": 145
  },
  "hsl": {
    "h": 335.455,
    "s": 80.208,
    "l": 62.353
  },
  "oklch": {
    "l": 0.66326,
    "c": 0.19658,
    "h": 358.7
  },
  "luminance": 0.25912
}

Semantic roles & 50–950 ramp

primary
#EC5291
secondary
#B1E9D2
accent
#DD8609
background
#FFF9FA
surface
#FFF1F4
border
#D7CBCE
text
#180D10
muted
#867E7F

Preview Lab

Preview with #EC5291

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

Preview Lab → · Contrast checker → · Palette generator →

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