#EC7A97#EC7A97

#EC7A97 is a light, vivid pink. Relative luminance 0.340; OKLCH L 71.6% C 0.143 H 5.2°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#EC7A97
RGBrgb(236, 122, 151)
HSLhsl(345, 75%, 70%)
HSVhsv(345, 48%, 93%)
CMYKcmyk(0%, 48.3%, 36%, 7.5%)
CIE-LABlab(64.96, 46.83, 4.76)
CIE-LCHlch(64.96, 47.08, 5.80°)
OKLaboklab(71.61% 0.1423 0.0129)
OKLCHoklch(71.61% 0.143 5.2)
XYZxyz(47.1399, 33.9907, 33.3504)
Luminance0.3399 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7A97 #7AECCF
analogous
#EC7AD0 #EC7A97 #EC967A
triadic
#EC7A97 #97EC7A #7A97EC
tetradic
#EC7A97 #D0EC7A #7AECCF #967AEC
square
#EC7A97 #D0EC7A #7AECCF #967AEC
split-complementary
#EC7A97 #7AEC96 #7AD0EC
monochromatic
#CE1D4A #E4446D #EC7A97 #F4B0C1 #FBE4EA

Accessibility & contrast

On white

2.69
#EC7A97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#EC7A97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7A97
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7A97#FFFFFF#000000##000000
##EC7A971.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E9098
Deuteranopia (green-blind)
#ABA694
Tritanopia (blue-blind)
#FD7084
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ec7a97;
/* rgb */ color: rgb(236, 122, 151);
/* oklch */ color: oklch(71.6% 0.143 5.2);
Tailwind
colors: {
  custom: {
    50: '#f5a3b5',
    500: '#ec7a97',
    950: '#000000',
  },
}
SCSS
$custom: #ec7a97;
$custom-light: #f5a3b5;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7a97",
  "rgb": {
    "r": 236,
    "g": 122,
    "b": 151
  },
  "hsl": {
    "h": 344.737,
    "s": 75,
    "l": 70.196
  },
  "oklch": {
    "l": 0.71615,
    "c": 0.14285,
    "h": 5.2
  },
  "luminance": 0.33986
}

Semantic roles & 50–950 ramp

primary
#EC7A97
secondary
#D1F1E9
accent
#D7A40E
background
#FFFAFB
surface
#FFF4F6
border
#D7CED0
text
#170F11
muted
#857F80

Preview Lab

Preview with #EC7A97

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

Preview Lab → · Contrast checker → · Palette generator →

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