#EC8EB6#EC8EB6

#EC8EB6 is a light, vivid pink. Relative luminance 0.406; OKLCH L 75.6% C 0.123 H 353.4°. Best body text is #000000 at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#EC8EB6
RGBrgb(236, 142, 182)
HSLhsl(334, 71%, 74%)
HSVhsv(334, 40%, 93%)
CMYKcmyk(0%, 39.8%, 22.9%, 7.5%)
CIE-LABlab(69.87, 40.68, -5.53)
CIE-LCHlch(69.87, 41.05, 352.26°)
OKLaboklab(75.62% 0.1221 -0.0141)
OKLCHoklch(75.62% 0.123 353.4)
XYZxyz(52.7097, 40.5599, 49.2995)
Luminance0.4056 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8EB6 #8EECC4
analogous
#EC8EE5 #EC8EB6 #EC958E
triadic
#EC8EB6 #B6EC8E #8EB6EC
tetradic
#EC8EB6 #E5EC8E #8EECC4 #958EEC
square
#EC8EB6 #E5EC8E #8EECC4 #958EEC
split-complementary
#EC8EB6 #8EEC95 #8EE5EC
monochromatic
#DA2572 #E35A94 #EC8EB6 #F5C2D8 #FBE5EE

Accessibility & contrast

On white

2.30
#EC8EB6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.11
#EC8EB6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8EB6
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8EB6#FFFFFF#000000##000000
##EC8EB61.002.309.119.11
#FFFFFF2.301.0021.0021.00
#0000009.1121.001.001.00
##0000009.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#99A1B7
Deuteranopia (green-blind)
#B0B1B4
Tritanopia (blue-blind)
#F98A9C
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #ec8eb6;
/* rgb */ color: rgb(236, 142, 182);
/* oklch */ color: oklch(75.6% 0.123 353.4);
Tailwind
colors: {
  custom: {
    50: '#f4b0cb',
    500: '#ec8eb6',
    950: '#000000',
  },
}
SCSS
$custom: #ec8eb6;
$custom-light: #f4b0cb;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8eb6",
  "rgb": {
    "r": 236,
    "g": 142,
    "b": 182
  },
  "hsl": {
    "h": 334.468,
    "s": 71.212,
    "l": 74.118
  },
  "oklch": {
    "l": 0.75616,
    "c": 0.12292,
    "h": 353.4
  },
  "luminance": 0.40556
}

Semantic roles & 50–950 ramp

primary
#EC8EB6
secondary
#D9F2E7
accent
#D38112
background
#FFFBFC
surface
#FFF6F8
border
#D7D0D1
text
#171113
muted
#858082

Preview Lab

Preview with #EC8EB6

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

Preview Lab → · Contrast checker → · Palette generator →

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