#EC99B2#EC99B2

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

Color values

HEX#EC99B2
RGBrgb(236, 153, 178)
HSLhsl(342, 69%, 76%)
HSVhsv(342, 35%, 93%)
CMYKcmyk(0%, 35.2%, 24.6%, 7.5%)
CIE-LABlab(72.12, 34.35, 0.00)
CIE-LCHlch(72.12, 34.35, 0.00°)
OKLaboklab(77.29% 0.1036 0.0005)
OKLCHoklch(77.29% 0.104 0.3)
XYZxyz(54.0204, 43.8332, 47.7262)
Luminance0.4383 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC99B2 #99ECD3
analogous
#EC99DC #EC99B2 #ECAA99
triadic
#EC99B2 #B2EC99 #99B2EC
tetradic
#EC99B2 #DCEC99 #99ECD3 #AA99EC
square
#EC99B2 #DCEC99 #99ECD3 #AA99EC
split-complementary
#EC99B2 #99ECAA #99DCEC
monochromatic
#D93264 #E2658B #EC99B2 #F6CDD9 #FAE5EC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EC99B2#FFFFFF#000000##000000
##EC99B21.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)
#A4A8B3
Deuteranopia (green-blind)
#B8B6B0
Tritanopia (blue-blind)
#F994A2
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #ec99b2;
/* rgb */ color: rgb(236, 153, 178);
/* oklch */ color: oklch(77.3% 0.104 0.3);
Tailwind
colors: {
  custom: {
    50: '#f4b8c9',
    500: '#ec99b2',
    950: '#000000',
  },
}
SCSS
$custom: #ec99b2;
$custom-light: #f4b8c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ec99b2",
  "rgb": {
    "r": 236,
    "g": 153,
    "b": 178
  },
  "hsl": {
    "h": 341.928,
    "s": 68.595,
    "l": 76.275
  },
  "oklch": {
    "l": 0.77293,
    "c": 0.10358,
    "h": 0.3
  },
  "luminance": 0.4383
}

Semantic roles & 50–950 ramp

primary
#EC99B2
secondary
#D9F2EA
accent
#D19815
background
#FFFBFC
surface
#FEF6F8
border
#D6D0D1
text
#171113
muted
#858082

Preview Lab

Preview with #EC99B2

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

Preview Lab → · Contrast checker → · Palette generator →

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