#EC97BA#EC97BA

#EC97BA is a light, moderate pink. Relative luminance 0.435; OKLCH L 77.2% C 0.110 H 353.7°. Best body text is #000000 at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#EC97BA
RGBrgb(236, 151, 186)
HSLhsl(335, 69%, 76%)
HSVhsv(335, 36%, 93%)
CMYKcmyk(0%, 36%, 21.2%, 7.5%)
CIE-LABlab(71.90, 36.56, -4.75)
CIE-LCHlch(71.90, 36.86, 352.60°)
OKLaboklab(77.2% 0.1095 -0.0121)
OKLCHoklch(77.2% 0.11 353.7)
XYZxyz(54.5225, 43.5147, 51.9723)
Luminance0.4351 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC97BA #97ECC9
analogous
#EC97E4 #EC97BA #EC9E97
triadic
#EC97BA #BAEC97 #97BAEC
tetradic
#EC97BA #E4EC97 #97ECC9 #9E97EC
square
#EC97BA #E4EC97 #97ECC9 #9E97EC
split-complementary
#EC97BA #97EC9E #97E4EC
monochromatic
#D93075 #E36398 #EC97BA #F5CBDC #FAE5EE

Accessibility & contrast

On white

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

On black

9.70
#EC97BA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC97BA
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC97BA#FFFFFF#000000##000000
##EC97BA1.002.169.709.70
#FFFFFF2.161.0021.0021.00
#0000009.7021.001.001.00
##0000009.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A0A7BB
Deuteranopia (green-blind)
#B5B6B8
Tritanopia (blue-blind)
#F894A3
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #ec97ba;
/* rgb */ color: rgb(236, 151, 186);
/* oklch */ color: oklch(77.2% 0.110 353.7);
Tailwind
colors: {
  custom: {
    50: '#f3b6ce',
    500: '#ec97ba',
    950: '#000000',
  },
}
SCSS
$custom: #ec97ba;
$custom-light: #f3b6ce;
$custom-dark: #000000;
JSON
{
  "hex": "#ec97ba",
  "rgb": {
    "r": 236,
    "g": 151,
    "b": 186
  },
  "hsl": {
    "h": 335.294,
    "s": 69.106,
    "l": 75.882
  },
  "oklch": {
    "l": 0.77203,
    "c": 0.11015,
    "h": 353.7
  },
  "luminance": 0.43511
}

Semantic roles & 50–950 ramp

primary
#EC97BA
secondary
#D9F2E8
accent
#D18314
background
#FFFBFC
surface
#FEF6F9
border
#D6D0D2
text
#171113
muted
#858082

Preview Lab

Preview with #EC97BA

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

Preview Lab → · Contrast checker → · Palette generator →

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