#EC8CA3#EC8CA3

#EC8CA3 is a light, moderate red. Relative luminance 0.392; OKLCH L 74.7% C 0.119 H 4.9°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#EC8CA3
RGBrgb(236, 140, 163)
HSLhsl(346, 72%, 74%)
HSVhsv(346, 41%, 93%)
CMYKcmyk(0%, 40.7%, 30.9%, 7.5%)
CIE-LABlab(68.92, 39.14, 3.71)
CIE-LCHlch(68.92, 39.32, 5.42°)
OKLaboklab(74.73% 0.1186 0.0102)
OKLCHoklch(74.73% 0.119 4.9)
XYZxyz(50.5828, 39.2373, 39.5527)
Luminance0.3923 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8CA3 #8CECD5
analogous
#EC8CD3 #EC8CA3 #ECA58C
triadic
#EC8CA3 #A3EC8C #8CA3EC
tetradic
#EC8CA3 #D3EC8C #8CECD5 #A58CEC
square
#EC8CA3 #D3EC8C #8CECD5 #A58CEC
split-complementary
#EC8CA3 #8CECA5 #8CD3EC
monochromatic
#DA244F #E35779 #EC8CA3 #F5C1CD #FBE5EA

Accessibility & contrast

On white

2.37
#EC8CA3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.85
#EC8CA3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8CA3
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8CA3#FFFFFF#000000##000000
##EC8CA31.002.378.858.85
#FFFFFF2.371.0021.0021.00
#0000008.8521.001.001.00
##0000008.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B9DA4
Deuteranopia (green-blind)
#B3AFA1
Tritanopia (blue-blind)
#FB8494
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #ec8ca3;
/* rgb */ color: rgb(236, 140, 163);
/* oklch */ color: oklch(74.7% 0.119 4.9);
Tailwind
colors: {
  custom: {
    50: '#f4afbe',
    500: '#ec8ca3',
    950: '#000000',
  },
}
SCSS
$custom: #ec8ca3;
$custom-light: #f4afbe;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8ca3",
  "rgb": {
    "r": 236,
    "g": 140,
    "b": 163
  },
  "hsl": {
    "h": 345.625,
    "s": 71.642,
    "l": 73.725
  },
  "oklch": {
    "l": 0.74726,
    "c": 0.11906,
    "h": 4.9
  },
  "luminance": 0.39233
}

Semantic roles & 50–950 ramp

primary
#EC8CA3
secondary
#D9F2EC
accent
#D4A512
background
#FFFAFB
surface
#FFF5F6
border
#D7CFD0
text
#171012
muted
#857F81

Preview Lab

Preview with #EC8CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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