#EC7FBD#EC7FBD

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

Color values

HEX#EC7FBD
RGBrgb(236, 127, 189)
HSLhsl(326, 74%, 71%)
HSVhsv(326, 46%, 93%)
CMYKcmyk(0%, 46.2%, 19.9%, 7.5%)
CIE-LABlab(67.04, 49.33, -13.66)
CIE-LCHlch(67.04, 51.19, 344.52°)
OKLaboklab(73.56% 0.1471 -0.036)
OKLCHoklch(73.56% 0.151 346.3)
XYZxyz(51.3678, 36.6896, 52.5105)
Luminance0.3669 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7FBD #7FECAE
analogous
#E57FEC #EC7FBD #EC7F86
triadic
#EC7FBD #BDEC7F #7FBDEC
tetradic
#EC7FBD #ECE57F #7FECAE #7F86EC
square
#EC7FBD #ECE57F #7FECAE #7F86EC
split-complementary
#EC7FBD #86EC7F #7FECE5
monochromatic
#D21F85 #E44AA2 #EC7FBD #F4B4D8 #FBE4F1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EC7FBD#FFFFFF#000000##000000
##EC7FBD1.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)
#8898BF
Deuteranopia (green-blind)
#A5AABA
Tritanopia (blue-blind)
#F97E96
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #ec7fbd;
/* rgb */ color: rgb(236, 127, 189);
/* oklch */ color: oklch(73.6% 0.151 346.3);
Tailwind
colors: {
  custom: {
    50: '#f4a7d1',
    500: '#ec7fbd',
    950: '#000000',
  },
}
SCSS
$custom: #ec7fbd;
$custom-light: #f4a7d1;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7fbd",
  "rgb": {
    "r": 236,
    "g": 127,
    "b": 189
  },
  "hsl": {
    "h": 325.872,
    "s": 74.15,
    "l": 71.176
  },
  "oklch": {
    "l": 0.73555,
    "c": 0.15145,
    "h": 346.3
  },
  "luminance": 0.36686
}

Semantic roles & 50–950 ramp

primary
#EC7FBD
secondary
#D5F2E1
accent
#D6650F
background
#FFFAFC
surface
#FFF4F9
border
#D7CED2
text
#171014
muted
#857F82

Preview Lab

Preview with #EC7FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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