#EC997F#EC997F

#EC997F is a light, moderate red. Relative luminance 0.421; OKLCH L 76.0% C 0.107 H 38.1°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#EC997F
RGBrgb(236, 153, 127)
HSLhsl(14, 74%, 71%)
HSVhsv(14, 46%, 93%)
CMYKcmyk(0%, 35.2%, 46.2%, 7.5%)
CIE-LABlab(70.98, 28.24, 26.54)
CIE-LCHlch(70.98, 38.75, 43.22°)
OKLaboklab(76.04% 0.0841 0.0661)
OKLCHoklch(76.04% 0.107 38.1)
XYZxyz(49.8167, 42.1517, 25.5869)
Luminance0.4215 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC997F #7FD2EC
analogous
#EC7F9B #EC997F #ECCF7F
triadic
#EC997F #7FEC99 #997FEC
tetradic
#EC997F #9BEC7F #7FD2EC #CF7FEC
square
#EC997F #9BEC7F #7FD2EC #CF7FEC
split-complementary
#EC997F #7FECCF #7F9BEC
monochromatic
#D24A1F #E46F4A #EC997F #F4C3B4 #FBEAE4

Accessibility & contrast

On white

2.23
#EC997F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.43
#EC997F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC997F
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC997F#FFFFFF#000000##000000
##EC997F1.002.239.439.43
#FFFFFF2.231.0021.0021.00
#0000009.4321.001.001.00
##0000009.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#ADA37D
Deuteranopia (green-blind)
#C1B47E
Tritanopia (blue-blind)
#FE8C92
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #ec997f;
/* rgb */ color: rgb(236, 153, 127);
/* oklch */ color: oklch(76.0% 0.107 38.1);
Tailwind
colors: {
  custom: {
    50: '#f5b7a4',
    500: '#ec997f',
    950: '#000000',
  },
}
SCSS
$custom: #ec997f;
$custom-light: #f5b7a4;
$custom-dark: #000000;
JSON
{
  "hex": "#ec997f",
  "rgb": {
    "r": 236,
    "g": 153,
    "b": 127
  },
  "hsl": {
    "h": 14.312,
    "s": 74.15,
    "l": 71.176
  },
  "oklch": {
    "l": 0.76042,
    "c": 0.10695,
    "h": 38.1
  },
  "luminance": 0.42148
}

Semantic roles & 50–950 ramp

primary
#EC997F
secondary
#D5EBF2
accent
#A7D60F
background
#FFFBFA
surface
#FFF6F4
border
#D7D0CE
text
#17110F
muted
#85807F

Preview Lab

Preview with #EC997F

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

Preview Lab → · Contrast checker → · Palette generator →

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