#EC7FCF#EC7FCF
#EC7FCF is a light, vivid pink. Relative luminance 0.375; OKLCH L 74.2% C 0.164 H 338.1°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).
Color values
| HEX | #EC7FCF |
|---|---|
| RGB | rgb(236, 127, 207) |
| HSL | hsl(316, 74%, 71%) |
| HSV | hsv(316, 46%, 93%) |
| CMYK | cmyk(0%, 46.2%, 12.3%, 7.5%) |
| CIE-LAB | lab(67.67, 52.06, -22.80) |
| CIE-LCH | lch(67.67, 56.84, 336.35°) |
| OKLab | oklab(74.23% 0.152 -0.0612) |
| OKLCH | oklch(74.23% 0.164 338.1) |
| XYZ | xyz(53.4443, 37.5201, 63.4466) |
| Luminance | 0.3752 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Lavender Pink
#DD85D7
ΔE00 3.69
Bubblegum Pink
#FE83CC
ΔE00 3.96
Purply Pink
#F075E6
ΔE00 5.03
Violet (CSS)
#EE82EE
ΔE00 5.64
Pink (survey)
#FF81C0
ΔE00 5.91
Orchid
#DA70D6
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EC7FCF #7FEC9C
analogous
#D27FEC #EC7FCF #EC7F98
triadic
#EC7FCF #CFEC7F #7FCFEC
tetradic
#EC7FCF #ECD27F #7FEC9C #7F98EC
square
#EC7FCF #ECD27F #7FEC9C #7F98EC
split-complementary
#EC7FCF #98EC7F #7FECD2
monochromatic
#D21FA2 #E44ABB #EC7FCF #F4B4E3 #FBE4F5
Accessibility & contrast
On white
2.47
#EC7FCF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.50
#EC7FCF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EC7FCF
8.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EC7FCF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EC7FCF | 1.00 | 2.47 | 8.50 | 8.50 |
| #FFFFFF | 2.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#829AD2
Deuteranopia (green-blind)
#9FABCC
Tritanopia (blue-blind)
#F6829E
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #ec7fcf; /* rgb */ color: rgb(236, 127, 207); /* oklch */ color: oklch(74.2% 0.164 338.1);
Tailwind
colors: {
custom: {
50: '#f4a7dd',
500: '#ec7fcf',
950: '#000000',
},
}SCSS
$custom: #ec7fcf; $custom-light: #f4a7dd; $custom-dark: #000000;
JSON
{
"hex": "#ec7fcf",
"rgb": {
"r": 236,
"g": 127,
"b": 207
},
"hsl": {
"h": 315.963,
"s": 74.15,
"l": 71.176
},
"oklch": {
"l": 0.74226,
"c": 0.16383,
"h": 338.1
},
"luminance": 0.37517
}Semantic roles & 50–950 ramp
primary
#EC7FCF
secondary
#D5F2DD
accent
#D6440F
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#171015
muted
#857F83