#EC98CF#EC98CF

#EC98CF is a light, vivid pink. Relative luminance 0.448; OKLCH L 78.1% C 0.121 H 340.8°. Best body text is #000000 at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#EC98CF
RGBrgb(236, 152, 207)
HSLhsl(321, 69%, 76%)
HSVhsv(321, 36%, 93%)
CMYKcmyk(0%, 35.6%, 12.3%, 7.5%)
CIE-LABlab(72.76, 39.27, -15.08)
CIE-LCHlch(72.76, 42.07, 339.00°)
OKLaboklab(78.07% 0.1147 -0.04)
OKLCHoklch(78.07% 0.121 340.8)
XYZxyz(57.0829, 44.7974, 64.6594)
Luminance0.4479 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC98CF #98ECB5
analogous
#DF98EC #EC98CF #EC98A5
triadic
#EC98CF #CFEC98 #98CFEC
tetradic
#EC98CF #ECDF98 #98ECB5 #98A5EC
square
#EC98CF #ECDF98 #98ECB5 #98A5EC
split-complementary
#EC98CF #A5EC98 #98ECDF
monochromatic
#D9319F #E264B7 #EC98CF #F6CCE7 #FAE5F3

Accessibility & contrast

On white

2.11
#EC98CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.96
#EC98CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC98CF
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC98CF#FFFFFF#000000##000000
##EC98CF1.002.119.969.96
#FFFFFF2.111.0021.0021.00
#0000009.9621.001.001.00
##0000009.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9CABD1
Deuteranopia (green-blind)
#B0B7CD
Tritanopia (blue-blind)
#F699AC
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #ec98cf;
/* rgb */ color: rgb(236, 152, 207);
/* oklch */ color: oklch(78.1% 0.121 340.8);
Tailwind
colors: {
  custom: {
    50: '#f3b7dd',
    500: '#ec98cf',
    950: '#000000',
  },
}
SCSS
$custom: #ec98cf;
$custom-light: #f3b7dd;
$custom-dark: #000000;
JSON
{
  "hex": "#ec98cf",
  "rgb": {
    "r": 236,
    "g": 152,
    "b": 207
  },
  "hsl": {
    "h": 320.714,
    "s": 68.852,
    "l": 76.078
  },
  "oklch": {
    "l": 0.78065,
    "c": 0.12149,
    "h": 340.8
  },
  "luminance": 0.44794
}

Semantic roles & 50–950 ramp

primary
#EC98CF
secondary
#D9F2E2
accent
#D15615
background
#FFFBFD
surface
#FEF6FB
border
#D6D0D4
text
#171115
muted
#858083

Preview Lab

Preview with #EC98CF

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

Preview Lab → · Contrast checker → · Palette generator →

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