#EC5C7A#EC5C7A

#EC5C7A is a light, vivid red. Relative luminance 0.269; OKLCH L 66.8% C 0.179 H 10.6°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#EC5C7A
RGBrgb(236, 92, 122)
HSLhsl(348, 79%, 64%)
HSVhsv(348, 61%, 93%)
CMYKcmyk(0%, 61%, 48.3%, 7.5%)
CIE-LABlab(58.88, 57.89, 12.83)
CIE-LCHlch(58.88, 59.29, 12.50°)
OKLaboklab(66.82% 0.1755 0.033)
OKLCHoklch(66.82% 0.179 10.6)
XYZxyz(41.9353, 26.8974, 21.3920)
Luminance0.2689 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5C7A #5CECCE
analogous
#EC5CC2 #EC5C7A #EC865C
triadic
#EC5C7A #7AEC5C #5C7AEC
tetradic
#EC5C7A #C2EC5C #5CECCE #865CEC
square
#EC5C7A #C2EC5C #5CECCE #865CEC
split-complementary
#EC5C7A #5CEC86 #5CC2EC
monochromatic
#B81537 #E6254D #EC5C7A #F293A7 #F9CAD3

Accessibility & contrast

On white

3.29
#EC5C7A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#EC5C7A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5C7A
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5C7A#FFFFFF#000000##000000
##EC5C7A1.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C7B7A
Deuteranopia (green-blind)
#A19877
Tritanopia (blue-blind)
#FF4768
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ec5c7a;
/* rgb */ color: rgb(236, 92, 122);
/* oklch */ color: oklch(66.8% 0.179 10.6);
Tailwind
colors: {
  custom: {
    50: '#f891a0',
    500: '#ec5c7a',
    950: '#000000',
  },
}
SCSS
$custom: #ec5c7a;
$custom-light: #f891a0;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5c7a",
  "rgb": {
    "r": 236,
    "g": 92,
    "b": 122
  },
  "hsl": {
    "h": 347.5,
    "s": 79.121,
    "l": 64.314
  },
  "oklch": {
    "l": 0.66815,
    "c": 0.17854,
    "h": 10.6
  },
  "luminance": 0.26892
}

Semantic roles & 50–950 ramp

primary
#EC5C7A
secondary
#B9EBE0
accent
#DBB00A
background
#FFF9F9
surface
#FFF2F2
border
#D7CCCC
text
#180D0E
muted
#867E7E

Preview Lab

Preview with #EC5C7A

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

Preview Lab → · Contrast checker → · Palette generator →

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