#EC7178#EC7178

#EC7178 is a light, vivid red. Relative luminance 0.310; OKLCH L 69.5% C 0.152 H 18.4°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#EC7178
RGBrgb(236, 113, 120)
HSLhsl(357, 76%, 68%)
HSVhsv(357, 52%, 93%)
CMYKcmyk(0%, 52.1%, 49.2%, 7.5%)
CIE-LABlab(62.51, 48.06, 19.01)
CIE-LCHlch(62.51, 51.68, 21.58°)
OKLaboklab(69.53% 0.1444 0.0479)
OKLCHoklch(69.53% 0.152 18.4)
XYZxyz(43.8905, 31.0040, 21.4387)
Luminance0.3100 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7178 #71ECE5
analogous
#EC71B5 #EC7178 #ECA771
triadic
#EC7178 #78EC71 #7178EC
tetradic
#EC7178 #B5EC71 #71ECE5 #A771EC
square
#EC7178 #B5EC71 #71ECE5 #A771EC
split-complementary
#EC7178 #71ECA7 #71B5EC
monochromatic
#C81B25 #E53B45 #EC7178 #F3A7AB #FADDDF

Accessibility & contrast

On white

2.92
#EC7178 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#EC7178 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7178
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7178#FFFFFF#000000##000000
##EC71781.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C8878
Deuteranopia (green-blind)
#ABA175
Tritanopia (blue-blind)
#FF5F74
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ec7178;
/* rgb */ color: rgb(236, 113, 120);
/* oklch */ color: oklch(69.5% 0.152 18.4);
Tailwind
colors: {
  custom: {
    50: '#f79d9e',
    500: '#ec7178',
    950: '#000000',
  },
}
SCSS
$custom: #ec7178;
$custom-light: #f79d9e;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7178",
  "rgb": {
    "r": 236,
    "g": 113,
    "b": 120
  },
  "hsl": {
    "h": 356.585,
    "s": 76.398,
    "l": 68.431
  },
  "oklch": {
    "l": 0.69532,
    "c": 0.15212,
    "h": 18.4
  },
  "luminance": 0.30999
}

Semantic roles & 50–950 ramp

primary
#EC7178
secondary
#CAEFED
accent
#D9CD0D
background
#FFF9F9
surface
#FFF2F2
border
#D7CCCC
text
#180E0E
muted
#867E7E

Preview Lab

Preview with #EC7178

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

Preview Lab → · Contrast checker → · Palette generator →

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