#EC787C#EC787C

#EC787C is a light, vivid red. Relative luminance 0.327; OKLCH L 70.6% C 0.143 H 19.3°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#EC787C
RGBrgb(236, 120, 124)
HSLhsl(358, 75%, 70%)
HSVhsv(358, 49%, 93%)
CMYKcmyk(0%, 49.2%, 47.5%, 7.5%)
CIE-LABlab(63.94, 44.99, 18.69)
CIE-LCHlch(63.94, 48.72, 22.56°)
OKLaboklab(70.64% 0.1352 0.0473)
OKLCHoklch(70.64% 0.143 19.3)
XYZxyz(44.9497, 32.7258, 23.0144)
Luminance0.3272 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC787C #78ECE8
analogous
#EC78B6 #EC787C #ECAE78
triadic
#EC787C #7CEC78 #787CEC
tetradic
#EC787C #B6EC78 #78ECE8 #AE78EC
square
#EC787C #B6EC78 #78ECE8 #AE78EC
split-complementary
#EC787C #78ECAE #78B6EC
monochromatic
#CD1D23 #E44248 #EC787C #F4AEB0 #FBE3E4

Accessibility & contrast

On white

2.78
#EC787C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#EC787C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC787C
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC787C#FFFFFF#000000##000000
##EC787C1.002.787.547.54
#FFFFFF2.781.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#918C7B
Deuteranopia (green-blind)
#AEA47A
Tritanopia (blue-blind)
#FF687A
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ec787c;
/* rgb */ color: rgb(236, 120, 124);
/* oklch */ color: oklch(70.6% 0.143 19.3);
Tailwind
colors: {
  custom: {
    50: '#f6a1a1',
    500: '#ec787c',
    950: '#000000',
  },
}
SCSS
$custom: #ec787c;
$custom-light: #f6a1a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ec787c",
  "rgb": {
    "r": 236,
    "g": 120,
    "b": 124
  },
  "hsl": {
    "h": 357.931,
    "s": 75.325,
    "l": 69.804
  },
  "oklch": {
    "l": 0.7064,
    "c": 0.14324,
    "h": 19.3
  },
  "luminance": 0.32721
}

Semantic roles & 50–950 ramp

primary
#EC787C
secondary
#D0F0EF
accent
#D7D10E
background
#FFFAF9
surface
#FFF4F2
border
#D7CECC
text
#180F0F
muted
#867F7E

Preview Lab

Preview with #EC787C

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

Preview Lab → · Contrast checker → · Palette generator →

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