#EC7864#EC7864

#EC7864 is a light, vivid red. Relative luminance 0.322; OKLCH L 70.2% C 0.147 H 31.2°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#EC7864
RGBrgb(236, 120, 100)
HSLhsl(9, 78%, 66%)
HSVhsv(9, 58%, 93%)
CMYKcmyk(0%, 49.2%, 57.6%, 7.5%)
CIE-LABlab(63.50, 42.98, 31.59)
CIE-LCHlch(63.50, 53.34, 36.32°)
OKLaboklab(70.17% 0.126 0.0763)
OKLCHoklch(70.17% 0.147 31.2)
XYZxyz(43.6123, 32.1908, 15.9709)
Luminance0.3219 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7864 #64D8EC
analogous
#EC6494 #EC7864 #ECBC64
triadic
#EC7864 #64EC78 #7864EC
tetradic
#EC7864 #94EC64 #64D8EC #BC64EC
square
#EC7864 #94EC64 #64D8EC #BC64EC
split-complementary
#EC7864 #64ECBC #6494EC
monochromatic
#BE3017 #E5492D #EC7864 #F3A79B #F9D7D1

Accessibility & contrast

On white

2.82
#EC7864 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#EC7864 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7864
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7864#FFFFFF#000000##000000
##EC78641.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#958B62
Deuteranopia (green-blind)
#B1A362
Tritanopia (blue-blind)
#FF6473
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ec7864;
/* rgb */ color: rgb(236, 120, 100);
/* oklch */ color: oklch(70.2% 0.147 31.2);
Tailwind
colors: {
  custom: {
    50: '#f7a190',
    500: '#ec7864',
    950: '#000000',
  },
}
SCSS
$custom: #ec7864;
$custom-light: #f7a190;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7864",
  "rgb": {
    "r": 236,
    "g": 120,
    "b": 100
  },
  "hsl": {
    "h": 8.824,
    "s": 78.161,
    "l": 65.882
  },
  "oklch": {
    "l": 0.70165,
    "c": 0.14728,
    "h": 31.2
  },
  "luminance": 0.32186
}

Semantic roles & 50–950 ramp

primary
#EC7864
secondary
#BFE6EC
accent
#BCDA0B
background
#FFFAF8
surface
#FFF4F0
border
#D7CECB
text
#180F0C
muted
#867F7D

Preview Lab

Preview with #EC7864

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

Preview Lab → · Contrast checker → · Palette generator →

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