#EC97BF#EC97BF

#EC97BF is a light, moderate pink. Relative luminance 0.437; OKLCH L 77.4% C 0.113 H 350.3°. Best body text is #000000 at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#EC97BF
RGBrgb(236, 151, 191)
HSLhsl(332, 69%, 76%)
HSVhsv(332, 36%, 93%)
CMYKcmyk(0%, 36%, 19.1%, 7.5%)
CIE-LABlab(72.05, 37.30, -7.30)
CIE-LCHlch(72.05, 38.01, 348.93°)
OKLaboklab(77.36% 0.1112 -0.0189)
OKLCHoklch(77.36% 0.113 350.3)
XYZxyz(55.0634, 43.7310, 54.8208)
Luminance0.4373 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC97BF #97ECC4
analogous
#EC97E9 #EC97BF #EC9997
triadic
#EC97BF #BFEC97 #97BFEC
tetradic
#EC97BF #E9EC97 #97ECC4 #9997EC
square
#EC97BF #E9EC97 #97ECC4 #9997EC
split-complementary
#EC97BF #97EC99 #97E9EC
monochromatic
#D9307F #E3639F #EC97BF #F5CBDF #FAE5EF

Accessibility & contrast

On white

2.15
#EC97BF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.75
#EC97BF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC97BF
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC97BF#FFFFFF#000000##000000
##EC97BF1.002.159.759.75
#FFFFFF2.151.0021.0021.00
#0000009.7521.001.001.00
##0000009.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9FA8C0
Deuteranopia (green-blind)
#B4B6BD
Tritanopia (blue-blind)
#F895A5
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #ec97bf;
/* rgb */ color: rgb(236, 151, 191);
/* oklch */ color: oklch(77.4% 0.113 350.3);
Tailwind
colors: {
  custom: {
    50: '#f3b7d2',
    500: '#ec97bf',
    950: '#000000',
  },
}
SCSS
$custom: #ec97bf;
$custom-light: #f3b7d2;
$custom-dark: #000000;
JSON
{
  "hex": "#ec97bf",
  "rgb": {
    "r": 236,
    "g": 151,
    "b": 191
  },
  "hsl": {
    "h": 331.765,
    "s": 69.106,
    "l": 75.882
  },
  "oklch": {
    "l": 0.77362,
    "c": 0.11277,
    "h": 350.3
  },
  "luminance": 0.43728
}

Semantic roles & 50–950 ramp

primary
#EC97BF
secondary
#D9F2E6
accent
#D17814
background
#FFFBFC
surface
#FEF6F9
border
#D6D0D2
text
#171114
muted
#858082

Preview Lab

Preview with #EC97BF

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

Preview Lab → · Contrast checker → · Palette generator →

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