#EC5E7E#EC5E7E

#EC5E7E is a light, vivid red. Relative luminance 0.273; OKLCH L 67.2% C 0.177 H 9.4°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#EC5E7E
RGBrgb(236, 94, 126)
HSLhsl(346, 79%, 65%)
HSVhsv(346, 60%, 93%)
CMYKcmyk(0%, 60.2%, 46.6%, 7.5%)
CIE-LABlab(59.30, 57.38, 11.09)
CIE-LCHlch(59.30, 58.44, 10.94°)
OKLaboklab(67.16% 0.1742 0.0287)
OKLCHoklch(67.16% 0.177 9.4)
XYZxyz(42.3638, 27.3497, 22.7827)
Luminance0.2735 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5E7E #5EECCC
analogous
#EC5EC5 #EC5E7E #EC855E
triadic
#EC5E7E #7EEC5E #5E7EEC
tetradic
#EC5E7E #C5EC5E #5EECCC #855EEC
square
#EC5E7E #C5EC5E #5EECCC #855EEC
split-complementary
#EC5E7E #5EEC85 #5EC5EC
monochromatic
#BA163B #E62752 #EC5E7E #F295AA #F9CBD6

Accessibility & contrast

On white

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

On black

6.47
#EC5E7E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5E7E
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5E7E#FFFFFF#000000##000000
##EC5E7E1.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ec5e7e;
/* rgb */ color: rgb(236, 94, 126);
/* oklch */ color: oklch(67.2% 0.177 9.4);
Tailwind
colors: {
  custom: {
    50: '#f792a3',
    500: '#ec5e7e',
    950: '#000000',
  },
}
SCSS
$custom: #ec5e7e;
$custom-light: #f792a3;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5e7e",
  "rgb": {
    "r": 236,
    "g": 94,
    "b": 126
  },
  "hsl": {
    "h": 346.479,
    "s": 78.889,
    "l": 64.706
  },
  "oklch": {
    "l": 0.67158,
    "c": 0.17656,
    "h": 9.4
  },
  "luminance": 0.27345
}

Semantic roles & 50–950 ramp

primary
#EC5E7E
secondary
#BBEBE0
accent
#DBAC0A
background
#FFF9FA
surface
#FFF2F3
border
#D7CCCD
text
#180D0F
muted
#867E7F

Preview Lab

Preview with #EC5E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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