#EC7E8A#EC7E8A

#EC7E8A is a light, vivid red. Relative luminance 0.346; OKLCH L 71.9% C 0.135 H 14.2°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#EC7E8A
RGBrgb(236, 126, 138)
HSLhsl(353, 74%, 71%)
HSVhsv(353, 47%, 93%)
CMYKcmyk(0%, 46.6%, 41.5%, 7.5%)
CIE-LABlab(65.43, 43.39, 12.82)
CIE-LCHlch(65.43, 45.24, 16.46°)
OKLaboklab(71.87% 0.1313 0.0332)
OKLCHoklch(71.87% 0.135 14.2)
XYZxyz(46.6430, 34.5940, 28.2607)
Luminance0.3459 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7E8A #7EECE0
analogous
#EC7EC1 #EC7E8A #ECA97E
triadic
#EC7E8A #8AEC7E #7E8AEC
tetradic
#EC7E8A #C1EC7E #7EECE0 #A97EEC
square
#EC7E8A #C1EC7E #7EECE0 #A97EEC
split-complementary
#EC7E8A #7EECA9 #7EC1EC
monochromatic
#D11F32 #E4495A #EC7E8A #F4B3BA #FBE4E7

Accessibility & contrast

On white

2.65
#EC7E8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#EC7E8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7E8A
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7E8A#FFFFFF#000000##000000
##EC7E8A1.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#94928A
Deuteranopia (green-blind)
#AFA788
Tritanopia (blue-blind)
#FE7183
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #ec7e8a;
/* rgb */ color: rgb(236, 126, 138);
/* oklch */ color: oklch(71.9% 0.135 14.2);
Tailwind
colors: {
  custom: {
    50: '#f6a5ac',
    500: '#ec7e8a',
    950: '#000000',
  },
}
SCSS
$custom: #ec7e8a;
$custom-light: #f6a5ac;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7e8a",
  "rgb": {
    "r": 236,
    "g": 126,
    "b": 138
  },
  "hsl": {
    "h": 353.455,
    "s": 74.324,
    "l": 70.98
  },
  "oklch": {
    "l": 0.71872,
    "c": 0.13539,
    "h": 14.2
  },
  "luminance": 0.3459
}

Semantic roles & 50–950 ramp

primary
#EC7E8A
secondary
#D4F2EE
accent
#D6C10F
background
#FFFAFA
surface
#FFF4F4
border
#D7CECE
text
#180F10
muted
#867F7F

Preview Lab

Preview with #EC7E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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