#EC71CB#EC71CB

#EC71CB is a light, vivid pink. Relative luminance 0.340; OKLCH L 72.1% C 0.183 H 338.7°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#EC71CB
RGBrgb(236, 113, 203)
HSLhsl(316, 76%, 68%)
HSVhsv(316, 52%, 93%)
CMYKcmyk(0%, 52.1%, 14%, 7.5%)
CIE-LABlab(64.93, 58.20, -24.75)
CIE-LCHlch(64.93, 63.24, 336.97°)
OKLaboklab(72.14% 0.1709 -0.0665)
OKLCHoklch(72.14% 0.183 338.7)
XYZxyz(51.2773, 33.9588, 60.3423)
Luminance0.3396 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC71CB #71EC92
analogous
#D071EC #EC71CB #EC718D
triadic
#EC71CB #CBEC71 #71CBEC
tetradic
#EC71CB #ECD071 #71EC92 #718DEC
square
#EC71CB #ECD071 #71EC92 #718DEC
split-complementary
#EC71CB #8DEC71 #71ECD0
monochromatic
#C81B99 #E53BB7 #EC71CB #F3A7DF #FADDF3

Accessibility & contrast

On white

2.70
#EC71CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#EC71CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC71CB
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC71CB#FFFFFF#000000##000000
##EC71CB1.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7591CE
Deuteranopia (green-blind)
#98A5C8
Tritanopia (blue-blind)
#F77495
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ec71cb;
/* rgb */ color: rgb(236, 113, 203);
/* oklch */ color: oklch(72.1% 0.183 338.7);
Tailwind
colors: {
  custom: {
    50: '#f59edb',
    500: '#ec71cb',
    950: '#000000',
  },
}
SCSS
$custom: #ec71cb;
$custom-light: #f59edb;
$custom-dark: #000000;
JSON
{
  "hex": "#ec71cb",
  "rgb": {
    "r": 236,
    "g": 113,
    "b": 203
  },
  "hsl": {
    "h": 316.098,
    "s": 76.398,
    "l": 68.431
  },
  "oklch": {
    "l": 0.72139,
    "c": 0.18339,
    "h": 338.7
  },
  "luminance": 0.33955
}

Semantic roles & 50–950 ramp

primary
#EC71CB
secondary
#CAEFD4
accent
#D9440D
background
#FFFAFD
surface
#FFF3FB
border
#D7CDD4
text
#170F15
muted
#857F83

Preview Lab

Preview with #EC71CB

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

Preview Lab → · Contrast checker → · Palette generator →

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