#EC7874#EC7874

#EC7874 is a light, vivid red. Relative luminance 0.325; OKLCH L 70.5% C 0.144 H 23.4°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#EC7874
RGBrgb(236, 120, 116)
HSLhsl(2, 76%, 69%)
HSVhsv(2, 51%, 93%)
CMYKcmyk(0%, 49.2%, 50.8%, 7.5%)
CIE-LABlab(63.78, 44.27, 23.00)
CIE-LCHlch(63.78, 49.89, 27.46°)
OKLaboklab(70.47% 0.1321 0.0573)
OKLCHoklch(70.47% 0.144 23.4)
XYZxyz(44.4641, 32.5315, 20.4572)
Luminance0.3253 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7874 #74E8EC
analogous
#EC74AC #EC7874 #ECB474
triadic
#EC7874 #74EC78 #7874EC
tetradic
#EC7874 #ACEC74 #74E8EC #B474EC
square
#EC7874 #ACEC74 #74E8EC #B474EC
split-complementary
#EC7874 #74ECB4 #74ACEC
monochromatic
#CA211C #E5443E #EC7874 #F3ACAA #FBE1E0

Accessibility & contrast

On white

2.80
#EC7874 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#EC7874 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7874
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7874#FFFFFF#000000##000000
##EC78741.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#938C73
Deuteranopia (green-blind)
#AFA472
Tritanopia (blue-blind)
#FF6778
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ec7874;
/* rgb */ color: rgb(236, 120, 116);
/* oklch */ color: oklch(70.5% 0.144 23.4);
Tailwind
colors: {
  custom: {
    50: '#f7a19c',
    500: '#ec7874',
    950: '#000000',
  },
}
SCSS
$custom: #ec7874;
$custom-light: #f7a19c;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7874",
  "rgb": {
    "r": 236,
    "g": 120,
    "b": 116
  },
  "hsl": {
    "h": 2,
    "s": 75.949,
    "l": 69.02
  },
  "oklch": {
    "l": 0.70468,
    "c": 0.14401,
    "h": 23.4
  },
  "luminance": 0.32527
}

Semantic roles & 50–950 ramp

primary
#EC7874
secondary
#CCEEEF
accent
#D1D80D
background
#FFFAF9
surface
#FFF4F2
border
#D7CECC
text
#180F0E
muted
#867F7E

Preview Lab

Preview with #EC7874

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

Preview Lab → · Contrast checker → · Palette generator →

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