#EC8EB2#EC8EB2

#EC8EB2 is a light, vivid pink. Relative luminance 0.404; OKLCH L 75.5% C 0.121 H 355.9°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#EC8EB2
RGBrgb(236, 142, 178)
HSLhsl(337, 71%, 74%)
HSVhsv(337, 40%, 93%)
CMYKcmyk(0%, 39.8%, 24.6%, 7.5%)
CIE-LABlab(69.75, 40.11, -3.47)
CIE-LCHlch(69.75, 40.26, 355.06°)
OKLaboklab(75.49% 0.1208 -0.0086)
OKLCHoklch(75.49% 0.121 355.9)
XYZxyz(52.3023, 40.3969, 47.1535)
Luminance0.4039 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8EB2 #8EECC8
analogous
#EC8EE1 #EC8EB2 #EC998E
triadic
#EC8EB2 #B2EC8E #8EB2EC
tetradic
#EC8EB2 #E1EC8E #8EECC8 #998EEC
square
#EC8EB2 #E1EC8E #8EECC8 #998EEC
split-complementary
#EC8EB2 #8EEC99 #8EE1EC
monochromatic
#DA256B #E35A8E #EC8EB2 #F5C2D6 #FBE5ED

Accessibility & contrast

On white

2.31
#EC8EB2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.08
#EC8EB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8EB2
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8EB2#FFFFFF#000000##000000
##EC8EB21.002.319.089.08
#FFFFFF2.311.0021.0021.00
#0000009.0821.001.001.00
##0000009.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9AA0B3
Deuteranopia (green-blind)
#B1B1B0
Tritanopia (blue-blind)
#FA899B
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #ec8eb2;
/* rgb */ color: rgb(236, 142, 178);
/* oklch */ color: oklch(75.5% 0.121 355.9);
Tailwind
colors: {
  custom: {
    50: '#f4b0c9',
    500: '#ec8eb2',
    950: '#000000',
  },
}
SCSS
$custom: #ec8eb2;
$custom-light: #f4b0c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8eb2",
  "rgb": {
    "r": 236,
    "g": 142,
    "b": 178
  },
  "hsl": {
    "h": 337.021,
    "s": 71.212,
    "l": 74.118
  },
  "oklch": {
    "l": 0.7549,
    "c": 0.12108,
    "h": 355.9
  },
  "luminance": 0.40393
}

Semantic roles & 50–950 ramp

primary
#EC8EB2
secondary
#D9F2E8
accent
#D38912
background
#FFFBFC
surface
#FFF6F8
border
#D7D0D1
text
#171113
muted
#858082

Preview Lab

Preview with #EC8EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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