#EC7BD2#EC7BD2
#EC7BD2 is a light, vivid pink. Relative luminance 0.367; OKLCH L 73.8% C 0.173 H 336.6°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).
Color values
| HEX | #EC7BD2 |
|---|---|
| RGB | rgb(236, 123, 210) |
| HSL | hsl(314, 75%, 70%) |
| HSV | hsv(314, 48%, 93%) |
| CMYK | cmyk(0%, 47.9%, 11%, 7.5%) |
| CIE-LAB | lab(67.02, 54.50, -25.46) |
| CIE-LCH | lch(67.02, 60.16, 334.96°) |
| OKLab | oklab(73.78% 0.1584 -0.0686) |
| OKLCH | oklch(73.78% 0.173 336.6) |
| XYZ | xyz(53.3081, 36.6555, 65.2277) |
| Luminance | 0.3665 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Lavender Pink
#DD85D7
ΔE00 3.50
Purply Pink
#F075E6
ΔE00 3.93
Bubblegum Pink
#FE83CC
ΔE00 4.86
Violet (CSS)
#EE82EE
ΔE00 4.92
Orchid
#DA70D6
ΔE00 5.01
Candy Pink
#FF63E9
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EC7BD2 #7BEC95
analogous
#CD7BEC #EC7BD2 #EC7B9A
triadic
#EC7BD2 #D2EC7B #7BD2EC
tetradic
#EC7BD2 #ECCD7B #7BEC95 #7B9AEC
square
#EC7BD2 #ECCD7B #7BEC95 #7B9AEC
split-complementary
#EC7BD2 #9AEC7B #7BECCD
monochromatic
#CF1EA6 #E446C0 #EC7BD2 #F4B0E4 #FBE4F6
Accessibility & contrast
On white
2.52
#EC7BD2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.33
#EC7BD2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EC7BD2
8.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EC7BD2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EC7BD2 | 1.00 | 2.52 | 8.33 | 8.33 |
| #FFFFFF | 2.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.33 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.33 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7D98D5
Deuteranopia (green-blind)
#9CA9CF
Tritanopia (blue-blind)
#F67F9D
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #ec7bd2; /* rgb */ color: rgb(236, 123, 210); /* oklch */ color: oklch(73.8% 0.173 336.6);
Tailwind
colors: {
custom: {
50: '#f4a5e0',
500: '#ec7bd2',
950: '#000000',
},
}SCSS
$custom: #ec7bd2; $custom-light: #f4a5e0; $custom-dark: #000000;
JSON
{
"hex": "#ec7bd2",
"rgb": {
"r": 236,
"g": 123,
"b": 210
},
"hsl": {
"h": 313.805,
"s": 74.834,
"l": 70.392
},
"oklch": {
"l": 0.73779,
"c": 0.17265,
"h": 336.6
},
"luminance": 0.36652
}Semantic roles & 50–950 ramp
primary
#EC7BD2
secondary
#D2F1D9
accent
#D73D0F
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#170F15
muted
#857F83