#EC7BD4#EC7BD4

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

Color values

HEX#EC7BD4
RGBrgb(236, 123, 212)
HSLhsl(313, 75%, 70%)
HSVhsv(313, 48%, 93%)
CMYKcmyk(0%, 47.9%, 10.2%, 7.5%)
CIE-LABlab(67.09, 54.82, -26.46)
CIE-LCHlch(67.09, 60.88, 334.23°)
OKLaboklab(73.86% 0.1589 -0.0714)
OKLCHoklch(73.86% 0.174 335.8)
XYZxyz(53.5588, 36.7558, 66.5482)
Luminance0.3675 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7BD4 #7BEC93
analogous
#CB7BEC #EC7BD4 #EC7B9C
triadic
#EC7BD4 #D4EC7B #7BD4EC
tetradic
#EC7BD4 #ECCB7B #7BEC93 #7B9CEC
square
#EC7BD4 #ECCB7B #7BEC93 #7B9CEC
split-complementary
#EC7BD4 #9CEC7B #7BECCB
monochromatic
#CF1EA9 #E446C3 #EC7BD4 #F4B0E5 #FBE4F6

Accessibility & contrast

On white

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

On black

8.35
#EC7BD4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7BD4
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7BD4#FFFFFF#000000##000000
##EC7BD41.002.518.358.35
#FFFFFF2.511.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ec7bd4;
/* rgb */ color: rgb(236, 123, 212);
/* oklch */ color: oklch(73.9% 0.174 335.8);
Tailwind
colors: {
  custom: {
    50: '#f4a5e1',
    500: '#ec7bd4',
    950: '#000000',
  },
}
SCSS
$custom: #ec7bd4;
$custom-light: #f4a5e1;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7bd4",
  "rgb": {
    "r": 236,
    "g": 123,
    "b": 212
  },
  "hsl": {
    "h": 312.743,
    "s": 74.834,
    "l": 70.392
  },
  "oklch": {
    "l": 0.7386,
    "c": 0.1742,
    "h": 335.8
  },
  "luminance": 0.36752
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC7BD4

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

Preview Lab → · Contrast checker → · Palette generator →

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