#EC7E6C#EC7E6C

#EC7E6C is a light, vivid red. Relative luminance 0.338; OKLCH L 71.2% C 0.139 H 30.6°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#EC7E6C
RGBrgb(236, 126, 108)
HSLhsl(8, 77%, 67%)
HSVhsv(8, 54%, 93%)
CMYKcmyk(0%, 46.6%, 54.2%, 7.5%)
CIE-LABlab(64.84, 40.58, 28.88)
CIE-LCHlch(64.84, 49.81, 35.44°)
OKLaboklab(71.23% 0.1197 0.0707)
OKLCHoklch(71.23% 0.139 30.6)
XYZxyz(44.7630, 33.8420, 18.3593)
Luminance0.3384 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7E6C #6CDAEC
analogous
#EC6C9A #EC7E6C #ECBE6C
triadic
#EC7E6C #6CEC7E #7E6CEC
tetradic
#EC7E6C #9AEC6C #6CDAEC #BE6CEC
square
#EC7E6C #9AEC6C #6CDAEC #BE6CEC
split-complementary
#EC7E6C #6CECBE #6C9AEC
monochromatic
#C43119 #E54E36 #EC7E6C #F3AEA2 #FADDD8

Accessibility & contrast

On white

2.70
#EC7E6C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#EC7E6C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7E6C
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7E6C#FFFFFF#000000##000000
##EC7E6C1.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#998F6A
Deuteranopia (green-blind)
#B3A66A
Tritanopia (blue-blind)
#FF6C7A
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ec7e6c;
/* rgb */ color: rgb(236, 126, 108);
/* oklch */ color: oklch(71.2% 0.139 30.6);
Tailwind
colors: {
  custom: {
    50: '#f7a596',
    500: '#ec7e6c',
    950: '#000000',
  },
}
SCSS
$custom: #ec7e6c;
$custom-light: #f7a596;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7e6c",
  "rgb": {
    "r": 236,
    "g": 126,
    "b": 108
  },
  "hsl": {
    "h": 8.438,
    "s": 77.108,
    "l": 67.451
  },
  "oklch": {
    "l": 0.71226,
    "c": 0.13899,
    "h": 30.6
  },
  "luminance": 0.33837
}

Semantic roles & 50–950 ramp

primary
#EC7E6C
secondary
#C6E8EE
accent
#BCD90C
background
#FFFAF9
surface
#FFF4F2
border
#D7CECC
text
#180F0D
muted
#867F7E

Preview Lab

Preview with #EC7E6C

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

Preview Lab → · Contrast checker → · Palette generator →

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