#EC7981#EC7981

#EC7981 is a light, vivid red. Relative luminance 0.331; OKLCH L 70.9% C 0.142 H 17.0°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#EC7981
RGBrgb(236, 121, 129)
HSLhsl(356, 75%, 70%)
HSVhsv(356, 49%, 93%)
CMYKcmyk(0%, 48.7%, 45.3%, 7.5%)
CIE-LABlab(64.24, 44.97, 16.27)
CIE-LCHlch(64.24, 47.82, 19.88°)
OKLaboklab(70.9% 0.1356 0.0415)
OKLCHoklch(70.9% 0.142 17)
XYZxyz(45.3948, 33.0972, 24.7624)
Luminance0.3309 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7981 #79ECE4
analogous
#EC79BB #EC7981 #ECAA79
triadic
#EC7981 #81EC79 #7981EC
tetradic
#EC7981 #BBEC79 #79ECE4 #AA79EC
square
#EC7981 #BBEC79 #79ECE4 #AA79EC
split-complementary
#EC7981 #79ECAA #79BBEC
monochromatic
#CD1D29 #E4434F #EC7981 #F4AFB3 #FBE4E6

Accessibility & contrast

On white

2.76
#EC7981 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#EC7981 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7981
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7981#FFFFFF#000000##000000
##EC79811.002.767.627.62
#FFFFFF2.761.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#918D81
Deuteranopia (green-blind)
#AEA57F
Tritanopia (blue-blind)
#FF6A7C
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ec7981;
/* rgb */ color: rgb(236, 121, 129);
/* oklch */ color: oklch(70.9% 0.142 17.0);
Tailwind
colors: {
  custom: {
    50: '#f6a2a5',
    500: '#ec7981',
    950: '#000000',
  },
}
SCSS
$custom: #ec7981;
$custom-light: #f6a2a5;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7981",
  "rgb": {
    "r": 236,
    "g": 121,
    "b": 129
  },
  "hsl": {
    "h": 355.826,
    "s": 75.163,
    "l": 70
  },
  "oklch": {
    "l": 0.70903,
    "c": 0.1418,
    "h": 17
  },
  "luminance": 0.33093
}

Semantic roles & 50–950 ramp

primary
#EC7981
secondary
#D0F0EE
accent
#D7C90E
background
#FFFAFA
surface
#FFF4F4
border
#D7CECE
text
#180F0F
muted
#867F7F

Preview Lab

Preview with #EC7981

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

Preview Lab → · Contrast checker → · Palette generator →

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