#EC6D97#EC6D97

#EC6D97 is a light, vivid pink. Relative luminance 0.310; OKLCH L 69.8% C 0.162 H 1.4°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#EC6D97
RGBrgb(236, 109, 151)
HSLhsl(340, 77%, 68%)
HSVhsv(340, 54%, 93%)
CMYKcmyk(0%, 53.8%, 36%, 7.5%)
CIE-LABlab(62.52, 53.13, 1.23)
CIE-LCHlch(62.52, 53.15, 1.32°)
OKLaboklab(69.78% 0.1617 0.0039)
OKLCHoklch(69.78% 0.162 1.4)
XYZxyz(45.6491, 31.0091, 32.8534)
Luminance0.3100 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC6D97 #6DECC2
analogous
#EC6DD7 #EC6D97 #EC826D
triadic
#EC6D97 #97EC6D #6D97EC
tetradic
#EC6D97 #D7EC6D #6DECC2 #826DEC
square
#EC6D97 #D7EC6D #6DECC2 #826DEC
split-complementary
#EC6D97 #6DEC82 #6DD7EC
monochromatic
#C51A52 #E53770 #EC6D97 #F3A3BE #FAD9E4

Accessibility & contrast

On white

2.92
#EC6D97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#EC6D97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC6D97
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC6D97#FFFFFF#000000##000000
##EC6D971.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#838898
Deuteranopia (green-blind)
#A4A094
Tritanopia (blue-blind)
#FD627D
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ec6d97;
/* rgb */ color: rgb(236, 109, 151);
/* oklch */ color: oklch(69.8% 0.162 1.4);
Tailwind
colors: {
  custom: {
    50: '#f69bb5',
    500: '#ec6d97',
    950: '#000000',
  },
}
SCSS
$custom: #ec6d97;
$custom-light: #f69bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#ec6d97",
  "rgb": {
    "r": 236,
    "g": 109,
    "b": 151
  },
  "hsl": {
    "h": 340.157,
    "s": 76.97,
    "l": 67.647
  },
  "oklch": {
    "l": 0.69779,
    "c": 0.16179,
    "h": 1.4
  },
  "luminance": 0.31005
}

Semantic roles & 50–950 ramp

primary
#EC6D97
secondary
#C7EEE1
accent
#D9950C
background
#FFF9FB
surface
#FFF2F6
border
#D7CCD0
text
#180E11
muted
#867E80

Preview Lab

Preview with #EC6D97

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

Preview Lab → · Contrast checker → · Palette generator →

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