#EC7EBD#EC7EBD

#EC7EBD is a light, vivid pink. Relative luminance 0.364; OKLCH L 73.4% C 0.153 H 346.1°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#EC7EBD
RGBrgb(236, 126, 189)
HSLhsl(326, 74%, 71%)
HSVhsv(326, 47%, 93%)
CMYKcmyk(0%, 46.6%, 19.9%, 7.5%)
CIE-LABlab(66.85, 49.83, -13.95)
CIE-LCHlch(66.85, 51.74, 344.35°)
OKLaboklab(73.41% 0.1486 -0.0367)
OKLCHoklch(73.41% 0.153 346.1)
XYZxyz(51.2393, 36.4325, 52.4677)
Luminance0.3643 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7EBD #7EECAD
analogous
#E47EEC #EC7EBD #EC7E86
triadic
#EC7EBD #BDEC7E #7EBDEC
tetradic
#EC7EBD #ECE47E #7EECAD #7E86EC
square
#EC7EBD #ECE47E #7EECAD #7E86EC
split-complementary
#EC7EBD #86EC7E #7EECE4
monochromatic
#D11F85 #E449A2 #EC7EBD #F4B3D8 #FBE4F1

Accessibility & contrast

On white

2.53
#EC7EBD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.29
#EC7EBD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7EBD
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7EBD#FFFFFF#000000##000000
##EC7EBD1.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8797BF
Deuteranopia (green-blind)
#A4AABA
Tritanopia (blue-blind)
#F97D96
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #ec7ebd;
/* rgb */ color: rgb(236, 126, 189);
/* oklch */ color: oklch(73.4% 0.153 346.1);
Tailwind
colors: {
  custom: {
    50: '#f4a6d1',
    500: '#ec7ebd',
    950: '#000000',
  },
}
SCSS
$custom: #ec7ebd;
$custom-light: #f4a6d1;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7ebd",
  "rgb": {
    "r": 236,
    "g": 126,
    "b": 189
  },
  "hsl": {
    "h": 325.636,
    "s": 74.324,
    "l": 70.98
  },
  "oklch": {
    "l": 0.73409,
    "c": 0.15309,
    "h": 346.1
  },
  "luminance": 0.36429
}

Semantic roles & 50–950 ramp

primary
#EC7EBD
secondary
#D4F2E1
accent
#D6640F
background
#FFFAFC
surface
#FFF4F9
border
#D7CED2
text
#171014
muted
#857F82

Preview Lab

Preview with #EC7EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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