#EC98DD#EC98DD

#EC98DD is a light, vivid pink. Relative luminance 0.455; OKLCH L 78.6% C 0.133 H 333.4°. Best body text is #000000 at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#EC98DD
RGBrgb(236, 152, 221)
HSLhsl(311, 69%, 76%)
HSVhsv(311, 36%, 93%)
CMYKcmyk(0%, 35.6%, 6.4%, 7.5%)
CIE-LABlab(73.23, 41.61, -22.06)
CIE-LCHlch(73.23, 47.09, 332.07°)
OKLaboklab(78.58% 0.1187 -0.0594)
OKLCHoklch(78.58% 0.133 333.4)
XYZxyz(58.8709, 45.5126, 74.0764)
Luminance0.4551 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC98DD #98ECA7
analogous
#D198EC #EC98DD #EC98B3
triadic
#EC98DD #DDEC98 #98DDEC
tetradic
#EC98DD #ECD198 #98ECA7 #98B3EC
square
#EC98DD #ECD198 #98ECA7 #98B3EC
split-complementary
#EC98DD #B3EC98 #98ECD1
monochromatic
#D931BB #E264CC #EC98DD #F6CCEE #FAE5F6

Accessibility & contrast

On white

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

On black

10.10
#EC98DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC98DD
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC98DD#FFFFFF#000000##000000
##EC98DD1.002.0810.1010.10
#FFFFFF2.081.0021.0021.00
#00000010.1021.001.001.00
##00000010.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#97ACE0
Deuteranopia (green-blind)
#ACB8DA
Tritanopia (blue-blind)
#F39CB1
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #ec98dd;
/* rgb */ color: rgb(236, 152, 221);
/* oklch */ color: oklch(78.6% 0.133 333.4);
Tailwind
colors: {
  custom: {
    50: '#f3b7e7',
    500: '#ec98dd',
    950: '#000000',
  },
}
SCSS
$custom: #ec98dd;
$custom-light: #f3b7e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ec98dd",
  "rgb": {
    "r": 236,
    "g": 152,
    "b": 221
  },
  "hsl": {
    "h": 310.714,
    "s": 68.852,
    "l": 76.078
  },
  "oklch": {
    "l": 0.78576,
    "c": 0.13273,
    "h": 333.4
  },
  "luminance": 0.4551
}

Semantic roles & 50–950 ramp

primary
#EC98DD
secondary
#D9F2DE
accent
#D13615
background
#FFFBFE
surface
#FEF6FC
border
#D6D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #EC98DD

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

Preview Lab → · Contrast checker → · Palette generator →

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