#EC8EC3#EC8EC3

#EC8EC3 is a light, vivid pink. Relative luminance 0.411; OKLCH L 76.0% C 0.130 H 345.8°. Best body text is #000000 at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#EC8EC3
RGBrgb(236, 142, 195)
HSLhsl(326, 71%, 74%)
HSVhsv(326, 40%, 93%)
CMYKcmyk(0%, 39.8%, 17.4%, 7.5%)
CIE-LABlab(70.26, 42.59, -12.18)
CIE-LCHlch(70.26, 44.30, 344.04°)
OKLaboklab(76.05% 0.1263 -0.032)
OKLCHoklch(76.05% 0.13 345.8)
XYZxyz(54.1161, 41.1225, 56.7063)
Luminance0.4112 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8EC3 #8EECB7
analogous
#E68EEC #EC8EC3 #EC8E94
triadic
#EC8EC3 #C3EC8E #8EC3EC
tetradic
#EC8EC3 #ECE68E #8EECB7 #8E94EC
square
#EC8EC3 #ECE68E #8EECB7 #8E94EC
split-complementary
#EC8EC3 #94EC8E #8EECE6
monochromatic
#DA258B #E35AA7 #EC8EC3 #F5C2DF #FBE5F1

Accessibility & contrast

On white

2.28
#EC8EC3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.22
#EC8EC3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8EC3
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8EC3#FFFFFF#000000##000000
##EC8EC31.002.289.229.22
#FFFFFF2.281.0021.0021.00
#0000009.2221.001.001.00
##0000009.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#95A2C5
Deuteranopia (green-blind)
#ADB2C1
Tritanopia (blue-blind)
#F88DA1
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #ec8ec3;
/* rgb */ color: rgb(236, 142, 195);
/* oklch */ color: oklch(76.0% 0.130 345.8);
Tailwind
colors: {
  custom: {
    50: '#f4b1d5',
    500: '#ec8ec3',
    950: '#000000',
  },
}
SCSS
$custom: #ec8ec3;
$custom-light: #f4b1d5;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8ec3",
  "rgb": {
    "r": 236,
    "g": 142,
    "b": 195
  },
  "hsl": {
    "h": 326.17,
    "s": 71.212,
    "l": 74.118
  },
  "oklch": {
    "l": 0.76046,
    "c": 0.13028,
    "h": 345.8
  },
  "luminance": 0.41119
}

Semantic roles & 50–950 ramp

primary
#EC8EC3
secondary
#D9F2E4
accent
#D36612
background
#FFFBFD
surface
#FEF6FA
border
#D6D0D3
text
#171114
muted
#858083

Preview Lab

Preview with #EC8EC3

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

Preview Lab → · Contrast checker → · Palette generator →

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