#EC8EC6#EC8EC6

#EC8EC6 is a light, vivid pink. Relative luminance 0.413; OKLCH L 76.1% C 0.132 H 344.1°. Best body text is #000000 at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#EC8EC6
RGBrgb(236, 142, 198)
HSLhsl(324, 71%, 74%)
HSVhsv(324, 40%, 93%)
CMYKcmyk(0%, 39.8%, 16.1%, 7.5%)
CIE-LABlab(70.36, 43.06, -13.71)
CIE-LCHlch(70.36, 45.18, 342.34°)
OKLaboklab(76.15% 0.1272 -0.0362)
OKLCHoklch(76.15% 0.132 344.1)
XYZxyz(54.4587, 41.2595, 58.5106)
Luminance0.4126 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8EC6 #8EECB4
analogous
#E38EEC #EC8EC6 #EC8E97
triadic
#EC8EC6 #C6EC8E #8EC6EC
tetradic
#EC8EC6 #ECE38E #8EECB4 #8E97EC
square
#EC8EC6 #ECE38E #8EECB4 #8E97EC
split-complementary
#EC8EC6 #97EC8E #8EECE3
monochromatic
#DA2591 #E35AAC #EC8EC6 #F5C2E0 #FBE5F2

Accessibility & contrast

On white

2.27
#EC8EC6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.25
#EC8EC6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8EC6
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8EC6#FFFFFF#000000##000000
##EC8EC61.002.279.259.25
#FFFFFF2.271.0021.0021.00
#0000009.2521.001.001.00
##0000009.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#94A3C8
Deuteranopia (green-blind)
#ACB2C3
Tritanopia (blue-blind)
#F78EA2
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #ec8ec6;
/* rgb */ color: rgb(236, 142, 198);
/* oklch */ color: oklch(76.1% 0.132 344.1);
Tailwind
colors: {
  custom: {
    50: '#f4b1d7',
    500: '#ec8ec6',
    950: '#000000',
  },
}
SCSS
$custom: #ec8ec6;
$custom-light: #f4b1d7;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8ec6",
  "rgb": {
    "r": 236,
    "g": 142,
    "b": 198
  },
  "hsl": {
    "h": 324.255,
    "s": 71.212,
    "l": 74.118
  },
  "oklch": {
    "l": 0.7615,
    "c": 0.13224,
    "h": 344.1
  },
  "luminance": 0.41256
}

Semantic roles & 50–950 ramp

primary
#EC8EC6
secondary
#D9F2E3
accent
#D36012
background
#FFFBFD
surface
#FEF6FA
border
#D6D0D3
text
#171114
muted
#858083

Preview Lab

Preview with #EC8EC6

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

Preview Lab → · Contrast checker → · Palette generator →

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