#EC7982#EC7982

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

Color values

HEX#EC7982
RGBrgb(236, 121, 130)
HSLhsl(355, 75%, 70%)
HSVhsv(355, 49%, 93%)
CMYKcmyk(0%, 48.7%, 44.9%, 7.5%)
CIE-LABlab(64.26, 45.07, 15.73)
CIE-LCHlch(64.26, 47.74, 19.24°)
OKLaboklab(70.93% 0.136 0.0402)
OKLCHoklch(70.93% 0.142 16.5)
XYZxyz(45.4616, 33.1240, 25.1141)
Luminance0.3312 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7982 #79ECE3
analogous
#EC79BC #EC7982 #ECA979
triadic
#EC7982 #82EC79 #7982EC
tetradic
#EC7982 #BCEC79 #79ECE3 #A979EC
square
#EC7982 #BCEC79 #79ECE3 #A979EC
split-complementary
#EC7982 #79ECA9 #79BCEC
monochromatic
#CD1D2B #E44350 #EC7982 #F4AFB4 #FBE4E6

Accessibility & contrast

On white

2.75
#EC7982 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##EC7982#FFFFFF#000000##000000
##EC79821.002.757.627.62
#FFFFFF2.751.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#918E82
Deuteranopia (green-blind)
#AEA580
Tritanopia (blue-blind)
#FF6A7D
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ec7982;
/* rgb */ color: rgb(236, 121, 130);
/* oklch */ color: oklch(70.9% 0.142 16.5);
Tailwind
colors: {
  custom: {
    50: '#f6a2a6',
    500: '#ec7982',
    950: '#000000',
  },
}
SCSS
$custom: #ec7982;
$custom-light: #f6a2a6;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7982",
  "rgb": {
    "r": 236,
    "g": 121,
    "b": 130
  },
  "hsl": {
    "h": 355.304,
    "s": 75.163,
    "l": 70
  },
  "oklch": {
    "l": 0.70927,
    "c": 0.1418,
    "h": 16.5
  },
  "luminance": 0.33119
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC7982

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

Preview Lab → · Contrast checker → · Palette generator →

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