#EC9EC2#EC9EC2

#EC9EC2 is a light, moderate pink. Relative luminance 0.462; OKLCH L 78.6% C 0.103 H 350.5°. Best body text is #000000 at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#EC9EC2
RGBrgb(236, 158, 194)
HSLhsl(332, 67%, 77%)
HSVhsv(332, 33%, 93%)
CMYKcmyk(0%, 33.1%, 17.8%, 7.5%)
CIE-LABlab(73.67, 34.06, -6.56)
CIE-LCHlch(73.67, 34.69, 349.10°)
OKLaboklab(78.62% 0.1013 -0.017)
OKLCHoklch(78.62% 0.103 350.5)
XYZxyz(56.5571, 46.1848, 56.9640)
Luminance0.4618 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC9EC2 #9EECC8
analogous
#EC9EE9 #EC9EC2 #ECA19E
triadic
#EC9EC2 #C2EC9E #9EC2EC
tetradic
#EC9EC2 #E9EC9E #9EECC8 #A19EEC
square
#EC9EC2 #E9EC9E #9EECC8 #A19EEC
split-complementary
#EC9EC2 #9EECA1 #9EE9EC
monochromatic
#D83882 #E26BA2 #EC9EC2 #F6D1E2 #FAE5EF

Accessibility & contrast

On white

2.05
#EC9EC2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.24
#EC9EC2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC9EC2
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC9EC2#FFFFFF#000000##000000
##EC9EC21.002.0510.2410.24
#FFFFFF2.051.0021.0021.00
#00000010.2421.001.001.00
##00000010.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5ADC3
Deuteranopia (green-blind)
#B8BAC0
Tritanopia (blue-blind)
#F79CAA
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #ec9ec2;
/* rgb */ color: rgb(236, 158, 194);
/* oklch */ color: oklch(78.6% 0.103 350.5);
Tailwind
colors: {
  custom: {
    50: '#f3bbd4',
    500: '#ec9ec2',
    950: '#000000',
  },
}
SCSS
$custom: #ec9ec2;
$custom-light: #f3bbd4;
$custom-dark: #000000;
JSON
{
  "hex": "#ec9ec2",
  "rgb": {
    "r": 236,
    "g": 158,
    "b": 194
  },
  "hsl": {
    "h": 332.308,
    "s": 67.241,
    "l": 77.255
  },
  "oklch": {
    "l": 0.78624,
    "c": 0.10273,
    "h": 350.5
  },
  "luminance": 0.46182
}

Semantic roles & 50–950 ramp

primary
#EC9EC2
secondary
#D9F2E6
accent
#CF7A16
background
#FFFBFD
surface
#FEF6FA
border
#D6D0D3
text
#171214
muted
#858183

Preview Lab

Preview with #EC9EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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