#EC2E89#EC2E89

#EC2E89 is a light, highly saturated pink. Relative luminance 0.216; OKLCH L 63.0% C 0.231 H 357.9°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#EC2E89
RGBrgb(236, 46, 137)
HSLhsl(331, 83%, 55%)
HSVhsv(331, 81%, 93%)
CMYKcmyk(0%, 80.5%, 41.9%, 7.5%)
CIE-LABlab(53.60, 74.97, -3.64)
CIE-LCHlch(53.60, 75.06, 357.22°)
OKLaboklab(63.04% 0.2308 -0.0086)
OKLCHoklch(63.04% 0.231 357.9)
XYZxyz(40.0875, 21.5984, 25.7200)
Luminance0.2159 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC2E89 #2EEC91
analogous
#EC2EE8 #EC2E89 #EC322E
triadic
#EC2E89 #89EC2E #2E89EC
tetradic
#EC2E89 #E8EC2E #2EEC91 #322EEC
square
#EC2E89 #E8EC2E #2EEC91 #322EEC
split-complementary
#EC2E89 #2EEC32 #2EE8EC
monochromatic
#920D4D #CA126B #EC2E89 #F166A9 #F69EC8

Accessibility & contrast

On white

3.95
#EC2E89 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#EC2E89 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC2E89
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC2E89#FFFFFF#000000##000000
##EC2E891.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B698B
Deuteranopia (green-blind)
#8F8D85
Tritanopia (blue-blind)
#FF0059
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ec2e89;
/* rgb */ color: rgb(236, 46, 137);
/* oklch */ color: oklch(63.0% 0.231 357.9);
Tailwind
colors: {
  custom: {
    50: '#f87cab',
    500: '#ec2e89',
    950: '#000000',
  },
}
SCSS
$custom: #ec2e89;
$custom-light: #f87cab;
$custom-dark: #000000;
JSON
{
  "hex": "#ec2e89",
  "rgb": {
    "r": 236,
    "g": 46,
    "b": 137
  },
  "hsl": {
    "h": 331.263,
    "s": 83.333,
    "l": 55.294
  },
  "oklch": {
    "l": 0.63041,
    "c": 0.23096,
    "h": 357.9
  },
  "luminance": 0.21593
}

Semantic roles & 50–950 ramp

primary
#EC2E89
secondary
#93E3BD
accent
#FA982E
background
#FFF8FA
surface
#FFEFF4
border
#D7CACE
text
#180B10
muted
#867C7F

Preview Lab

Preview with #EC2E89

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

Preview Lab → · Contrast checker → · Palette generator →

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