#EC7974#EC7974

#EC7974 is a light, vivid red. Relative luminance 0.328; OKLCH L 70.6% C 0.143 H 23.9°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#EC7974
RGBrgb(236, 121, 116)
HSLhsl(3, 76%, 69%)
HSVhsv(3, 51%, 93%)
CMYKcmyk(0%, 48.7%, 50.8%, 7.5%)
CIE-LABlab(63.98, 43.77, 23.27)
CIE-LCHlch(63.98, 49.57, 27.99°)
OKLaboklab(70.62% 0.1306 0.0579)
OKLCHoklch(70.62% 0.143 23.9)
XYZxyz(44.5850, 32.7733, 20.4975)
Luminance0.3277 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7974 #74E7EC
analogous
#EC74AB #EC7974 #ECB574
triadic
#EC7974 #74EC79 #7974EC
tetradic
#EC7974 #ABEC74 #74E7EC #B574EC
square
#EC7974 #ABEC74 #74E7EC #B574EC
split-complementary
#EC7974 #74ECB5 #74ABEC
monochromatic
#CA231C #E5453E #EC7974 #F3ADAA #FBE1E0

Accessibility & contrast

On white

2.78
#EC7974 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#EC7974 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7974
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7974#FFFFFF#000000##000000
##EC79741.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#938C73
Deuteranopia (green-blind)
#B0A472
Tritanopia (blue-blind)
#FF6878
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ec7974;
/* rgb */ color: rgb(236, 121, 116);
/* oklch */ color: oklch(70.6% 0.143 23.9);
Tailwind
colors: {
  custom: {
    50: '#f7a29c',
    500: '#ec7974',
    950: '#000000',
  },
}
SCSS
$custom: #ec7974;
$custom-light: #f7a29c;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7974",
  "rgb": {
    "r": 236,
    "g": 121,
    "b": 116
  },
  "hsl": {
    "h": 2.5,
    "s": 75.949,
    "l": 69.02
  },
  "oklch": {
    "l": 0.70618,
    "c": 0.14284,
    "h": 23.9
  },
  "luminance": 0.32769
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC7974

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

Preview Lab → · Contrast checker → · Palette generator →

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