#EC98CE#EC98CE

#EC98CE is a light, vivid pink. Relative luminance 0.447; OKLCH L 78.0% C 0.121 H 341.3°. Best body text is #000000 at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#EC98CE
RGBrgb(236, 152, 206)
HSLhsl(321, 69%, 76%)
HSVhsv(321, 36%, 93%)
CMYKcmyk(0%, 35.6%, 12.7%, 7.5%)
CIE-LABlab(72.73, 39.11, -14.57)
CIE-LCHlch(72.73, 41.74, 339.56°)
OKLaboklab(78.03% 0.1144 -0.0387)
OKLCHoklch(78.03% 0.121 341.3)
XYZxyz(56.9610, 44.7486, 64.0176)
Luminance0.4475 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC98CE #98ECB6
analogous
#E098EC #EC98CE #EC98A4
triadic
#EC98CE #CEEC98 #98CEEC
tetradic
#EC98CE #ECE098 #98ECB6 #98A4EC
square
#EC98CE #ECE098 #98ECB6 #98A4EC
split-complementary
#EC98CE #A4EC98 #98ECE0
monochromatic
#D9319D #E264B5 #EC98CE #F6CCE7 #FAE5F3

Accessibility & contrast

On white

2.11
#EC98CE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.95
#EC98CE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC98CE
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC98CE#FFFFFF#000000##000000
##EC98CE1.002.119.959.95
#FFFFFF2.111.0021.0021.00
#0000009.9521.001.001.00
##0000009.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9CAAD0
Deuteranopia (green-blind)
#B1B7CC
Tritanopia (blue-blind)
#F699AB
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #ec98ce;
/* rgb */ color: rgb(236, 152, 206);
/* oklch */ color: oklch(78.0% 0.121 341.3);
Tailwind
colors: {
  custom: {
    50: '#f3b7dd',
    500: '#ec98ce',
    950: '#000000',
  },
}
SCSS
$custom: #ec98ce;
$custom-light: #f3b7dd;
$custom-dark: #000000;
JSON
{
  "hex": "#ec98ce",
  "rgb": {
    "r": 236,
    "g": 152,
    "b": 206
  },
  "hsl": {
    "h": 321.429,
    "s": 68.852,
    "l": 76.078
  },
  "oklch": {
    "l": 0.7803,
    "c": 0.12075,
    "h": 341.3
  },
  "luminance": 0.44746
}

Semantic roles & 50–950 ramp

primary
#EC98CE
secondary
#D9F2E2
accent
#D15815
background
#FFFBFD
surface
#FEF6FB
border
#D6D0D4
text
#171115
muted
#858083

Preview Lab

Preview with #EC98CE

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

Preview Lab → · Contrast checker → · Palette generator →

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