#EC5C7F#EC5C7F

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

Color values

HEX#EC5C7F
RGBrgb(236, 92, 127)
HSLhsl(345, 79%, 64%)
HSVhsv(345, 61%, 93%)
CMYKcmyk(0%, 61%, 46.2%, 7.5%)
CIE-LABlab(59.00, 58.34, 10.08)
CIE-LCHlch(59.00, 59.20, 9.80°)
OKLaboklab(66.94% 0.1773 0.0263)
OKLCHoklch(66.94% 0.179 8.4)
XYZxyz(42.2531, 27.0245, 23.0657)
Luminance0.2702 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5C7F #5CECC9
analogous
#EC5CC7 #EC5C7F #EC815C
triadic
#EC5C7F #7FEC5C #5C7FEC
tetradic
#EC5C7F #C7EC5C #5CECC9 #815CEC
square
#EC5C7F #C7EC5C #5CECC9 #815CEC
split-complementary
#EC5C7F #5CEC81 #5CC7EC
monochromatic
#B8153D #E62554 #EC5C7F #F293AA #F9CAD5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EC5C7F#FFFFFF#000000##000000
##EC5C7F1.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)
#7B7C80
Deuteranopia (green-blind)
#A0997C
Tritanopia (blue-blind)
#FF4869
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ec5c7f;
/* rgb */ color: rgb(236, 92, 127);
/* oklch */ color: oklch(66.9% 0.179 8.4);
Tailwind
colors: {
  custom: {
    50: '#f791a3',
    500: '#ec5c7f',
    950: '#000000',
  },
}
SCSS
$custom: #ec5c7f;
$custom-light: #f791a3;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5c7f",
  "rgb": {
    "r": 236,
    "g": 92,
    "b": 127
  },
  "hsl": {
    "h": 345.417,
    "s": 79.121,
    "l": 64.314
  },
  "oklch": {
    "l": 0.66942,
    "c": 0.17924,
    "h": 8.4
  },
  "luminance": 0.27019
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC5C7F

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

Preview Lab → · Contrast checker → · Palette generator →

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