#EC8FDB#EC8FDB

#EC8FDB is a light, vivid pink. Relative luminance 0.426; OKLCH L 77.1% C 0.147 H 333.9°. Best body text is #000000 at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#EC8FDB
RGBrgb(236, 143, 219)
HSLhsl(311, 71%, 74%)
HSVhsv(311, 39%, 93%)
CMYKcmyk(0%, 39.4%, 7.2%, 7.5%)
CIE-LABlab(71.28, 45.94, -23.93)
CIE-LCHlch(71.28, 51.80, 332.48°)
OKLaboklab(77.08% 0.1315 -0.0645)
OKLCHoklch(77.08% 0.147 333.9)
XYZxyz(57.2004, 42.5953, 72.2129)
Luminance0.4259 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8FDB #8FECA0
analogous
#CF8FEC #EC8FDB #EC8FAD
triadic
#EC8FDB #DBEC8F #8FDBEC
tetradic
#EC8FDB #ECCF8F #8FECA0 #8FADEC
square
#EC8FDB #ECCF8F #8FECA0 #8FADEC
split-complementary
#EC8FDB #ADEC8F #8FECCF
monochromatic
#DA26B9 #E35BCA #EC8FDB #F5C3EC #FBE5F7

Accessibility & contrast

On white

2.21
#EC8FDB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.52
#EC8FDB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8FDB
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8FDB#FFFFFF#000000##000000
##EC8FDB1.002.219.529.52
#FFFFFF2.211.0021.0021.00
#0000009.5221.001.001.00
##0000009.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EA6DE
Deuteranopia (green-blind)
#A6B3D8
Tritanopia (blue-blind)
#F494AB
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #ec8fdb;
/* rgb */ color: rgb(236, 143, 219);
/* oklch */ color: oklch(77.1% 0.147 333.9);
Tailwind
colors: {
  custom: {
    50: '#f4b1e6',
    500: '#ec8fdb',
    950: '#000000',
  },
}
SCSS
$custom: #ec8fdb;
$custom-light: #f4b1e6;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8fdb",
  "rgb": {
    "r": 236,
    "g": 143,
    "b": 219
  },
  "hsl": {
    "h": 310.968,
    "s": 70.992,
    "l": 74.314
  },
  "oklch": {
    "l": 0.77081,
    "c": 0.14651,
    "h": 333.9
  },
  "luminance": 0.42592
}

Semantic roles & 50–950 ramp

primary
#EC8FDB
secondary
#D9F2DD
accent
#D33612
background
#FFFBFE
surface
#FEF6FC
border
#D6D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #EC8FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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