#EC97BE#EC97BE

#EC97BE is a light, moderate pink. Relative luminance 0.437; OKLCH L 77.3% C 0.112 H 351.0°. Best body text is #000000 at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#EC97BE
RGBrgb(236, 151, 190)
HSLhsl(332, 69%, 76%)
HSVhsv(332, 36%, 93%)
CMYKcmyk(0%, 36%, 19.5%, 7.5%)
CIE-LABlab(72.02, 37.15, -6.79)
CIE-LCHlch(72.02, 37.76, 349.64°)
OKLaboklab(77.33% 0.1108 -0.0175)
OKLCHoklch(77.33% 0.112 351)
XYZxyz(54.9537, 43.6871, 54.2432)
Luminance0.4368 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC97BE #97ECC5
analogous
#EC97E8 #EC97BE #EC9A97
triadic
#EC97BE #BEEC97 #97BEEC
tetradic
#EC97BE #E8EC97 #97ECC5 #9A97EC
square
#EC97BE #E8EC97 #97ECC5 #9A97EC
split-complementary
#EC97BE #97EC9A #97E8EC
monochromatic
#D9307D #E3639E #EC97BE #F5CBDE #FAE5EF

Accessibility & contrast

On white

2.16
#EC97BE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.74
#EC97BE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC97BE
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC97BE#FFFFFF#000000##000000
##EC97BE1.002.169.749.74
#FFFFFF2.161.0021.0021.00
#0000009.7421.001.001.00
##0000009.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9FA8BF
Deuteranopia (green-blind)
#B4B6BC
Tritanopia (blue-blind)
#F894A5
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #ec97be;
/* rgb */ color: rgb(236, 151, 190);
/* oklch */ color: oklch(77.3% 0.112 351.0);
Tailwind
colors: {
  custom: {
    50: '#f3b7d1',
    500: '#ec97be',
    950: '#000000',
  },
}
SCSS
$custom: #ec97be;
$custom-light: #f3b7d1;
$custom-dark: #000000;
JSON
{
  "hex": "#ec97be",
  "rgb": {
    "r": 236,
    "g": 151,
    "b": 190
  },
  "hsl": {
    "h": 332.471,
    "s": 69.106,
    "l": 75.882
  },
  "oklch": {
    "l": 0.7733,
    "c": 0.11221,
    "h": 351
  },
  "luminance": 0.43684
}

Semantic roles & 50–950 ramp

primary
#EC97BE
secondary
#D9F2E7
accent
#D17B14
background
#FFFBFC
surface
#FEF6F9
border
#D6D0D2
text
#171114
muted
#858082

Preview Lab

Preview with #EC97BE

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

Preview Lab → · Contrast checker → · Palette generator →

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