#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 |
|---|---|
| RGB | rgb(236, 126, 207) |
| HSL | hsl(316, 74%, 71%) |
| HSV | hsv(316, 47%, 93%) |
| CMYK | cmyk(0%, 46.6%, 12.3%, 7.5%) |
| CIE-LAB | lab(67.47, 52.56, -23.09) |
| CIE-LCH | lch(67.47, 57.41, 336.28°) |
| OKLab | oklab(74.08% 0.1534 -0.062) |
| OKLCH | oklch(74.08% 0.165 338) |
| XYZ | xyz(53.3157, 37.2631, 63.4037) |
| Luminance | 0.3726 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Lavender Pink
#DD85D7
ΔE00 3.71
Bubblegum Pink
#FE83CC
ΔE00 4.07
Purply Pink
#F075E6
ΔE00 4.89
Violet (CSS)
#EE82EE
ΔE00 5.59
Orchid
#DA70D6
ΔE00 5.88
Pink (survey)
#FF81C0
ΔE00 6.01
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 |
|---|---|---|---|---|
| ##EC7ECF | 1.00 | 2.48 | 8.45 | 8.45 |
| #FFFFFF | 2.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.45 | 21.00 | 1.00 | 1.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