#EC8DA7#EC8DA7

#EC8DA7 is a light, moderate pink. Relative luminance 0.397; OKLCH L 75.0% C 0.119 H 2.7°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#EC8DA7
RGBrgb(236, 141, 167)
HSLhsl(344, 71%, 74%)
HSVhsv(344, 40%, 93%)
CMYKcmyk(0%, 40.3%, 29.2%, 7.5%)
CIE-LABlab(69.24, 39.14, 1.93)
CIE-LCHlch(69.24, 39.19, 2.83°)
OKLaboklab(75% 0.1185 0.0056)
OKLCHoklch(75% 0.119 2.7)
XYZxyz(51.0937, 39.6765, 41.5190)
Luminance0.3967 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8DA7 #8DECD2
analogous
#EC8DD7 #EC8DA7 #ECA38D
triadic
#EC8DA7 #A7EC8D #8DA7EC
tetradic
#EC8DA7 #D7EC8D #8DECD2 #A38DEC
square
#EC8DA7 #D7EC8D #8DECD2 #A38DEC
split-complementary
#EC8DA7 #8DECA3 #8DD7EC
monochromatic
#DA2456 #E3597F #EC8DA7 #F5C1CF #FBE5EB

Accessibility & contrast

On white

2.35
#EC8DA7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.93
#EC8DA7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8DA7
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8DA7#FFFFFF#000000##000000
##EC8DA71.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B9EA8
Deuteranopia (green-blind)
#B3B0A5
Tritanopia (blue-blind)
#FB8696
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #ec8da7;
/* rgb */ color: rgb(236, 141, 167);
/* oklch */ color: oklch(75.0% 0.119 2.7);
Tailwind
colors: {
  custom: {
    50: '#f4b0c1',
    500: '#ec8da7',
    950: '#000000',
  },
}
SCSS
$custom: #ec8da7;
$custom-light: #f4b0c1;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8da7",
  "rgb": {
    "r": 236,
    "g": 141,
    "b": 167
  },
  "hsl": {
    "h": 343.579,
    "s": 71.429,
    "l": 73.922
  },
  "oklch": {
    "l": 0.75001,
    "c": 0.11862,
    "h": 2.7
  },
  "luminance": 0.39673
}

Semantic roles & 50–950 ramp

primary
#EC8DA7
secondary
#D9F2EB
accent
#D39F12
background
#FFFAFB
surface
#FFF5F7
border
#D7CFD0
text
#171012
muted
#857F81

Preview Lab

Preview with #EC8DA7

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

Preview Lab → · Contrast checker → · Palette generator →

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