#EC98D2#EC98D2

#EC98D2 is a light, vivid pink. Relative luminance 0.449; OKLCH L 78.2% C 0.124 H 339.1°. Best body text is #000000 at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#EC98D2
RGBrgb(236, 152, 210)
HSLhsl(319, 69%, 76%)
HSVhsv(319, 36%, 93%)
CMYKcmyk(0%, 35.6%, 11%, 7.5%)
CIE-LABlab(72.86, 39.76, -16.58)
CIE-LCHlch(72.86, 43.08, 337.36°)
OKLaboklab(78.17% 0.1156 -0.0442)
OKLCHoklch(78.17% 0.124 339.1)
XYZxyz(57.4531, 44.9455, 66.6094)
Luminance0.4494 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC98D2 #98ECB2
analogous
#DC98EC #EC98D2 #EC98A8
triadic
#EC98D2 #D2EC98 #98D2EC
tetradic
#EC98D2 #ECDC98 #98ECB2 #98A8EC
square
#EC98D2 #ECDC98 #98ECB2 #98A8EC
split-complementary
#EC98D2 #A8EC98 #98ECDC
monochromatic
#D931A5 #E264BB #EC98D2 #F6CCE9 #FAE5F4

Accessibility & contrast

On white

2.10
#EC98D2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.99
#EC98D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC98D2
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC98D2#FFFFFF#000000##000000
##EC98D21.002.109.999.99
#FFFFFF2.101.0021.0021.00
#0000009.9921.001.001.00
##0000009.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9BABD4
Deuteranopia (green-blind)
#B0B8D0
Tritanopia (blue-blind)
#F59AAD
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #ec98d2;
/* rgb */ color: rgb(236, 152, 210);
/* oklch */ color: oklch(78.2% 0.124 339.1);
Tailwind
colors: {
  custom: {
    50: '#f3b7df',
    500: '#ec98d2',
    950: '#000000',
  },
}
SCSS
$custom: #ec98d2;
$custom-light: #f3b7df;
$custom-dark: #000000;
JSON
{
  "hex": "#ec98d2",
  "rgb": {
    "r": 236,
    "g": 152,
    "b": 210
  },
  "hsl": {
    "h": 318.571,
    "s": 68.852,
    "l": 76.078
  },
  "oklch": {
    "l": 0.78171,
    "c": 0.12375,
    "h": 339.1
  },
  "luminance": 0.44942
}

Semantic roles & 50–950 ramp

primary
#EC98D2
secondary
#D9F2E1
accent
#D14F15
background
#FFFBFD
surface
#FEF6FB
border
#D6D0D4
text
#171115
muted
#858083

Preview Lab

Preview with #EC98D2

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

Preview Lab → · Contrast checker → · Palette generator →

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