#EC5181#EC5181

#EC5181 is a light, vivid pink. Relative luminance 0.253; OKLCH L 65.7% C 0.193 H 5.2°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#EC5181
RGBrgb(236, 81, 129)
HSLhsl(341, 80%, 62%)
HSVhsv(341, 66%, 93%)
CMYKcmyk(0%, 65.7%, 45.3%, 7.5%)
CIE-LABlab(57.37, 63.05, 6.60)
CIE-LCHlch(57.37, 63.40, 5.98°)
OKLaboklab(65.75% 0.1924 0.0176)
OKLCHoklch(65.75% 0.193 5.2)
XYZxyz(41.5001, 25.3079, 23.4641)
Luminance0.2530 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5181 #51ECBC
analogous
#EC51CF #EC5181 #EC6E51
triadic
#EC5181 #81EC51 #5181EC
tetradic
#EC5181 #CFEC51 #51ECBC #6E51EC
square
#EC5181 #CFEC51 #51ECBC #6E51EC
split-complementary
#EC5181 #51EC6E #51CFEC
monochromatic
#AF1344 #E61A59 #EC5181 #F288A9 #F8BFD1

Accessibility & contrast

On white

3.47
#EC5181 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#EC5181 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5181
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5181#FFFFFF#000000##000000
##EC51811.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#727682
Deuteranopia (green-blind)
#9B957D
Tritanopia (blue-blind)
#FF3B64
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ec5181;
/* rgb */ color: rgb(236, 81, 129);
/* oklch */ color: oklch(65.7% 0.193 5.2);
Tailwind
colors: {
  custom: {
    50: '#f88ba5',
    500: '#ec5181',
    950: '#000000',
  },
}
SCSS
$custom: #ec5181;
$custom-light: #f88ba5;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5181",
  "rgb": {
    "r": 236,
    "g": 81,
    "b": 129
  },
  "hsl": {
    "h": 341.419,
    "s": 80.311,
    "l": 62.157
  },
  "oklch": {
    "l": 0.65749,
    "c": 0.1932,
    "h": 5.2
  },
  "luminance": 0.25303
}

Semantic roles & 50–950 ramp

primary
#EC5181
secondary
#B0E9D7
accent
#DD9B09
background
#FFF8FA
surface
#FFF0F4
border
#D7CBCE
text
#180D0F
muted
#867D7F

Preview Lab

Preview with #EC5181

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

Preview Lab → · Contrast checker → · Palette generator →

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