#EC8EA8#EC8EA8

#EC8EA8 is a light, moderate pink. Relative luminance 0.400; OKLCH L 75.2% C 0.117 H 2.5°. Best body text is #000000 at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#EC8EA8
RGBrgb(236, 142, 168)
HSLhsl(343, 71%, 74%)
HSVhsv(343, 40%, 93%)
CMYKcmyk(0%, 39.8%, 28.8%, 7.5%)
CIE-LABlab(69.48, 38.75, 1.72)
CIE-LCHlch(69.48, 38.79, 2.54°)
OKLaboklab(75.19% 0.1173 0.005)
OKLCHoklch(75.19% 0.117 2.5)
XYZxyz(51.3346, 40.0099, 42.0571)
Luminance0.4001 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8EA8 #8EECD2
analogous
#EC8ED7 #EC8EA8 #ECA38E
triadic
#EC8EA8 #A8EC8E #8EA8EC
tetradic
#EC8EA8 #D7EC8E #8EECD2 #A38EEC
square
#EC8EA8 #D7EC8E #8EECD2 #A38EEC
split-complementary
#EC8EA8 #8EECA3 #8ED7EC
monochromatic
#DA2557 #E35A80 #EC8EA8 #F5C2D0 #FBE5EB

Accessibility & contrast

On white

2.33
#EC8EA8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.00
#EC8EA8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8EA8
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8EA8#FFFFFF#000000##000000
##EC8EA81.002.339.009.00
#FFFFFF2.331.0021.0021.00
#0000009.0021.001.001.00
##0000009.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C9FA9
Deuteranopia (green-blind)
#B3B0A6
Tritanopia (blue-blind)
#FB8797
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #ec8ea8;
/* rgb */ color: rgb(236, 142, 168);
/* oklch */ color: oklch(75.2% 0.117 2.5);
Tailwind
colors: {
  custom: {
    50: '#f4b0c1',
    500: '#ec8ea8',
    950: '#000000',
  },
}
SCSS
$custom: #ec8ea8;
$custom-light: #f4b0c1;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8ea8",
  "rgb": {
    "r": 236,
    "g": 142,
    "b": 168
  },
  "hsl": {
    "h": 343.404,
    "s": 71.212,
    "l": 74.118
  },
  "oklch": {
    "l": 0.75191,
    "c": 0.11739,
    "h": 2.5
  },
  "luminance": 0.40006
}

Semantic roles & 50–950 ramp

primary
#EC8EA8
secondary
#D9F2EB
accent
#D39E12
background
#FFFAFB
surface
#FFF5F7
border
#D7CFD0
text
#171112
muted
#858081

Preview Lab

Preview with #EC8EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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