#EC7993#EC7993

#EC7993 is a light, vivid red. Relative luminance 0.336; OKLCH L 71.4% C 0.143 H 7.1°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#EC7993
RGBrgb(236, 121, 147)
HSLhsl(346, 75%, 70%)
HSVhsv(346, 49%, 93%)
CMYKcmyk(0%, 48.7%, 37.7%, 7.5%)
CIE-LABlab(64.66, 46.87, 6.61)
CIE-LCHlch(64.66, 47.34, 8.03°)
OKLaboklab(71.36% 0.1423 0.0176)
OKLCHoklch(71.36% 0.143 7.1)
XYZxyz(46.6984, 33.6187, 31.6278)
Luminance0.3361 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7993 #79ECD2
analogous
#EC79CC #EC7993 #EC9979
triadic
#EC7993 #93EC79 #7993EC
tetradic
#EC7993 #CCEC79 #79ECD2 #9979EC
square
#EC7993 #CCEC79 #79ECD2 #9979EC
split-complementary
#EC7993 #79EC99 #79CCEC
monochromatic
#CD1D45 #E44368 #EC7993 #F4AFBE #FBE4E9

Accessibility & contrast

On white

2.72
#EC7993 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#EC7993 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7993
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7993#FFFFFF#000000##000000
##EC79931.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E8F94
Deuteranopia (green-blind)
#ABA590
Tritanopia (blue-blind)
#FD6E82
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ec7993;
/* rgb */ color: rgb(236, 121, 147);
/* oklch */ color: oklch(71.4% 0.143 7.1);
Tailwind
colors: {
  custom: {
    50: '#f5a2b2',
    500: '#ec7993',
    950: '#000000',
  },
}
SCSS
$custom: #ec7993;
$custom-light: #f5a2b2;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7993",
  "rgb": {
    "r": 236,
    "g": 121,
    "b": 147
  },
  "hsl": {
    "h": 346.435,
    "s": 75.163,
    "l": 70
  },
  "oklch": {
    "l": 0.71358,
    "c": 0.14343,
    "h": 7.1
  },
  "luminance": 0.33614
}

Semantic roles & 50–950 ramp

primary
#EC7993
secondary
#D0F0E9
accent
#D7AA0E
background
#FFFAFA
surface
#FFF4F5
border
#D7CECF
text
#180F10
muted
#867F7F

Preview Lab

Preview with #EC7993

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

Preview Lab → · Contrast checker → · Palette generator →

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