#EC7E97#EC7E97

#EC7E97 is a light, vivid red. Relative luminance 0.350; OKLCH L 72.2% C 0.137 H 6.6°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#EC7E97
RGBrgb(236, 126, 151)
HSLhsl(346, 74%, 71%)
HSVhsv(346, 47%, 93%)
CMYKcmyk(0%, 46.6%, 36%, 7.5%)
CIE-LABlab(65.74, 44.83, 5.90)
CIE-LCHlch(65.74, 45.22, 7.49°)
OKLaboklab(72.21% 0.1361 0.0158)
OKLCHoklch(72.21% 0.137 6.6)
XYZxyz(47.6411, 34.9933, 33.5175)
Luminance0.3499 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7E97 #7EECD3
analogous
#EC7ECE #EC7E97 #EC9C7E
triadic
#EC7E97 #97EC7E #7E97EC
tetradic
#EC7E97 #CEEC7E #7EECD3 #9C7EEC
square
#EC7E97 #CEEC7E #7EECD3 #9C7EEC
split-complementary
#EC7E97 #7EEC9C #7ECEEC
monochromatic
#D11F47 #E4496C #EC7E97 #F4B3C2 #FBE4E9

Accessibility & contrast

On white

2.63
#EC7E97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.00
#EC7E97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7E97
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7E97#FFFFFF#000000##000000
##EC7E971.002.638.008.00
#FFFFFF2.631.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#919398
Deuteranopia (green-blind)
#ADA895
Tritanopia (blue-blind)
#FD7487
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #ec7e97;
/* rgb */ color: rgb(236, 126, 151);
/* oklch */ color: oklch(72.2% 0.137 6.6);
Tailwind
colors: {
  custom: {
    50: '#f5a6b5',
    500: '#ec7e97',
    950: '#000000',
  },
}
SCSS
$custom: #ec7e97;
$custom-light: #f5a6b5;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7e97",
  "rgb": {
    "r": 236,
    "g": 126,
    "b": 151
  },
  "hsl": {
    "h": 346.364,
    "s": 74.324,
    "l": 70.98
  },
  "oklch": {
    "l": 0.72212,
    "c": 0.13703,
    "h": 6.6
  },
  "luminance": 0.34989
}

Semantic roles & 50–950 ramp

primary
#EC7E97
secondary
#D4F2EB
accent
#D6A90F
background
#FFFAFB
surface
#FFF4F6
border
#D7CED0
text
#170F11
muted
#857F80

Preview Lab

Preview with #EC7E97

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

Preview Lab → · Contrast checker → · Palette generator →

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