#EC7986#EC7986

#EC7986 is a light, vivid red. Relative luminance 0.332; OKLCH L 71.0% C 0.142 H 14.3°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#EC7986
RGBrgb(236, 121, 134)
HSLhsl(353, 75%, 70%)
HSVhsv(353, 49%, 93%)
CMYKcmyk(0%, 48.7%, 43.2%, 7.5%)
CIE-LABlab(64.35, 45.48, 13.58)
CIE-LCHlch(64.35, 47.46, 16.62°)
OKLaboklab(71.02% 0.1375 0.035)
OKLCHoklch(71.02% 0.142 14.3)
XYZxyz(45.7353, 33.2334, 26.5557)
Luminance0.3323 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7986 #79ECDF
analogous
#EC79C0 #EC7986 #ECA579
triadic
#EC7986 #86EC79 #7986EC
tetradic
#EC7986 #C0EC79 #79ECDF #A579EC
square
#EC7986 #C0EC79 #79ECDF #A579EC
split-complementary
#EC7986 #79ECA5 #79C0EC
monochromatic
#CD1D31 #E44356 #EC7986 #F4AFB6 #FBE4E7

Accessibility & contrast

On white

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

On black

7.65
#EC7986 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7986
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7986#FFFFFF#000000##000000
##EC79861.002.757.657.65
#FFFFFF2.751.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#908E86
Deuteranopia (green-blind)
#ADA584
Tritanopia (blue-blind)
#FF6B7E
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ec7986;
/* rgb */ color: rgb(236, 121, 134);
/* oklch */ color: oklch(71.0% 0.142 14.3);
Tailwind
colors: {
  custom: {
    50: '#f6a2a9',
    500: '#ec7986',
    950: '#000000',
  },
}
SCSS
$custom: #ec7986;
$custom-light: #f6a2a9;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7986",
  "rgb": {
    "r": 236,
    "g": 121,
    "b": 134
  },
  "hsl": {
    "h": 353.217,
    "s": 75.163,
    "l": 70
  },
  "oklch": {
    "l": 0.71022,
    "c": 0.14188,
    "h": 14.3
  },
  "luminance": 0.33229
}

Semantic roles & 50–950 ramp

primary
#EC7986
secondary
#D0F0ED
accent
#D7C10E
background
#FFFAFA
surface
#FFF4F4
border
#D7CECE
text
#180F0F
muted
#867F7F

Preview Lab

Preview with #EC7986

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

Preview Lab → · Contrast checker → · Palette generator →

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