#EC5381#EC5381

#EC5381 is a light, vivid pink. Relative luminance 0.256; OKLCH L 66.0% C 0.191 H 5.6°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#EC5381
RGBrgb(236, 83, 129)
HSLhsl(342, 80%, 63%)
HSVhsv(342, 65%, 93%)
CMYKcmyk(0%, 64.8%, 45.3%, 7.5%)
CIE-LABlab(57.66, 62.26, 7.02)
CIE-LCHlch(57.66, 62.65, 6.43°)
OKLaboklab(65.96% 0.1899 0.0186)
OKLCHoklch(65.96% 0.191 5.6)
XYZxyz(41.6509, 25.6095, 23.5144)
Luminance0.2560 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5381 #53ECBE
analogous
#EC53CD #EC5381 #EC7253
triadic
#EC5381 #81EC53 #5381EC
tetradic
#EC5381 #CDEC53 #53ECBE #7253EC
square
#EC5381 #CDEC53 #53ECBE #7253EC
split-complementary
#EC5381 #53EC72 #53CDEC
monochromatic
#B11443 #E61C59 #EC5381 #F28AA9 #F8C1D2

Accessibility & contrast

On white

3.43
#EC5381 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#EC5381 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5381
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5381#FFFFFF#000000##000000
##EC53811.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#747782
Deuteranopia (green-blind)
#9C967D
Tritanopia (blue-blind)
#FF3D65
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ec5381;
/* rgb */ color: rgb(236, 83, 129);
/* oklch */ color: oklch(66.0% 0.191 5.6);
Tailwind
colors: {
  custom: {
    50: '#f88ca5',
    500: '#ec5381',
    950: '#000000',
  },
}
SCSS
$custom: #ec5381;
$custom-light: #f88ca5;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5381",
  "rgb": {
    "r": 236,
    "g": 83,
    "b": 129
  },
  "hsl": {
    "h": 341.961,
    "s": 80.105,
    "l": 62.549
  },
  "oklch": {
    "l": 0.65965,
    "c": 0.19079,
    "h": 5.6
  },
  "luminance": 0.25604
}

Semantic roles & 50–950 ramp

primary
#EC5381
secondary
#B2E9D8
accent
#DC9D09
background
#FFF9FA
surface
#FFF1F4
border
#D7CBCE
text
#180D0F
muted
#867E7F

Preview Lab

Preview with #EC5381

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

Preview Lab → · Contrast checker → · Palette generator →

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