#EC71BA#EC71BA

#EC71BA is a light, vivid pink. Relative luminance 0.332; OKLCH L 71.5% C 0.172 H 345.7°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#EC71BA
RGBrgb(236, 113, 186)
HSLhsl(324, 76%, 68%)
HSVhsv(324, 52%, 93%)
CMYKcmyk(0%, 52.1%, 21.2%, 7.5%)
CIE-LABlab(64.32, 55.71, -16.08)
CIE-LCHlch(64.32, 57.99, 343.90°)
OKLaboklab(71.48% 0.1667 -0.0425)
OKLCHoklch(71.48% 0.172 345.7)
XYZxyz(49.3614, 33.1924, 50.2519)
Luminance0.3319 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC71BA #71ECA3
analogous
#E071EC #EC71BA #EC717C
triadic
#EC71BA #BAEC71 #71BAEC
tetradic
#EC71BA #ECE071 #71ECA3 #717CEC
square
#EC71BA #ECE071 #71ECA3 #717CEC
split-complementary
#EC71BA #7CEC71 #71ECE0
monochromatic
#C81B81 #E53BA0 #EC71BA #F3A7D4 #FADDEE

Accessibility & contrast

On white

2.75
#EC71BA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#EC71BA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC71BA
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC71BA#FFFFFF#000000##000000
##EC71BA1.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C8FBC
Deuteranopia (green-blind)
#9DA4B7
Tritanopia (blue-blind)
#FA6F8D
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ec71ba;
/* rgb */ color: rgb(236, 113, 186);
/* oklch */ color: oklch(71.5% 0.172 345.7);
Tailwind
colors: {
  custom: {
    50: '#f59ece',
    500: '#ec71ba',
    950: '#000000',
  },
}
SCSS
$custom: #ec71ba;
$custom-light: #f59ece;
$custom-dark: #000000;
JSON
{
  "hex": "#ec71ba",
  "rgb": {
    "r": 236,
    "g": 113,
    "b": 186
  },
  "hsl": {
    "h": 324.39,
    "s": 76.398,
    "l": 68.431
  },
  "oklch": {
    "l": 0.71481,
    "c": 0.17204,
    "h": 345.7
  },
  "luminance": 0.33188
}

Semantic roles & 50–950 ramp

primary
#EC71BA
secondary
#CAEFD9
accent
#D9600D
background
#FFFAFC
surface
#FFF3F9
border
#D7CDD2
text
#170F13
muted
#857F82

Preview Lab

Preview with #EC71BA

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

Preview Lab → · Contrast checker → · Palette generator →

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