#EC7BD7#EC7BD7

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

Color values

HEX#EC7BD7
RGBrgb(236, 123, 215)
HSLhsl(311, 75%, 70%)
HSVhsv(311, 48%, 93%)
CMYKcmyk(0%, 47.9%, 8.9%, 7.5%)
CIE-LABlab(67.21, 55.31, -27.96)
CIE-LCHlch(67.21, 61.97, 333.18°)
OKLaboklab(73.98% 0.1595 -0.0756)
OKLCHoklch(73.98% 0.177 334.6)
XYZxyz(53.9408, 36.9086, 68.5598)
Luminance0.3690 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7BD7 #7BEC90
analogous
#C87BEC #EC7BD7 #EC7B9F
triadic
#EC7BD7 #D7EC7B #7BD7EC
tetradic
#EC7BD7 #ECC87B #7BEC90 #7B9FEC
square
#EC7BD7 #ECC87B #7BEC90 #7B9FEC
split-complementary
#EC7BD7 #9FEC7B #7BECC8
monochromatic
#CF1EAE #E446C7 #EC7BD7 #F4B0E7 #FBE4F7

Accessibility & contrast

On white

2.51
#EC7BD7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.38
#EC7BD7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7BD7
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7BD7#FFFFFF#000000##000000
##EC7BD71.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B99DA
Deuteranopia (green-blind)
#9AAAD4
Tritanopia (blue-blind)
#F5819F
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ec7bd7;
/* rgb */ color: rgb(236, 123, 215);
/* oklch */ color: oklch(74.0% 0.177 334.6);
Tailwind
colors: {
  custom: {
    50: '#f4a5e3',
    500: '#ec7bd7',
    950: '#000000',
  },
}
SCSS
$custom: #ec7bd7;
$custom-light: #f4a5e3;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7bd7",
  "rgb": {
    "r": 236,
    "g": 123,
    "b": 215
  },
  "hsl": {
    "h": 311.15,
    "s": 74.834,
    "l": 70.392
  },
  "oklch": {
    "l": 0.73984,
    "c": 0.17657,
    "h": 334.6
  },
  "luminance": 0.36905
}

Semantic roles & 50–950 ramp

primary
#EC7BD7
secondary
#D2F1D8
accent
#D7340F
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#170F15
muted
#857F83

Preview Lab

Preview with #EC7BD7

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

Preview Lab → · Contrast checker → · Palette generator →

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