#EC7862#EC7862

#EC7862 is a light, vivid red. Relative luminance 0.321; OKLCH L 70.1% C 0.148 H 32.1°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#EC7862
RGBrgb(236, 120, 98)
HSLhsl(10, 78%, 65%)
HSVhsv(10, 58%, 93%)
CMYKcmyk(0%, 49.2%, 58.5%, 7.5%)
CIE-LABlab(63.47, 42.83, 32.66)
CIE-LCHlch(63.47, 53.86, 37.33°)
OKLaboklab(70.13% 0.1252 0.0786)
OKLCHoklch(70.13% 0.148 32.1)
XYZxyz(43.5167, 32.1526, 15.4673)
Luminance0.3215 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7862 #62D6EC
analogous
#EC6291 #EC7862 #ECBD62
triadic
#EC7862 #62EC78 #7862EC
tetradic
#EC7862 #91EC62 #62D6EC #BD62EC
square
#EC7862 #91EC62 #62D6EC #BD62EC
split-complementary
#EC7862 #62ECBD #6291EC
monochromatic
#BD3117 #E5492B #EC7862 #F3A799 #F9D6CF

Accessibility & contrast

On white

2.83
#EC7862 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#EC7862 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7862
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7862#FFFFFF#000000##000000
##EC78621.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ec7862;
/* rgb */ color: rgb(236, 120, 98);
/* oklch */ color: oklch(70.1% 0.148 32.1);
Tailwind
colors: {
  custom: {
    50: '#f7a18f',
    500: '#ec7862',
    950: '#000000',
  },
}
SCSS
$custom: #ec7862;
$custom-light: #f7a18f;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7862",
  "rgb": {
    "r": 236,
    "g": 120,
    "b": 98
  },
  "hsl": {
    "h": 9.565,
    "s": 78.409,
    "l": 65.49
  },
  "oklch": {
    "l": 0.70131,
    "c": 0.14782,
    "h": 32.1
  },
  "luminance": 0.32148
}

Semantic roles & 50–950 ramp

primary
#EC7862
secondary
#BEE5EC
accent
#BADB0B
background
#FFFAF8
surface
#FFF4F0
border
#D7CECB
text
#180F0C
muted
#867F7D

Preview Lab

Preview with #EC7862

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

Preview Lab → · Contrast checker → · Palette generator →

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