#EC7BD3#EC7BD3

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

Color values

HEX#EC7BD3
RGBrgb(236, 123, 211)
HSLhsl(313, 75%, 70%)
HSVhsv(313, 48%, 93%)
CMYKcmyk(0%, 47.9%, 10.6%, 7.5%)
CIE-LABlab(67.06, 54.66, -25.96)
CIE-LCHlch(67.06, 60.52, 334.59°)
OKLaboklab(73.82% 0.1587 -0.07)
OKLCHoklch(73.82% 0.173 336.2)
XYZxyz(53.4331, 36.7055, 65.8859)
Luminance0.3670 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7BD3 #7BEC94
analogous
#CC7BEC #EC7BD3 #EC7B9B
triadic
#EC7BD3 #D3EC7B #7BD3EC
tetradic
#EC7BD3 #ECCC7B #7BEC94 #7B9BEC
square
#EC7BD3 #ECCC7B #7BEC94 #7B9BEC
split-complementary
#EC7BD3 #9BEC7B #7BECCC
monochromatic
#CF1EA8 #E446C1 #EC7BD3 #F4B0E5 #FBE4F6

Accessibility & contrast

On white

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

On black

8.34
#EC7BD3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7BD3
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7BD3#FFFFFF#000000##000000
##EC7BD31.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C99D6
Deuteranopia (green-blind)
#9BA9D0
Tritanopia (blue-blind)
#F6809D
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #ec7bd3;
/* rgb */ color: rgb(236, 123, 211);
/* oklch */ color: oklch(73.8% 0.173 336.2);
Tailwind
colors: {
  custom: {
    50: '#f4a5e0',
    500: '#ec7bd3',
    950: '#000000',
  },
}
SCSS
$custom: #ec7bd3;
$custom-light: #f4a5e0;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7bd3",
  "rgb": {
    "r": 236,
    "g": 123,
    "b": 211
  },
  "hsl": {
    "h": 313.274,
    "s": 74.834,
    "l": 70.392
  },
  "oklch": {
    "l": 0.73819,
    "c": 0.17342,
    "h": 336.2
  },
  "luminance": 0.36702
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC7BD3

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

Preview Lab → · Contrast checker → · Palette generator →

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