#EC98DA#EC98DA

#EC98DA is a light, vivid pink. Relative luminance 0.454; OKLCH L 78.5% C 0.130 H 334.9°. Best body text is #000000 at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#EC98DA
RGBrgb(236, 152, 218)
HSLhsl(313, 69%, 76%)
HSVhsv(313, 36%, 93%)
CMYKcmyk(0%, 35.6%, 7.6%, 7.5%)
CIE-LABlab(73.12, 41.09, -20.57)
CIE-LCHlch(73.12, 45.96, 333.41°)
OKLaboklab(78.46% 0.1179 -0.0552)
OKLCHoklch(78.46% 0.13 334.9)
XYZxyz(58.4748, 45.3542, 71.9902)
Luminance0.4535 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC98DA #98ECAA
analogous
#D498EC #EC98DA #EC98B0
triadic
#EC98DA #DAEC98 #98DAEC
tetradic
#EC98DA #ECD498 #98ECAA #98B0EC
square
#EC98DA #ECD498 #98ECAA #98B0EC
split-complementary
#EC98DA #B0EC98 #98ECD4
monochromatic
#D931B5 #E264C7 #EC98DA #F6CCED #FAE5F6

Accessibility & contrast

On white

2.09
#EC98DA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.07
#EC98DA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC98DA
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC98DA#FFFFFF#000000##000000
##EC98DA1.002.0910.0710.07
#FFFFFF2.091.0021.0021.00
#00000010.0721.001.001.00
##00000010.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#98ACDC
Deuteranopia (green-blind)
#ADB8D7
Tritanopia (blue-blind)
#F49BB0
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #ec98da;
/* rgb */ color: rgb(236, 152, 218);
/* oklch */ color: oklch(78.5% 0.130 334.9);
Tailwind
colors: {
  custom: {
    50: '#f3b7e5',
    500: '#ec98da',
    950: '#000000',
  },
}
SCSS
$custom: #ec98da;
$custom-light: #f3b7e5;
$custom-dark: #000000;
JSON
{
  "hex": "#ec98da",
  "rgb": {
    "r": 236,
    "g": 152,
    "b": 218
  },
  "hsl": {
    "h": 312.857,
    "s": 68.852,
    "l": 76.078
  },
  "oklch": {
    "l": 0.78463,
    "c": 0.13018,
    "h": 334.9
  },
  "luminance": 0.45351
}

Semantic roles & 50–950 ramp

primary
#EC98DA
secondary
#D9F2DE
accent
#D13D15
background
#FFFBFE
surface
#FEF6FC
border
#D6D0D5
text
#171115
muted
#858084

Preview Lab

Preview with #EC98DA

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

Preview Lab → · Contrast checker → · Palette generator →

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