#EC7098#EC7098

#EC7098 is a light, vivid pink. Relative luminance 0.317; OKLCH L 70.2% C 0.158 H 1.6°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#EC7098
RGBrgb(236, 112, 152)
HSLhsl(341, 77%, 68%)
HSVhsv(341, 53%, 93%)
CMYKcmyk(0%, 52.5%, 35.6%, 7.5%)
CIE-LABlab(63.09, 51.83, 1.49)
CIE-LCHlch(63.09, 51.85, 1.64°)
OKLaboklab(70.22% 0.1577 0.0045)
OKLCHoklch(70.22% 0.158 1.6)
XYZxyz(46.0561, 31.6928, 33.3915)
Luminance0.3169 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7098 #70ECC4
analogous
#EC70D6 #EC7098 #EC8670
triadic
#EC7098 #98EC70 #7098EC
tetradic
#EC7098 #D6EC70 #70ECC4 #8670EC
square
#EC7098 #D6EC70 #70ECC4 #8670EC
split-complementary
#EC7098 #70EC86 #70D6EC
monochromatic
#C71A52 #E53A71 #EC7098 #F3A6BF #FADCE6

Accessibility & contrast

On white

2.86
#EC7098 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#EC7098 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7098
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7098#FFFFFF#000000##000000
##EC70981.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#858A99
Deuteranopia (green-blind)
#A5A195
Tritanopia (blue-blind)
#FD657F
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ec7098;
/* rgb */ color: rgb(236, 112, 152);
/* oklch */ color: oklch(70.2% 0.158 1.6);
Tailwind
colors: {
  custom: {
    50: '#f69db6',
    500: '#ec7098',
    950: '#000000',
  },
}
SCSS
$custom: #ec7098;
$custom-light: #f69db6;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7098",
  "rgb": {
    "r": 236,
    "g": 112,
    "b": 152
  },
  "hsl": {
    "h": 340.645,
    "s": 76.543,
    "l": 68.235
  },
  "oklch": {
    "l": 0.70217,
    "c": 0.15774,
    "h": 1.6
  },
  "luminance": 0.31688
}

Semantic roles & 50–950 ramp

primary
#EC7098
secondary
#C9EFE3
accent
#D9970D
background
#FFF9FB
surface
#FFF2F6
border
#D7CCD0
text
#180F11
muted
#867E80

Preview Lab

Preview with #EC7098

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

Preview Lab → · Contrast checker → · Palette generator →

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