#EC7BD2#EC7BD2

#EC7BD2 is a light, vivid pink. Relative luminance 0.367; OKLCH L 73.8% C 0.173 H 336.6°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#EC7BD2
RGBrgb(236, 123, 210)
HSLhsl(314, 75%, 70%)
HSVhsv(314, 48%, 93%)
CMYKcmyk(0%, 47.9%, 11%, 7.5%)
CIE-LABlab(67.02, 54.50, -25.46)
CIE-LCHlch(67.02, 60.16, 334.96°)
OKLaboklab(73.78% 0.1584 -0.0686)
OKLCHoklch(73.78% 0.173 336.6)
XYZxyz(53.3081, 36.6555, 65.2277)
Luminance0.3665 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7BD2 #7BEC95
analogous
#CD7BEC #EC7BD2 #EC7B9A
triadic
#EC7BD2 #D2EC7B #7BD2EC
tetradic
#EC7BD2 #ECCD7B #7BEC95 #7B9AEC
square
#EC7BD2 #ECCD7B #7BEC95 #7B9AEC
split-complementary
#EC7BD2 #9AEC7B #7BECCD
monochromatic
#CF1EA6 #E446C0 #EC7BD2 #F4B0E4 #FBE4F6

Accessibility & contrast

On white

2.52
#EC7BD2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.33
#EC7BD2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7BD2
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7BD2#FFFFFF#000000##000000
##EC7BD21.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D98D5
Deuteranopia (green-blind)
#9CA9CF
Tritanopia (blue-blind)
#F67F9D
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #ec7bd2;
/* rgb */ color: rgb(236, 123, 210);
/* oklch */ color: oklch(73.8% 0.173 336.6);
Tailwind
colors: {
  custom: {
    50: '#f4a5e0',
    500: '#ec7bd2',
    950: '#000000',
  },
}
SCSS
$custom: #ec7bd2;
$custom-light: #f4a5e0;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7bd2",
  "rgb": {
    "r": 236,
    "g": 123,
    "b": 210
  },
  "hsl": {
    "h": 313.805,
    "s": 74.834,
    "l": 70.392
  },
  "oklch": {
    "l": 0.73779,
    "c": 0.17265,
    "h": 336.6
  },
  "luminance": 0.36652
}

Semantic roles & 50–950 ramp

primary
#EC7BD2
secondary
#D2F1D9
accent
#D73D0F
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#170F15
muted
#857F83

Preview Lab

Preview with #EC7BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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