#EC7BD5#EC7BD5

#EC7BD5 is a light, vivid pink. Relative luminance 0.368; OKLCH L 73.9% C 0.175 H 335.4°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#EC7BD5
RGBrgb(236, 123, 213)
HSLhsl(312, 75%, 70%)
HSVhsv(312, 48%, 93%)
CMYKcmyk(0%, 47.9%, 9.7%, 7.5%)
CIE-LABlab(67.13, 54.98, -26.96)
CIE-LCHlch(67.13, 61.24, 333.88°)
OKLaboklab(73.9% 0.1591 -0.0728)
OKLCHoklch(73.9% 0.175 335.4)
XYZxyz(53.6854, 36.8064, 67.2146)
Luminance0.3680 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7BD5 #7BEC92
analogous
#CA7BEC #EC7BD5 #EC7B9D
triadic
#EC7BD5 #D5EC7B #7BD5EC
tetradic
#EC7BD5 #ECCA7B #7BEC92 #7B9DEC
square
#EC7BD5 #ECCA7B #7BEC92 #7B9DEC
split-complementary
#EC7BD5 #9DEC7B #7BECCA
monochromatic
#CF1EAB #E446C4 #EC7BD5 #F4B0E6 #FBE4F6

Accessibility & contrast

On white

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

On black

8.36
#EC7BD5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7BD5
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7BD5#FFFFFF#000000##000000
##EC7BD51.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C99D8
Deuteranopia (green-blind)
#9BAAD2
Tritanopia (blue-blind)
#F6809E
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #ec7bd5;
/* rgb */ color: rgb(236, 123, 213);
/* oklch */ color: oklch(73.9% 0.175 335.4);
Tailwind
colors: {
  custom: {
    50: '#f4a5e2',
    500: '#ec7bd5',
    950: '#000000',
  },
}
SCSS
$custom: #ec7bd5;
$custom-light: #f4a5e2;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7bd5",
  "rgb": {
    "r": 236,
    "g": 123,
    "b": 213
  },
  "hsl": {
    "h": 312.212,
    "s": 74.834,
    "l": 70.392
  },
  "oklch": {
    "l": 0.73901,
    "c": 0.17498,
    "h": 335.4
  },
  "luminance": 0.36803
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC7BD5

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

Preview Lab → · Contrast checker → · Palette generator →

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