#EC7D98#EC7D98

#EC7D98 is a light, vivid red. Relative luminance 0.348; OKLCH L 72.1% C 0.139 H 5.7°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#EC7D98
RGBrgb(236, 125, 152)
HSLhsl(345, 74%, 71%)
HSVhsv(345, 47%, 93%)
CMYKcmyk(0%, 47%, 35.6%, 7.5%)
CIE-LABlab(65.57, 45.45, 5.08)
CIE-LCHlch(65.57, 45.74, 6.38°)
OKLaboklab(72.09% 0.138 0.0137)
OKLCHoklch(72.09% 0.139 5.7)
XYZxyz(47.5955, 34.7714, 33.9046)
Luminance0.3477 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7D98 #7DECD1
analogous
#EC7DD0 #EC7D98 #EC997D
triadic
#EC7D98 #98EC7D #7D98EC
tetradic
#EC7D98 #D0EC7D #7DECD1 #997DEC
square
#EC7D98 #D0EC7D #7DECD1 #997DEC
split-complementary
#EC7D98 #7DEC99 #7DD0EC
monochromatic
#D01E4A #E4486E #EC7D98 #F4B2C2 #FBE4EA

Accessibility & contrast

On white

2.64
#EC7D98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#EC7D98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7D98
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7D98#FFFFFF#000000##000000
##EC7D981.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#909299
Deuteranopia (green-blind)
#ACA796
Tritanopia (blue-blind)
#FD7387
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #ec7d98;
/* rgb */ color: rgb(236, 125, 152);
/* oklch */ color: oklch(72.1% 0.139 5.7);
Tailwind
colors: {
  custom: {
    50: '#f5a5b6',
    500: '#ec7d98',
    950: '#000000',
  },
}
SCSS
$custom: #ec7d98;
$custom-light: #f5a5b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7d98",
  "rgb": {
    "r": 236,
    "g": 125,
    "b": 152
  },
  "hsl": {
    "h": 345.405,
    "s": 74.497,
    "l": 70.784
  },
  "oklch": {
    "l": 0.72089,
    "c": 0.13869,
    "h": 5.7
  },
  "luminance": 0.34767
}

Semantic roles & 50–950 ramp

primary
#EC7D98
secondary
#D3F1EA
accent
#D7A60F
background
#FFFAFB
surface
#FFF4F6
border
#D7CED0
text
#170F11
muted
#857F80

Preview Lab

Preview with #EC7D98

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

Preview Lab → · Contrast checker → · Palette generator →

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