#EC787D#EC787D

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

Color values

HEX#EC787D
RGBrgb(236, 120, 125)
HSLhsl(357, 75%, 70%)
HSVhsv(357, 49%, 93%)
CMYKcmyk(0%, 49.2%, 47%, 7.5%)
CIE-LABlab(63.96, 45.09, 18.15)
CIE-LCHlch(63.96, 48.60, 21.93°)
OKLaboklab(70.66% 0.1356 0.046)
OKLCHoklch(70.66% 0.143 18.7)
XYZxyz(45.0132, 32.7512, 23.3491)
Luminance0.3275 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC787D #78ECE7
analogous
#EC78B7 #EC787D #ECAD78
triadic
#EC787D #7DEC78 #787DEC
tetradic
#EC787D #B7EC78 #78ECE7 #AD78EC
square
#EC787D #B7EC78 #78ECE7 #AD78EC
split-complementary
#EC787D #78ECAD #78B7EC
monochromatic
#CD1D24 #E44249 #EC787D #F4AEB1 #FBE3E4

Accessibility & contrast

On white

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

On black

7.55
#EC787D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC787D
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC787D#FFFFFF#000000##000000
##EC787D1.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ec787d;
/* rgb */ color: rgb(236, 120, 125);
/* oklch */ color: oklch(70.7% 0.143 18.7);
Tailwind
colors: {
  custom: {
    50: '#f6a1a2',
    500: '#ec787d',
    950: '#000000',
  },
}
SCSS
$custom: #ec787d;
$custom-light: #f6a1a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ec787d",
  "rgb": {
    "r": 236,
    "g": 120,
    "b": 125
  },
  "hsl": {
    "h": 357.414,
    "s": 75.325,
    "l": 69.804
  },
  "oklch": {
    "l": 0.70663,
    "c": 0.14318,
    "h": 18.7
  },
  "luminance": 0.32746
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC787D

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

Preview Lab → · Contrast checker → · Palette generator →

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