#EC98DB#EC98DB

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

Color values

HEX#EC98DB
RGBrgb(236, 152, 219)
HSLhsl(312, 69%, 76%)
HSVhsv(312, 36%, 93%)
CMYKcmyk(0%, 35.6%, 7.2%, 7.5%)
CIE-LABlab(73.16, 41.26, -21.07)
CIE-LCHlch(73.16, 46.33, 332.95°)
OKLaboklab(78.5% 0.1182 -0.0566)
OKLCHoklch(78.5% 0.131 334.4)
XYZxyz(58.6060, 45.4067, 72.6815)
Luminance0.4540 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC98DB #98ECA9
analogous
#D398EC #EC98DB #EC98B1
triadic
#EC98DB #DBEC98 #98DBEC
tetradic
#EC98DB #ECD398 #98ECA9 #98B1EC
square
#EC98DB #ECD398 #98ECA9 #98B1EC
split-complementary
#EC98DB #B1EC98 #98ECD3
monochromatic
#D931B7 #E264C9 #EC98DB #F6CCED #FAE5F6

Accessibility & contrast

On white

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

On black

10.08
#EC98DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC98DB
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC98DB#FFFFFF#000000##000000
##EC98DB1.002.0810.0810.08
#FFFFFF2.081.0021.0021.00
#00000010.0821.001.001.00
##00000010.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#98ACDE
Deuteranopia (green-blind)
#ADB8D8
Tritanopia (blue-blind)
#F49CB0
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #ec98db;
/* rgb */ color: rgb(236, 152, 219);
/* oklch */ color: oklch(78.5% 0.131 334.4);
Tailwind
colors: {
  custom: {
    50: '#f3b7e6',
    500: '#ec98db',
    950: '#000000',
  },
}
SCSS
$custom: #ec98db;
$custom-light: #f3b7e6;
$custom-dark: #000000;
JSON
{
  "hex": "#ec98db",
  "rgb": {
    "r": 236,
    "g": 152,
    "b": 219
  },
  "hsl": {
    "h": 312.143,
    "s": 68.852,
    "l": 76.078
  },
  "oklch": {
    "l": 0.78501,
    "c": 0.13103,
    "h": 334.4
  },
  "luminance": 0.45404
}

Semantic roles & 50–950 ramp

primary
#EC98DB
secondary
#D9F2DE
accent
#D13B15
background
#FFFBFE
surface
#FEF6FC
border
#D6D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #EC98DB

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

Preview Lab → · Contrast checker → · Palette generator →

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