#EC7C93#EC7C93

#EC7C93 is a light, vivid red. Relative luminance 0.344; OKLCH L 71.8% C 0.139 H 8.2°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#EC7C93
RGBrgb(236, 124, 147)
HSLhsl(348, 75%, 71%)
HSVhsv(348, 47%, 93%)
CMYKcmyk(0%, 47.5%, 37.7%, 7.5%)
CIE-LABlab(65.25, 45.38, 7.45)
CIE-LCHlch(65.25, 45.99, 9.33°)
OKLaboklab(71.8% 0.1377 0.0198)
OKLCHoklch(71.8% 0.139 8.2)
XYZxyz(47.0686, 34.3592, 31.7512)
Luminance0.3436 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7C93 #7CECD5
analogous
#EC7CCB #EC7C93 #EC9D7C
triadic
#EC7C93 #93EC7C #7C93EC
tetradic
#EC7C93 #CBEC7C #7CECD5 #9D7CEC
square
#EC7C93 #CBEC7C #7CECD5 #9D7CEC
split-complementary
#EC7C93 #7CEC9D #7CCBEC
monochromatic
#D01E43 #E44767 #EC7C93 #F4B1BF #FBE4E9

Accessibility & contrast

On white

2.67
#EC7C93 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#EC7C93 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7C93
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7C93#FFFFFF#000000##000000
##EC7C931.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#909194
Deuteranopia (green-blind)
#ACA791
Tritanopia (blue-blind)
#FD7184
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ec7c93;
/* rgb */ color: rgb(236, 124, 147);
/* oklch */ color: oklch(71.8% 0.139 8.2);
Tailwind
colors: {
  custom: {
    50: '#f5a4b2',
    500: '#ec7c93',
    950: '#000000',
  },
}
SCSS
$custom: #ec7c93;
$custom-light: #f5a4b2;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7c93",
  "rgb": {
    "r": 236,
    "g": 124,
    "b": 147
  },
  "hsl": {
    "h": 347.679,
    "s": 74.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.71803,
    "c": 0.13914,
    "h": 8.2
  },
  "luminance": 0.34355
}

Semantic roles & 50–950 ramp

primary
#EC7C93
secondary
#D3F1EB
accent
#D7AE0F
background
#FFFAFA
surface
#FFF4F5
border
#D7CECF
text
#180F10
muted
#867F7F

Preview Lab

Preview with #EC7C93

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

Preview Lab → · Contrast checker → · Palette generator →

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