#EC8EBB#EC8EBB

#EC8EBB is a light, vivid pink. Relative luminance 0.408; OKLCH L 75.8% C 0.126 H 350.4°. Best body text is #000000 at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#EC8EBB
RGBrgb(236, 142, 187)
HSLhsl(331, 71%, 74%)
HSVhsv(331, 40%, 93%)
CMYKcmyk(0%, 39.8%, 20.8%, 7.5%)
CIE-LABlab(70.01, 41.40, -8.10)
CIE-LCHlch(70.01, 42.18, 348.93°)
OKLaboklab(75.78% 0.1238 -0.021)
OKLCHoklch(75.78% 0.126 350.4)
XYZxyz(53.2357, 40.7703, 52.0696)
Luminance0.4077 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8EBB #8EECBF
analogous
#EC8EEA #EC8EBB #EC908E
triadic
#EC8EBB #BBEC8E #8EBBEC
tetradic
#EC8EBB #EAEC8E #8EECBF #908EEC
square
#EC8EBB #EAEC8E #8EECBF #908EEC
split-complementary
#EC8EBB #8EEC90 #8EEAEC
monochromatic
#DA257C #E35A9B #EC8EBB #F5C2DB #FBE5EF

Accessibility & contrast

On white

2.29
#EC8EBB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.15
#EC8EBB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8EBB
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8EBB#FFFFFF#000000##000000
##EC8EBB1.002.299.159.15
#FFFFFF2.291.0021.0021.00
#0000009.1521.001.001.00
##0000009.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#97A1BD
Deuteranopia (green-blind)
#AFB1B9
Tritanopia (blue-blind)
#F98B9E
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #ec8ebb;
/* rgb */ color: rgb(236, 142, 187);
/* oklch */ color: oklch(75.8% 0.126 350.4);
Tailwind
colors: {
  custom: {
    50: '#f4b0cf',
    500: '#ec8ebb',
    950: '#000000',
  },
}
SCSS
$custom: #ec8ebb;
$custom-light: #f4b0cf;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8ebb",
  "rgb": {
    "r": 236,
    "g": 142,
    "b": 187
  },
  "hsl": {
    "h": 331.277,
    "s": 71.212,
    "l": 74.118
  },
  "oklch": {
    "l": 0.75777,
    "c": 0.12553,
    "h": 350.4
  },
  "luminance": 0.40767
}

Semantic roles & 50–950 ramp

primary
#EC8EBB
secondary
#D9F2E6
accent
#D37712
background
#FFFBFC
surface
#FFF6F9
border
#D7D0D2
text
#171113
muted
#858082

Preview Lab

Preview with #EC8EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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