#EC5C7E#EC5C7E

#EC5C7E is a light, vivid red. Relative luminance 0.270; OKLCH L 66.9% C 0.179 H 8.9°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#EC5C7E
RGBrgb(236, 92, 126)
HSLhsl(346, 79%, 64%)
HSVhsv(346, 61%, 93%)
CMYKcmyk(0%, 61%, 46.6%, 7.5%)
CIE-LABlab(58.97, 58.25, 10.63)
CIE-LCHlch(58.97, 59.21, 10.34°)
OKLaboklab(66.92% 0.177 0.0276)
OKLCHoklch(66.92% 0.179 8.9)
XYZxyz(42.1883, 26.9986, 22.7242)
Luminance0.2699 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5C7E #5CECCA
analogous
#EC5CC6 #EC5C7E #EC825C
triadic
#EC5C7E #7EEC5C #5C7EEC
tetradic
#EC5C7E #C6EC5C #5CECCA #825CEC
square
#EC5C7E #C6EC5C #5CECCA #825CEC
split-complementary
#EC5C7E #5CEC82 #5CC6EC
monochromatic
#B8153C #E62553 #EC5C7E #F293A9 #F9CAD5

Accessibility & contrast

On white

3.28
#EC5C7E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#EC5C7E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5C7E
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5C7E#FFFFFF#000000##000000
##EC5C7E1.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B7C7F
Deuteranopia (green-blind)
#A0997B
Tritanopia (blue-blind)
#FF4869
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ec5c7e;
/* rgb */ color: rgb(236, 92, 126);
/* oklch */ color: oklch(66.9% 0.179 8.9);
Tailwind
colors: {
  custom: {
    50: '#f791a3',
    500: '#ec5c7e',
    950: '#000000',
  },
}
SCSS
$custom: #ec5c7e;
$custom-light: #f791a3;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5c7e",
  "rgb": {
    "r": 236,
    "g": 92,
    "b": 126
  },
  "hsl": {
    "h": 345.833,
    "s": 79.121,
    "l": 64.314
  },
  "oklch": {
    "l": 0.66916,
    "c": 0.17909,
    "h": 8.9
  },
  "luminance": 0.26994
}

Semantic roles & 50–950 ramp

primary
#EC5C7E
secondary
#B9EBDF
accent
#DBAA0A
background
#FFF9FA
surface
#FFF2F3
border
#D7CCCD
text
#180D0F
muted
#867E7F

Preview Lab

Preview with #EC5C7E

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

Preview Lab → · Contrast checker → · Palette generator →

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