#EC977C#EC977C

#EC977C is a light, moderate red. Relative luminance 0.414; OKLCH L 75.6% C 0.110 H 38.4°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#EC977C
RGBrgb(236, 151, 124)
HSLhsl(14, 75%, 71%)
HSVhsv(14, 47%, 93%)
CMYKcmyk(0%, 36%, 47.5%, 7.5%)
CIE-LABlab(70.47, 29.00, 27.50)
CIE-LCHlch(70.47, 39.97, 43.48°)
OKLaboklab(75.64% 0.0861 0.0682)
OKLCHoklch(75.64% 0.11 38.4)
XYZxyz(49.2995, 41.4255, 24.4643)
Luminance0.4142 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC977C #7CD1EC
analogous
#EC7C99 #EC977C #ECCF7C
triadic
#EC977C #7CEC97 #977CEC
tetradic
#EC977C #99EC7C #7CD1EC #CF7CEC
square
#EC977C #99EC7C #7CD1EC #CF7CEC
split-complementary
#EC977C #7CECCF #7C99EC
monochromatic
#D0491E #E46D47 #EC977C #F4C1B1 #FBEAE4

Accessibility & contrast

On white

2.26
#EC977C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.28
#EC977C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC977C
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC977C#FFFFFF#000000##000000
##EC977C1.002.269.289.28
#FFFFFF2.261.0021.0021.00
#0000009.2821.001.001.00
##0000009.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#ACA27A
Deuteranopia (green-blind)
#C0B37B
Tritanopia (blue-blind)
#FE8990
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #ec977c;
/* rgb */ color: rgb(236, 151, 124);
/* oklch */ color: oklch(75.6% 0.110 38.4);
Tailwind
colors: {
  custom: {
    50: '#f5b6a2',
    500: '#ec977c',
    950: '#000000',
  },
}
SCSS
$custom: #ec977c;
$custom-light: #f5b6a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ec977c",
  "rgb": {
    "r": 236,
    "g": 151,
    "b": 124
  },
  "hsl": {
    "h": 14.464,
    "s": 74.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.75637,
    "c": 0.10988,
    "h": 38.4
  },
  "luminance": 0.41421
}

Semantic roles & 50–950 ramp

primary
#EC977C
secondary
#D3EAF1
accent
#A7D70F
background
#FFFBF9
surface
#FFF6F2
border
#D7D0CC
text
#17110F
muted
#85807E

Preview Lab

Preview with #EC977C

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

Preview Lab → · Contrast checker → · Palette generator →

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