#EC7897#EC7897

#EC7897 is a light, vivid pink. Relative luminance 0.335; OKLCH L 71.3% C 0.146 H 4.5°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#EC7897
RGBrgb(236, 120, 151)
HSLhsl(344, 75%, 70%)
HSVhsv(344, 49%, 93%)
CMYKcmyk(0%, 49.2%, 36%, 7.5%)
CIE-LABlab(64.57, 47.82, 4.20)
CIE-LCHlch(64.57, 48.01, 5.02°)
OKLaboklab(71.32% 0.1453 0.0115)
OKLCHoklch(71.32% 0.146 4.5)
XYZxyz(46.8968, 33.5046, 33.2694)
Luminance0.3350 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7897 #78ECCD
analogous
#EC78D1 #EC7897 #EC9378
triadic
#EC7897 #97EC78 #7897EC
tetradic
#EC7897 #D1EC78 #78ECCD #9378EC
square
#EC7897 #D1EC78 #78ECCD #9378EC
split-complementary
#EC7897 #78EC93 #78D1EC
monochromatic
#CD1D4C #E4426E #EC7897 #F4AEC0 #FBE3EA

Accessibility & contrast

On white

2.73
#EC7897 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#EC7897 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7897
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7897#FFFFFF#000000##000000
##EC78971.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C8F98
Deuteranopia (green-blind)
#A9A594
Tritanopia (blue-blind)
#FD6E83
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ec7897;
/* rgb */ color: rgb(236, 120, 151);
/* oklch */ color: oklch(71.3% 0.146 4.5);
Tailwind
colors: {
  custom: {
    50: '#f5a2b5',
    500: '#ec7897',
    950: '#000000',
  },
}
SCSS
$custom: #ec7897;
$custom-light: #f5a2b5;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7897",
  "rgb": {
    "r": 236,
    "g": 120,
    "b": 151
  },
  "hsl": {
    "h": 343.966,
    "s": 75.325,
    "l": 69.804
  },
  "oklch": {
    "l": 0.71323,
    "c": 0.14576,
    "h": 4.5
  },
  "luminance": 0.335
}

Semantic roles & 50–950 ramp

primary
#EC7897
secondary
#D0F0E8
accent
#D7A20E
background
#FFFAFB
surface
#FFF4F6
border
#D7CED0
text
#180F11
muted
#867F80

Preview Lab

Preview with #EC7897

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

Preview Lab → · Contrast checker → · Palette generator →

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