#EC8EB3#EC8EB3

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

Color values

HEX#EC8EB3
RGBrgb(236, 142, 179)
HSLhsl(336, 71%, 74%)
HSVhsv(336, 40%, 93%)
CMYKcmyk(0%, 39.8%, 24.2%, 7.5%)
CIE-LABlab(69.78, 40.25, -3.98)
CIE-LCHlch(69.78, 40.45, 354.35°)
OKLaboklab(75.52% 0.1211 -0.01)
OKLCHoklch(75.52% 0.122 355.3)
XYZxyz(52.4030, 40.4372, 47.6842)
Luminance0.4043 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8EB3 #8EECC7
analogous
#EC8EE2 #EC8EB3 #EC988E
triadic
#EC8EB3 #B3EC8E #8EB3EC
tetradic
#EC8EB3 #E2EC8E #8EECC7 #988EEC
square
#EC8EB3 #E2EC8E #8EECC7 #988EEC
split-complementary
#EC8EB3 #8EEC98 #8EE2EC
monochromatic
#DA256D #E35A90 #EC8EB3 #F5C2D6 #FBE5ED

Accessibility & contrast

On white

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

On black

9.09
#EC8EB3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8EB3
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8EB3#FFFFFF#000000##000000
##EC8EB31.002.319.099.09
#FFFFFF2.311.0021.0021.00
#0000009.0921.001.001.00
##0000009.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#99A0B4
Deuteranopia (green-blind)
#B1B1B1
Tritanopia (blue-blind)
#FA8A9B
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #ec8eb3;
/* rgb */ color: rgb(236, 142, 179);
/* oklch */ color: oklch(75.5% 0.122 355.3);
Tailwind
colors: {
  custom: {
    50: '#f4b0c9',
    500: '#ec8eb3',
    950: '#000000',
  },
}
SCSS
$custom: #ec8eb3;
$custom-light: #f4b0c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8eb3",
  "rgb": {
    "r": 236,
    "g": 142,
    "b": 179
  },
  "hsl": {
    "h": 336.383,
    "s": 71.212,
    "l": 74.118
  },
  "oklch": {
    "l": 0.75522,
    "c": 0.12152,
    "h": 355.3
  },
  "luminance": 0.40434
}

Semantic roles & 50–950 ramp

primary
#EC8EB3
secondary
#D9F2E8
accent
#D38712
background
#FFFBFC
surface
#FFF6F8
border
#D7D0D1
text
#171113
muted
#858082

Preview Lab

Preview with #EC8EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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