#EC5E7D#EC5E7D

#EC5E7D is a light, vivid red. Relative luminance 0.273; OKLCH L 67.1% C 0.176 H 9.8°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#EC5E7D
RGBrgb(236, 94, 125)
HSLhsl(347, 79%, 65%)
HSVhsv(347, 60%, 93%)
CMYKcmyk(0%, 60.2%, 47%, 7.5%)
CIE-LABlab(59.27, 57.29, 11.64)
CIE-LCHlch(59.27, 58.46, 11.48°)
OKLaboklab(67.13% 0.1738 0.0301)
OKLCHoklch(67.13% 0.176 9.8)
XYZxyz(42.2996, 27.3240, 22.4446)
Luminance0.2732 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5E7D #5EECCD
analogous
#EC5EC4 #EC5E7D #EC865E
triadic
#EC5E7D #7DEC5E #5E7DEC
tetradic
#EC5E7D #C4EC5E #5EECCD #865EEC
square
#EC5E7D #C4EC5E #5EECCD #865EEC
split-complementary
#EC5E7D #5EEC86 #5EC4EC
monochromatic
#BA163A #E62751 #EC5E7D #F295A9 #F9CBD5

Accessibility & contrast

On white

3.25
#EC5E7D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#EC5E7D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5E7D
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5E7D#FFFFFF#000000##000000
##EC5E7D1.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D7D7E
Deuteranopia (green-blind)
#A1997A
Tritanopia (blue-blind)
#FF4A6A
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ec5e7d;
/* rgb */ color: rgb(236, 94, 125);
/* oklch */ color: oklch(67.1% 0.176 9.8);
Tailwind
colors: {
  custom: {
    50: '#f792a2',
    500: '#ec5e7d',
    950: '#000000',
  },
}
SCSS
$custom: #ec5e7d;
$custom-light: #f792a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5e7d",
  "rgb": {
    "r": 236,
    "g": 94,
    "b": 125
  },
  "hsl": {
    "h": 346.901,
    "s": 78.889,
    "l": 64.706
  },
  "oklch": {
    "l": 0.67132,
    "c": 0.17642,
    "h": 9.8
  },
  "luminance": 0.27319
}

Semantic roles & 50–950 ramp

primary
#EC5E7D
secondary
#BBEBE1
accent
#DBAE0A
background
#FFF9F9
surface
#FFF2F2
border
#D7CCCC
text
#180D0F
muted
#867E7E

Preview Lab

Preview with #EC5E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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