#EC8DB2#EC8DB2

#EC8DB2 is a light, vivid pink. Relative luminance 0.401; OKLCH L 75.3% C 0.123 H 355.6°. Best body text is #000000 at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#EC8DB2
RGBrgb(236, 141, 178)
HSLhsl(337, 71%, 74%)
HSVhsv(337, 40%, 93%)
CMYKcmyk(0%, 40.3%, 24.6%, 7.5%)
CIE-LABlab(69.54, 40.63, -3.78)
CIE-LCHlch(69.54, 40.81, 354.69°)
OKLaboklab(75.33% 0.1223 -0.0094)
OKLCHoklch(75.33% 0.123 355.6)
XYZxyz(52.1541, 40.1007, 47.1041)
Luminance0.4010 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8DB2 #8DECC7
analogous
#EC8DE2 #EC8DB2 #EC988D
triadic
#EC8DB2 #B2EC8D #8DB2EC
tetradic
#EC8DB2 #E2EC8D #8DECC7 #988DEC
square
#EC8DB2 #E2EC8D #8DECC7 #988DEC
split-complementary
#EC8DB2 #8DEC98 #8DE2EC
monochromatic
#DA246B #E3598F #EC8DB2 #F5C1D5 #FBE5ED

Accessibility & contrast

On white

2.33
#EC8DB2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.02
#EC8DB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8DB2
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8DB2#FFFFFF#000000##000000
##EC8DB21.002.339.029.02
#FFFFFF2.331.0021.0021.00
#0000009.0221.001.001.00
##0000009.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#99A0B3
Deuteranopia (green-blind)
#B0B0B0
Tritanopia (blue-blind)
#FA889A
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #ec8db2;
/* rgb */ color: rgb(236, 141, 178);
/* oklch */ color: oklch(75.3% 0.123 355.6);
Tailwind
colors: {
  custom: {
    50: '#f4b0c9',
    500: '#ec8db2',
    950: '#000000',
  },
}
SCSS
$custom: #ec8db2;
$custom-light: #f4b0c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8db2",
  "rgb": {
    "r": 236,
    "g": 141,
    "b": 178
  },
  "hsl": {
    "h": 336.632,
    "s": 71.429,
    "l": 73.922
  },
  "oklch": {
    "l": 0.75331,
    "c": 0.12268,
    "h": 355.6
  },
  "luminance": 0.40097
}

Semantic roles & 50–950 ramp

primary
#EC8DB2
secondary
#D9F2E8
accent
#D38812
background
#FFFAFC
surface
#FFF5F8
border
#D7CFD1
text
#171113
muted
#858082

Preview Lab

Preview with #EC8DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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