#EC877A#EC877A

#EC877A is a light, vivid red. Relative luminance 0.366; OKLCH L 72.9% C 0.126 H 28.3°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#EC877A
RGBrgb(236, 135, 122)
HSLhsl(7, 75%, 70%)
HSVhsv(7, 48%, 93%)
CMYKcmyk(0%, 42.8%, 48.3%, 7.5%)
CIE-LABlab(66.95, 37.19, 23.91)
CIE-LCHlch(66.95, 44.21, 32.73°)
OKLaboklab(72.92% 0.1109 0.0597)
OKLCHoklch(72.92% 0.126 28.3)
XYZxyz(46.7718, 36.5704, 23.0041)
Luminance0.3657 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC877A #7ADFEC
analogous
#EC7AA6 #EC877A #ECC07A
triadic
#EC877A #7AEC87 #877AEC
tetradic
#EC877A #A6EC7A #7ADFEC #C07AEC
square
#EC877A #A6EC7A #7ADFEC #C07AEC
split-complementary
#EC877A #7AECC0 #7AA6EC
monochromatic
#CE321D #E45744 #EC877A #F4B7B0 #FBE7E4

Accessibility & contrast

On white

2.53
#EC877A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#EC877A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC877A
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC877A#FFFFFF#000000##000000
##EC877A1.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E9679
Deuteranopia (green-blind)
#B7AB78
Tritanopia (blue-blind)
#FF7884
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #ec877a;
/* rgb */ color: rgb(236, 135, 122);
/* oklch */ color: oklch(72.9% 0.126 28.3);
Tailwind
colors: {
  custom: {
    50: '#f6aba0',
    500: '#ec877a',
    950: '#000000',
  },
}
SCSS
$custom: #ec877a;
$custom-light: #f6aba0;
$custom-dark: #000000;
JSON
{
  "hex": "#ec877a",
  "rgb": {
    "r": 236,
    "g": 135,
    "b": 122
  },
  "hsl": {
    "h": 6.842,
    "s": 75,
    "l": 70.196
  },
  "oklch": {
    "l": 0.72924,
    "c": 0.12595,
    "h": 28.3
  },
  "luminance": 0.36566
}

Semantic roles & 50–950 ramp

primary
#EC877A
secondary
#D1EDF1
accent
#C0D70E
background
#FFFAF9
surface
#FFF4F2
border
#D7CECC
text
#18100E
muted
#867F7E

Preview Lab

Preview with #EC877A

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

Preview Lab → · Contrast checker → · Palette generator →

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