#EC7397#EC7397

#EC7397 is a light, vivid pink. Relative luminance 0.323; OKLCH L 70.6% C 0.153 H 3.0°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#EC7397
RGBrgb(236, 115, 151)
HSLhsl(342, 76%, 69%)
HSVhsv(342, 51%, 93%)
CMYKcmyk(0%, 51.3%, 36%, 7.5%)
CIE-LABlab(63.62, 50.27, 2.83)
CIE-LCHlch(63.62, 50.35, 3.22°)
OKLaboklab(70.61% 0.1529 0.008)
OKLCHoklch(70.61% 0.153 3)
XYZxyz(46.3111, 32.3332, 33.0741)
Luminance0.3233 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7397 #73ECC8
analogous
#EC73D4 #EC7397 #EC8C73
triadic
#EC7397 #97EC73 #7397EC
tetradic
#EC7397 #D4EC73 #73ECC8 #8C73EC
square
#EC7397 #D4EC73 #73ECC8 #8C73EC
split-complementary
#EC7397 #73EC8C #73D4EC
monochromatic
#C91B4F #E53D6F #EC7397 #F3A9BF #FBDFE7

Accessibility & contrast

On white

2.81
#EC7397 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#EC7397 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7397
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7397#FFFFFF#000000##000000
##EC73971.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#888C98
Deuteranopia (green-blind)
#A7A394
Tritanopia (blue-blind)
#FD6880
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ec7397;
/* rgb */ color: rgb(236, 115, 151);
/* oklch */ color: oklch(70.6% 0.153 3.0);
Tailwind
colors: {
  custom: {
    50: '#f69fb5',
    500: '#ec7397',
    950: '#000000',
  },
}
SCSS
$custom: #ec7397;
$custom-light: #f69fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7397",
  "rgb": {
    "r": 236,
    "g": 115,
    "b": 151
  },
  "hsl": {
    "h": 342.149,
    "s": 76.101,
    "l": 68.824
  },
  "oklch": {
    "l": 0.70606,
    "c": 0.15307,
    "h": 3
  },
  "luminance": 0.32329
}

Semantic roles & 50–950 ramp

primary
#EC7397
secondary
#CCEFE5
accent
#D89C0D
background
#FFFAFB
surface
#FFF3F6
border
#D7CDD0
text
#180F11
muted
#867F80

Preview Lab

Preview with #EC7397

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

Preview Lab → · Contrast checker → · Palette generator →

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