#EC5286#EC5286

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

Color values

HEX#EC5286
RGBrgb(236, 82, 134)
HSLhsl(340, 80%, 62%)
HSVhsv(340, 65%, 93%)
CMYKcmyk(0%, 65.3%, 43.2%, 7.5%)
CIE-LABlab(57.65, 63.13, 4.05)
CIE-LCHlch(57.65, 63.26, 3.67°)
OKLaboklab(66% 0.1929 0.0112)
OKLCHoklch(66% 0.193 3.3)
XYZxyz(41.9155, 25.5938, 25.2824)
Luminance0.2559 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5286 #52ECB8
analogous
#EC52D3 #EC5286 #EC6B52
triadic
#EC5286 #86EC52 #5286EC
tetradic
#EC5286 #D3EC52 #52ECB8 #6B52EC
square
#EC5286 #D3EC52 #52ECB8 #6B52EC
split-complementary
#EC5286 #52EC6B #52D3EC
monochromatic
#B01348 #E61B5F #EC5286 #F289AD #F8C0D3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EC5286#FFFFFF#000000##000000
##EC52861.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)
#727787
Deuteranopia (green-blind)
#9B9682
Tritanopia (blue-blind)
#FF3E67
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ec5286;
/* rgb */ color: rgb(236, 82, 134);
/* oklch */ color: oklch(66.0% 0.193 3.3);
Tailwind
colors: {
  custom: {
    50: '#f78ba9',
    500: '#ec5286',
    950: '#000000',
  },
}
SCSS
$custom: #ec5286;
$custom-light: #f78ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5286",
  "rgb": {
    "r": 236,
    "g": 82,
    "b": 134
  },
  "hsl": {
    "h": 339.74,
    "s": 80.208,
    "l": 62.353
  },
  "oklch": {
    "l": 0.65996,
    "c": 0.19321,
    "h": 3.3
  },
  "luminance": 0.25589
}

Semantic roles & 50–950 ramp

primary
#EC5286
secondary
#B1E9D6
accent
#DD9509
background
#FFF9FA
surface
#FFF1F4
border
#D7CBCE
text
#180D0F
muted
#867E7F

Preview Lab

Preview with #EC5286

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

Preview Lab → · Contrast checker → · Palette generator →

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