#EC6CA2#EC6CA2

#EC6CA2 is a light, vivid pink. Relative luminance 0.312; OKLCH L 70.0% C 0.167 H 355.8°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#EC6CA2
RGBrgb(236, 108, 162)
HSLhsl(335, 77%, 67%)
HSVhsv(335, 54%, 93%)
CMYKcmyk(0%, 54.2%, 31.4%, 7.5%)
CIE-LABlab(62.65, 54.90, -4.89)
CIE-LCHlch(62.65, 55.12, 354.91°)
OKLaboklab(69.98% 0.1668 -0.0122)
OKLCHoklch(69.98% 0.167 355.8)
XYZxyz(46.4783, 31.1711, 37.7443)
Luminance0.3117 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC6CA2 #6CECB6
analogous
#EC6CE2 #EC6CA2 #EC766C
triadic
#EC6CA2 #A2EC6C #6CA2EC
tetradic
#EC6CA2 #E2EC6C #6CECB6 #766CEC
square
#EC6CA2 #E2EC6C #6CECB6 #766CEC
split-complementary
#EC6CA2 #6CEC76 #6CE2EC
monochromatic
#C41961 #E53680 #EC6CA2 #F3A2C4 #FAD8E7

Accessibility & contrast

On white

2.90
#EC6CA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#EC6CA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC6CA2
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC6CA2#FFFFFF#000000##000000
##EC6CA21.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F89A4
Deuteranopia (green-blind)
#A1A09F
Tritanopia (blue-blind)
#FC6480
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ec6ca2;
/* rgb */ color: rgb(236, 108, 162);
/* oklch */ color: oklch(70.0% 0.167 355.8);
Tailwind
colors: {
  custom: {
    50: '#f69bbd',
    500: '#ec6ca2',
    950: '#000000',
  },
}
SCSS
$custom: #ec6ca2;
$custom-light: #f69bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#ec6ca2",
  "rgb": {
    "r": 236,
    "g": 108,
    "b": 162
  },
  "hsl": {
    "h": 334.688,
    "s": 77.108,
    "l": 67.451
  },
  "oklch": {
    "l": 0.69984,
    "c": 0.16727,
    "h": 355.8
  },
  "luminance": 0.31167
}

Semantic roles & 50–950 ramp

primary
#EC6CA2
secondary
#C6EEDD
accent
#D9830C
background
#FFF9FB
surface
#FFF2F6
border
#D7CCD0
text
#180E12
muted
#867E81

Preview Lab

Preview with #EC6CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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