#EC5678#EC5678

#EC5678 is a light, vivid red. Relative luminance 0.258; OKLCH L 66.1% C 0.186 H 10.1°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#EC5678
RGBrgb(236, 86, 120)
HSLhsl(346, 80%, 63%)
HSVhsv(346, 64%, 93%)
CMYKcmyk(0%, 63.6%, 49.2%, 7.5%)
CIE-LABlab(57.89, 60.24, 12.63)
CIE-LCHlch(57.89, 61.55, 11.84°)
OKLaboklab(66.06% 0.1828 0.0324)
OKLCHoklch(66.06% 0.186 10.1)
XYZxyz(41.3134, 25.8497, 20.5796)
Luminance0.2585 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5678 #56ECCA
analogous
#EC56C3 #EC5678 #EC7F56
triadic
#EC5678 #78EC56 #5678EC
tetradic
#EC5678 #C3EC56 #56ECCA #7F56EC
square
#EC5678 #C3EC56 #56ECCA #7F56EC
split-complementary
#EC5678 #56EC7F #56C3EC
monochromatic
#B31438 #E61F4C #EC5678 #F28DA4 #F8C4D0

Accessibility & contrast

On white

3.40
#EC5678 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#EC5678 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5678
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5678#FFFFFF#000000##000000
##EC56781.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#787879
Deuteranopia (green-blind)
#9F9674
Tritanopia (blue-blind)
#FF3E63
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ec5678;
/* rgb */ color: rgb(236, 86, 120);
/* oklch */ color: oklch(66.1% 0.186 10.1);
Tailwind
colors: {
  custom: {
    50: '#f88d9e',
    500: '#ec5678',
    950: '#000000',
  },
}
SCSS
$custom: #ec5678;
$custom-light: #f88d9e;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5678",
  "rgb": {
    "r": 236,
    "g": 86,
    "b": 120
  },
  "hsl": {
    "h": 346.4,
    "s": 79.787,
    "l": 63.137
  },
  "oklch": {
    "l": 0.66064,
    "c": 0.18561,
    "h": 10.1
  },
  "luminance": 0.25845
}

Semantic roles & 50–950 ramp

primary
#EC5678
secondary
#B4EADE
accent
#DCAC09
background
#FFF9F9
surface
#FFF1F2
border
#D7CBCC
text
#180D0E
muted
#867E7E

Preview Lab

Preview with #EC5678

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

Preview Lab → · Contrast checker → · Palette generator →

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