#EC98DE#EC98DE

#EC98DE is a light, vivid pink. Relative luminance 0.456; OKLCH L 78.6% C 0.134 H 333.0°. Best body text is #000000 at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#EC98DE
RGBrgb(236, 152, 222)
HSLhsl(310, 69%, 76%)
HSVhsv(310, 36%, 93%)
CMYKcmyk(0%, 35.6%, 5.9%, 7.5%)
CIE-LABlab(73.26, 41.78, -22.56)
CIE-LCHlch(73.26, 47.48, 331.64°)
OKLaboklab(78.61% 0.119 -0.0607)
OKLCHoklch(78.61% 0.134 333)
XYZxyz(59.0045, 45.5661, 74.7802)
Luminance0.4556 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC98DE #98ECA6
analogous
#D098EC #EC98DE #EC98B4
triadic
#EC98DE #DEEC98 #98DEEC
tetradic
#EC98DE #ECD098 #98ECA6 #98B4EC
square
#EC98DE #ECD098 #98ECA6 #98B4EC
split-complementary
#EC98DE #B4EC98 #98ECD0
monochromatic
#D931BD #E264CD #EC98DE #F6CCEF #FAE5F7

Accessibility & contrast

On white

2.08
#EC98DE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.11
#EC98DE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC98DE
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC98DE#FFFFFF#000000##000000
##EC98DE1.002.0810.1110.11
#FFFFFF2.081.0021.0021.00
#00000010.1121.001.001.00
##00000010.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#97ADE1
Deuteranopia (green-blind)
#ACB8DB
Tritanopia (blue-blind)
#F39CB2
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #ec98de;
/* rgb */ color: rgb(236, 152, 222);
/* oklch */ color: oklch(78.6% 0.134 333.0);
Tailwind
colors: {
  custom: {
    50: '#f3b7e8',
    500: '#ec98de',
    950: '#000000',
  },
}
SCSS
$custom: #ec98de;
$custom-light: #f3b7e8;
$custom-dark: #000000;
JSON
{
  "hex": "#ec98de",
  "rgb": {
    "r": 236,
    "g": 152,
    "b": 222
  },
  "hsl": {
    "h": 310,
    "s": 68.852,
    "l": 76.078
  },
  "oklch": {
    "l": 0.78614,
    "c": 0.1336,
    "h": 333
  },
  "luminance": 0.45563
}

Semantic roles & 50–950 ramp

primary
#EC98DE
secondary
#D9F2DD
accent
#D13415
background
#FFFBFE
surface
#FEF6FC
border
#D6D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #EC98DE

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

Preview Lab → · Contrast checker → · Palette generator →

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