#EC7BD8#EC7BD8

#EC7BD8 is a light, vivid pink. Relative luminance 0.370; OKLCH L 74.0% C 0.177 H 334.3°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#EC7BD8
RGBrgb(236, 123, 216)
HSLhsl(311, 75%, 70%)
HSVhsv(311, 48%, 93%)
CMYKcmyk(0%, 47.9%, 8.5%, 7.5%)
CIE-LABlab(67.25, 55.47, -28.46)
CIE-LCHlch(67.25, 62.34, 332.84°)
OKLaboklab(74.02% 0.1598 -0.077)
OKLCHoklch(74.02% 0.177 334.3)
XYZxyz(54.0697, 36.9601, 69.2385)
Luminance0.3696 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7BD8 #7BEC8F
analogous
#C77BEC #EC7BD8 #EC7BA0
triadic
#EC7BD8 #D8EC7B #7BD8EC
tetradic
#EC7BD8 #ECC77B #7BEC8F #7BA0EC
square
#EC7BD8 #ECC77B #7BEC8F #7BA0EC
split-complementary
#EC7BD8 #A0EC7B #7BECC7
monochromatic
#CF1EAF #E446C8 #EC7BD8 #F4B0E8 #FBE4F7

Accessibility & contrast

On white

2.50
#EC7BD8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.39
#EC7BD8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7BD8
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7BD8#FFFFFF#000000##000000
##EC7BD81.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A99DB
Deuteranopia (green-blind)
#9AAAD5
Tritanopia (blue-blind)
#F581A0
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ec7bd8;
/* rgb */ color: rgb(236, 123, 216);
/* oklch */ color: oklch(74.0% 0.177 334.3);
Tailwind
colors: {
  custom: {
    50: '#f4a5e4',
    500: '#ec7bd8',
    950: '#000000',
  },
}
SCSS
$custom: #ec7bd8;
$custom-light: #f4a5e4;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7bd8",
  "rgb": {
    "r": 236,
    "g": 123,
    "b": 216
  },
  "hsl": {
    "h": 310.619,
    "s": 74.834,
    "l": 70.392
  },
  "oklch": {
    "l": 0.74025,
    "c": 0.17736,
    "h": 334.3
  },
  "luminance": 0.36957
}

Semantic roles & 50–950 ramp

primary
#EC7BD8
secondary
#D2F1D7
accent
#D7320F
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#170F15
muted
#857F83

Preview Lab

Preview with #EC7BD8

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

Preview Lab → · Contrast checker → · Palette generator →

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