#EC548F#EC548F
#EC548F is a light, vivid pink. Relative luminance 0.262; OKLCH L 66.5% C 0.193 H 359.9°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).
Color values
| HEX | #EC548F |
|---|---|
| RGB | rgb(236, 84, 143) |
| HSL | hsl(337, 80%, 63%) |
| HSV | hsv(337, 64%, 93%) |
| CMYK | cmyk(0%, 64.4%, 39.4%, 7.5%) |
| CIE-LAB | lab(58.19, 63.23, -0.44) |
| CIE-LCH | lch(58.19, 63.23, 359.60°) |
| OKLab | oklab(66.48% 0.1934 -0.0004) |
| OKLCH | oklch(66.48% 0.193 359.9) |
| XYZ | xyz(42.7231, 26.1617, 28.7811) |
| Luminance | 0.2616 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Medium Pink
#F36196
ΔE00 3.01
Blush
#DE5D83
ΔE00 3.76
Strawberry
#FC5A8D
ΔE00 4.17
Barbie Pink
#FE46A5
ΔE00 5.06
Darkish Pink
#DA467D
ΔE00 5.29
Palevioletred
#DB7093
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EC548F #54ECB1
analogous
#EC54DB #EC548F #EC6554
triadic
#EC548F #8FEC54 #548FEC
tetradic
#EC548F #DBEC54 #54ECB1 #6554EC
square
#EC548F #DBEC54 #54ECB1 #6554EC
split-complementary
#EC548F #54EC65 #54DBEC
monochromatic
#B21451 #E61D6B #EC548F #F28BB3 #F8C2D7
Accessibility & contrast
On white
3.37
#EC548F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.23
#EC548F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #EC548F
6.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EC548F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EC548F | 1.00 | 3.37 | 6.23 | 6.23 |
| #FFFFFF | 3.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#717A91
Deuteranopia (green-blind)
#9A978B
Tritanopia (blue-blind)
#FF446C
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #ec548f; /* rgb */ color: rgb(236, 84, 143); /* oklch */ color: oklch(66.5% 0.193 359.9);
Tailwind
colors: {
custom: {
50: '#f78daf',
500: '#ec548f',
950: '#000000',
},
}SCSS
$custom: #ec548f; $custom-light: #f78daf; $custom-dark: #000000;
JSON
{
"hex": "#ec548f",
"rgb": {
"r": 236,
"g": 84,
"b": 143
},
"hsl": {
"h": 336.711,
"s": 80,
"l": 62.745
},
"oklch": {
"l": 0.66479,
"c": 0.19338,
"h": 359.9
},
"luminance": 0.26157
}Semantic roles & 50–950 ramp
primary
#EC548F
secondary
#B2E9D4
accent
#DC8A09
background
#FFF9FA
surface
#FFF1F4
border
#D7CBCE
text
#180D10
muted
#867E7F