#EC98CA#EC98CA

#EC98CA is a light, moderate pink. Relative luminance 0.446; OKLCH L 77.9% C 0.118 H 343.7°. Best body text is #000000 at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#EC98CA
RGBrgb(236, 152, 202)
HSLhsl(324, 69%, 76%)
HSVhsv(324, 36%, 93%)
CMYKcmyk(0%, 35.6%, 14.4%, 7.5%)
CIE-LABlab(72.60, 38.47, -12.56)
CIE-LCHlch(72.60, 40.47, 341.92°)
OKLaboklab(77.89% 0.1132 -0.0331)
OKLCHoklch(77.89% 0.118 343.7)
XYZxyz(56.4813, 44.5567, 61.4910)
Luminance0.4455 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC98CA #98ECBA
analogous
#E498EC #EC98CA #EC98A0
triadic
#EC98CA #CAEC98 #98CAEC
tetradic
#EC98CA #ECE498 #98ECBA #98A0EC
square
#EC98CA #ECE498 #98ECBA #98A0EC
split-complementary
#EC98CA #A0EC98 #98ECE4
monochromatic
#D93195 #E264AF #EC98CA #F6CCE5 #FAE5F2

Accessibility & contrast

On white

2.12
#EC98CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.91
#EC98CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC98CA
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC98CA#FFFFFF#000000##000000
##EC98CA1.002.129.919.91
#FFFFFF2.121.0021.0021.00
#0000009.9121.001.001.00
##0000009.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9DAACC
Deuteranopia (green-blind)
#B2B7C8
Tritanopia (blue-blind)
#F698AA
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #ec98ca;
/* rgb */ color: rgb(236, 152, 202);
/* oklch */ color: oklch(77.9% 0.118 343.7);
Tailwind
colors: {
  custom: {
    50: '#f3b7da',
    500: '#ec98ca',
    950: '#000000',
  },
}
SCSS
$custom: #ec98ca;
$custom-light: #f3b7da;
$custom-dark: #000000;
JSON
{
  "hex": "#ec98ca",
  "rgb": {
    "r": 236,
    "g": 152,
    "b": 202
  },
  "hsl": {
    "h": 324.286,
    "s": 68.852,
    "l": 76.078
  },
  "oklch": {
    "l": 0.77891,
    "c": 0.11792,
    "h": 343.7
  },
  "luminance": 0.44554
}

Semantic roles & 50–950 ramp

primary
#EC98CA
secondary
#D9F2E3
accent
#D16115
background
#FFFBFD
surface
#FEF6FA
border
#D6D0D3
text
#171114
muted
#858083

Preview Lab

Preview with #EC98CA

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

Preview Lab → · Contrast checker → · Palette generator →

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