#EC9EB2#EC9EB2

#EC9EB2 is a light, moderate pink. Relative luminance 0.455; OKLCH L 78.1% C 0.096 H 2.8°. Best body text is #000000 at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#EC9EB2
RGBrgb(236, 158, 178)
HSLhsl(345, 67%, 77%)
HSVhsv(345, 33%, 93%)
CMYKcmyk(0%, 33.1%, 24.6%, 7.5%)
CIE-LABlab(73.22, 31.71, 1.61)
CIE-LCHlch(73.22, 31.75, 2.91°)
OKLaboklab(78.14% 0.0957 0.0047)
OKLCHoklch(78.14% 0.096 2.8)
XYZxyz(54.8559, 45.5043, 48.0047)
Luminance0.4550 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC9EB2 #9EECD8
analogous
#EC9ED9 #EC9EB2 #ECB19E
triadic
#EC9EB2 #B2EC9E #9EB2EC
tetradic
#EC9EB2 #D9EC9E #9EECD8 #B19EEC
square
#EC9EB2 #D9EC9E #9EECD8 #B19EEC
split-complementary
#EC9EB2 #9EECB1 #9ED9EC
monochromatic
#D83861 #E26B89 #EC9EB2 #F6D1DB #FAE5EB

Accessibility & contrast

On white

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

On black

10.10
#EC9EB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC9EB2
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC9EB2#FFFFFF#000000##000000
##EC9EB21.002.0810.1010.10
#FFFFFF2.081.0021.0021.00
#00000010.1021.001.001.00
##00000010.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9ABB3
Deuteranopia (green-blind)
#BCB9B0
Tritanopia (blue-blind)
#F999A5
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #ec9eb2;
/* rgb */ color: rgb(236, 158, 178);
/* oklch */ color: oklch(78.1% 0.096 2.8);
Tailwind
colors: {
  custom: {
    50: '#f3bbc9',
    500: '#ec9eb2',
    950: '#000000',
  },
}
SCSS
$custom: #ec9eb2;
$custom-light: #f3bbc9;
$custom-dark: #000000;
JSON
{
  "hex": "#ec9eb2",
  "rgb": {
    "r": 236,
    "g": 158,
    "b": 178
  },
  "hsl": {
    "h": 344.615,
    "s": 67.241,
    "l": 77.255
  },
  "oklch": {
    "l": 0.78139,
    "c": 0.09583,
    "h": 2.8
  },
  "luminance": 0.45501
}

Semantic roles & 50–950 ramp

primary
#EC9EB2
secondary
#D9F2EB
accent
#CFA016
background
#FFFBFC
surface
#FEF6F8
border
#D6D0D1
text
#171213
muted
#858182

Preview Lab

Preview with #EC9EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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