#EC9AB2#EC9AB2

#EC9AB2 is a light, moderate pink. Relative luminance 0.442; OKLCH L 77.5% C 0.102 H 0.7°. Best body text is #000000 at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#EC9AB2
RGBrgb(236, 154, 178)
HSLhsl(342, 68%, 76%)
HSVhsv(342, 35%, 93%)
CMYKcmyk(0%, 34.7%, 24.6%, 7.5%)
CIE-LABlab(72.34, 33.83, 0.32)
CIE-LCHlch(72.34, 33.83, 0.54°)
OKLaboklab(77.46% 0.102 0.0013)
OKLCHoklch(77.46% 0.102 0.7)
XYZxyz(54.1847, 44.1619, 47.7810)
Luminance0.4416 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC9AB2 #9AECD4
analogous
#EC9ADB #EC9AB2 #ECAB9A
triadic
#EC9AB2 #B2EC9A #9AB2EC
tetradic
#EC9AB2 #DBEC9A #9AECD4 #AB9AEC
square
#EC9AB2 #DBEC9A #9AECD4 #AB9AEC
split-complementary
#EC9AB2 #9AECAB #9ADBEC
monochromatic
#D93363 #E2668B #EC9AB2 #F6CED9 #FAE5EB

Accessibility & contrast

On white

2.14
#EC9AB2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.83
#EC9AB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC9AB2
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC9AB2#FFFFFF#000000##000000
##EC9AB21.002.149.839.83
#FFFFFF2.141.0021.0021.00
#0000009.8321.001.001.00
##0000009.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5A9B3
Deuteranopia (green-blind)
#B9B7B0
Tritanopia (blue-blind)
#F995A2
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #ec9ab2;
/* rgb */ color: rgb(236, 154, 178);
/* oklch */ color: oklch(77.5% 0.102 0.7);
Tailwind
colors: {
  custom: {
    50: '#f4b8c9',
    500: '#ec9ab2',
    950: '#000000',
  },
}
SCSS
$custom: #ec9ab2;
$custom-light: #f4b8c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ec9ab2",
  "rgb": {
    "r": 236,
    "g": 154,
    "b": 178
  },
  "hsl": {
    "h": 342.439,
    "s": 68.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.77461,
    "c": 0.10202,
    "h": 0.7
  },
  "luminance": 0.44158
}

Semantic roles & 50–950 ramp

primary
#EC9AB2
secondary
#D9F2EB
accent
#D09A15
background
#FFFBFC
surface
#FEF6F8
border
#D6D0D1
text
#171113
muted
#858082

Preview Lab

Preview with #EC9AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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