#EC6D98#EC6D98

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

Color values

HEX#EC6D98
RGBrgb(236, 109, 152)
HSLhsl(340, 77%, 68%)
HSVhsv(340, 54%, 93%)
CMYKcmyk(0%, 53.8%, 35.6%, 7.5%)
CIE-LABlab(62.54, 53.25, 0.69)
CIE-LCHlch(62.54, 53.25, 0.75°)
OKLaboklab(69.81% 0.1621 0.0025)
OKLCHoklch(69.81% 0.162 0.9)
XYZxyz(45.7306, 31.0417, 33.2830)
Luminance0.3104 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC6D98 #6DECC1
analogous
#EC6DD8 #EC6D98 #EC816D
triadic
#EC6D98 #98EC6D #6D98EC
tetradic
#EC6D98 #D8EC6D #6DECC1 #816DEC
square
#EC6D98 #D8EC6D #6DECC1 #816DEC
split-complementary
#EC6D98 #6DEC81 #6DD8EC
monochromatic
#C51A54 #E53772 #EC6D98 #F3A3BE #FAD9E4

Accessibility & contrast

On white

2.91
#EC6D98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#EC6D98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC6D98
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC6D98#FFFFFF#000000##000000
##EC6D981.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ec6d98;
/* rgb */ color: rgb(236, 109, 152);
/* oklch */ color: oklch(69.8% 0.162 0.9);
Tailwind
colors: {
  custom: {
    50: '#f69bb6',
    500: '#ec6d98',
    950: '#000000',
  },
}
SCSS
$custom: #ec6d98;
$custom-light: #f69bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#ec6d98",
  "rgb": {
    "r": 236,
    "g": 109,
    "b": 152
  },
  "hsl": {
    "h": 339.685,
    "s": 76.97,
    "l": 67.647
  },
  "oklch": {
    "l": 0.69808,
    "c": 0.1621,
    "h": 0.9
  },
  "luminance": 0.31037
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC6D98

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

Preview Lab → · Contrast checker → · Palette generator →

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