#EC5895#EC5895

#EC5895 is a light, vivid pink. Relative luminance 0.270; OKLCH L 67.1% C 0.190 H 358.0°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#EC5895
RGBrgb(236, 88, 149)
HSLhsl(335, 80%, 64%)
HSVhsv(335, 63%, 93%)
CMYKcmyk(0%, 62.7%, 36.9%, 7.5%)
CIE-LABlab(58.96, 62.23, -2.81)
CIE-LCHlch(58.96, 62.30, 357.41°)
OKLaboklab(67.11% 0.1902 -0.0066)
OKLCHoklch(67.11% 0.19 358)
XYZxyz(43.5092, 26.9871, 31.3457)
Luminance0.2698 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5895 #58ECAF
analogous
#EC58DF #EC5895 #EC6558
triadic
#EC5895 #95EC58 #5895EC
tetradic
#EC5895 #DFEC58 #58ECAF #6558EC
square
#EC5895 #DFEC58 #58ECAF #6558EC
split-complementary
#EC5895 #58EC65 #58DFEC
monochromatic
#B51557 #E62172 #EC5895 #F28FB8 #F9C6DB

Accessibility & contrast

On white

3.28
#EC5895 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#EC5895 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5895
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5895#FFFFFF#000000##000000
##EC58951.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#727C97
Deuteranopia (green-blind)
#9A9892
Tritanopia (blue-blind)
#FE4B70
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ec5895;
/* rgb */ color: rgb(236, 88, 149);
/* oklch */ color: oklch(67.1% 0.190 358.0);
Tailwind
colors: {
  custom: {
    50: '#f78fb4',
    500: '#ec5895',
    950: '#000000',
  },
}
SCSS
$custom: #ec5895;
$custom-light: #f78fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5895",
  "rgb": {
    "r": 236,
    "g": 88,
    "b": 149
  },
  "hsl": {
    "h": 335.27,
    "s": 79.57,
    "l": 63.529
  },
  "oklch": {
    "l": 0.67109,
    "c": 0.1903,
    "h": 358
  },
  "luminance": 0.26982
}

Semantic roles & 50–950 ramp

primary
#EC5895
secondary
#B6EAD5
accent
#DC850A
background
#FFF9FB
surface
#FFF1F6
border
#D7CBD0
text
#180D11
muted
#867E80

Preview Lab

Preview with #EC5895

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

Preview Lab → · Contrast checker → · Palette generator →

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