#EC98BA#EC98BA

#EC98BA is a light, moderate pink. Relative luminance 0.438; OKLCH L 77.4% C 0.109 H 354.1°. Best body text is #000000 at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#EC98BA
RGBrgb(236, 152, 186)
HSLhsl(336, 69%, 76%)
HSVhsv(336, 36%, 93%)
CMYKcmyk(0%, 35.6%, 21.2%, 7.5%)
CIE-LABlab(72.12, 36.03, -4.43)
CIE-LCHlch(72.12, 36.30, 353.00°)
OKLaboklab(77.37% 0.1079 -0.0112)
OKLCHoklch(77.37% 0.109 354.1)
XYZxyz(54.6841, 43.8379, 52.0261)
Luminance0.4384 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC98BA #98ECCA
analogous
#EC98E4 #EC98BA #ECA098
triadic
#EC98BA #BAEC98 #98BAEC
tetradic
#EC98BA #E4EC98 #98ECCA #A098EC
square
#EC98BA #E4EC98 #98ECCA #A098EC
split-complementary
#EC98BA #98ECA0 #98E4EC
monochromatic
#D93175 #E26497 #EC98BA #F6CCDD #FAE5EE

Accessibility & contrast

On white

2.15
#EC98BA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.77
#EC98BA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC98BA
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC98BA#FFFFFF#000000##000000
##EC98BA1.002.159.779.77
#FFFFFF2.151.0021.0021.00
#0000009.7721.001.001.00
##0000009.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A1A8BB
Deuteranopia (green-blind)
#B6B6B8
Tritanopia (blue-blind)
#F895A4
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #ec98ba;
/* rgb */ color: rgb(236, 152, 186);
/* oklch */ color: oklch(77.4% 0.109 354.1);
Tailwind
colors: {
  custom: {
    50: '#f3b7ce',
    500: '#ec98ba',
    950: '#000000',
  },
}
SCSS
$custom: #ec98ba;
$custom-light: #f3b7ce;
$custom-dark: #000000;
JSON
{
  "hex": "#ec98ba",
  "rgb": {
    "r": 236,
    "g": 152,
    "b": 186
  },
  "hsl": {
    "h": 335.714,
    "s": 68.852,
    "l": 76.078
  },
  "oklch": {
    "l": 0.77369,
    "c": 0.10851,
    "h": 354.1
  },
  "luminance": 0.43835
}

Semantic roles & 50–950 ramp

primary
#EC98BA
secondary
#D9F2E8
accent
#D18515
background
#FFFBFC
surface
#FEF6F9
border
#D6D0D2
text
#171113
muted
#858082

Preview Lab

Preview with #EC98BA

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

Preview Lab → · Contrast checker → · Palette generator →

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