#EC7ECF#EC7ECF

#EC7ECF is a light, vivid pink. Relative luminance 0.373; OKLCH L 74.1% C 0.165 H 338.0°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#EC7ECF
RGBrgb(236, 126, 207)
HSLhsl(316, 74%, 71%)
HSVhsv(316, 47%, 93%)
CMYKcmyk(0%, 46.6%, 12.3%, 7.5%)
CIE-LABlab(67.47, 52.56, -23.09)
CIE-LCHlch(67.47, 57.41, 336.28°)
OKLaboklab(74.08% 0.1534 -0.062)
OKLCHoklch(74.08% 0.165 338)
XYZxyz(53.3157, 37.2631, 63.4037)
Luminance0.3726 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7ECF #7EEC9B
analogous
#D27EEC #EC7ECF #EC7E98
triadic
#EC7ECF #CFEC7E #7ECFEC
tetradic
#EC7ECF #ECD27E #7EEC9B #7E98EC
square
#EC7ECF #ECD27E #7EEC9B #7E98EC
split-complementary
#EC7ECF #98EC7E #7EECD2
monochromatic
#D11FA2 #E449BB #EC7ECF #F4B3E3 #FBE4F5

Accessibility & contrast

On white

2.48
#EC7ECF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.45
#EC7ECF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7ECF
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7ECF#FFFFFF#000000##000000
##EC7ECF1.002.488.458.45
#FFFFFF2.481.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#819AD2
Deuteranopia (green-blind)
#9FABCC
Tritanopia (blue-blind)
#F6819D
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ec7ecf;
/* rgb */ color: rgb(236, 126, 207);
/* oklch */ color: oklch(74.1% 0.165 338.0);
Tailwind
colors: {
  custom: {
    50: '#f4a6dd',
    500: '#ec7ecf',
    950: '#000000',
  },
}
SCSS
$custom: #ec7ecf;
$custom-light: #f4a6dd;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7ecf",
  "rgb": {
    "r": 236,
    "g": 126,
    "b": 207
  },
  "hsl": {
    "h": 315.818,
    "s": 74.324,
    "l": 70.98
  },
  "oklch": {
    "l": 0.74083,
    "c": 0.16547,
    "h": 338
  },
  "luminance": 0.3726
}

Semantic roles & 50–950 ramp

primary
#EC7ECF
secondary
#D4F2DC
accent
#D6440F
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#171015
muted
#857F83

Preview Lab

Preview with #EC7ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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