#EC5A7C#EC5A7C

#EC5A7C is a light, vivid red. Relative luminance 0.266; OKLCH L 66.6% C 0.181 H 9.3°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#EC5A7C
RGBrgb(236, 90, 124)
HSLhsl(346, 79%, 64%)
HSVhsv(346, 62%, 93%)
CMYKcmyk(0%, 61.9%, 47.5%, 7.5%)
CIE-LABlab(58.61, 58.92, 11.28)
CIE-LCHlch(58.61, 59.99, 10.84°)
OKLaboklab(66.63% 0.1789 0.0292)
OKLCHoklch(66.63% 0.181 9.3)
XYZxyz(41.8896, 26.6056, 21.9943)
Luminance0.2660 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5A7C #5AECCA
analogous
#EC5AC5 #EC5A7C #EC815A
triadic
#EC5A7C #7CEC5A #5A7CEC
tetradic
#EC5A7C #C5EC5A #5AECCA #815AEC
square
#EC5A7C #C5EC5A #5AECCA #815AEC
split-complementary
#EC5A7C #5AEC81 #5AC5EC
monochromatic
#B7153B #E62350 #EC5A7C #F291A8 #F9C8D3

Accessibility & contrast

On white

3.32
#EC5A7C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#EC5A7C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5A7C
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5A7C#FFFFFF#000000##000000
##EC5A7C1.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A7B7D
Deuteranopia (green-blind)
#A09879
Tritanopia (blue-blind)
#FF4567
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ec5a7c;
/* rgb */ color: rgb(236, 90, 124);
/* oklch */ color: oklch(66.6% 0.181 9.3);
Tailwind
colors: {
  custom: {
    50: '#f88fa1',
    500: '#ec5a7c',
    950: '#000000',
  },
}
SCSS
$custom: #ec5a7c;
$custom-light: #f88fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5a7c",
  "rgb": {
    "r": 236,
    "g": 90,
    "b": 124
  },
  "hsl": {
    "h": 346.027,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.66627,
    "c": 0.18129,
    "h": 9.3
  },
  "luminance": 0.266
}

Semantic roles & 50–950 ramp

primary
#EC5A7C
secondary
#B7EBDF
accent
#DCAB0A
background
#FFF9F9
surface
#FFF1F2
border
#D7CBCC
text
#180D0F
muted
#867E7E

Preview Lab

Preview with #EC5A7C

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

Preview Lab → · Contrast checker → · Palette generator →

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