#EC5282#EC5282

#EC5282 is a light, vivid pink. Relative luminance 0.255; OKLCH L 65.9% C 0.192 H 5.0°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#EC5282
RGBrgb(236, 82, 130)
HSLhsl(341, 80%, 62%)
HSVhsv(341, 65%, 93%)
CMYKcmyk(0%, 65.3%, 44.9%, 7.5%)
CIE-LABlab(57.54, 62.75, 6.25)
CIE-LCHlch(57.54, 63.06, 5.69°)
OKLaboklab(65.88% 0.1915 0.0167)
OKLCHoklch(65.88% 0.192 5)
XYZxyz(41.6418, 25.4843, 23.8409)
Luminance0.2548 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5282 #52ECBC
analogous
#EC52CF #EC5282 #EC6F52
triadic
#EC5282 #82EC52 #5282EC
tetradic
#EC5282 #CFEC52 #52ECBC #6F52EC
square
#EC5282 #CFEC52 #52ECBC #6F52EC
split-complementary
#EC5282 #52EC6F #52CFEC
monochromatic
#B01344 #E61B5A #EC5282 #F289AA #F8C0D2

Accessibility & contrast

On white

3.44
#EC5282 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#EC5282 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5282
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5282#FFFFFF#000000##000000
##EC52821.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#737783
Deuteranopia (green-blind)
#9B957E
Tritanopia (blue-blind)
#FF3C65
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ec5282;
/* rgb */ color: rgb(236, 82, 130);
/* oklch */ color: oklch(65.9% 0.192 5.0);
Tailwind
colors: {
  custom: {
    50: '#f88ba6',
    500: '#ec5282',
    950: '#000000',
  },
}
SCSS
$custom: #ec5282;
$custom-light: #f88ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5282",
  "rgb": {
    "r": 236,
    "g": 82,
    "b": 130
  },
  "hsl": {
    "h": 341.299,
    "s": 80.208,
    "l": 62.353
  },
  "oklch": {
    "l": 0.65884,
    "c": 0.19223,
    "h": 5
  },
  "luminance": 0.25479
}

Semantic roles & 50–950 ramp

primary
#EC5282
secondary
#B1E9D7
accent
#DD9B09
background
#FFF9FA
surface
#FFF1F4
border
#D7CBCE
text
#180D0F
muted
#867E7F

Preview Lab

Preview with #EC5282

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

Preview Lab → · Contrast checker → · Palette generator →

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