#EC6862#EC6862

#EC6862 is a light, vivid red. Relative luminance 0.286; OKLCH L 67.8% C 0.165 H 25.0°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#EC6862
RGBrgb(236, 104, 98)
HSLhsl(3, 78%, 65%)
HSVhsv(3, 58%, 93%)
CMYKcmyk(0%, 55.9%, 58.5%, 7.5%)
CIE-LABlab(60.45, 50.58, 28.79)
CIE-LCHlch(60.45, 58.20, 29.65°)
OKLaboklab(67.84% 0.1493 0.0698)
OKLCHoklch(67.84% 0.165 25)
XYZxyz(41.7506, 28.6205, 14.8786)
Luminance0.2862 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC6862 #62E6EC
analogous
#EC62A1 #EC6862 #ECAD62
triadic
#EC6862 #62EC68 #6862EC
tetradic
#EC6862 #A1EC62 #62E6EC #AD62EC
square
#EC6862 #A1EC62 #62E6EC #AD62EC
split-complementary
#EC6862 #62ECAD #62A1EC
monochromatic
#BD1E17 #E5332B #EC6862 #F39D99 #F9D1CF

Accessibility & contrast

On white

3.12
#EC6862 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#EC6862 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC6862
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC6862#FFFFFF#000000##000000
##EC68621.003.126.726.72
#FFFFFF3.121.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#898061
Deuteranopia (green-blind)
#AA9C5F
Tritanopia (blue-blind)
#FF5067
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ec6862;
/* rgb */ color: rgb(236, 104, 98);
/* oklch */ color: oklch(67.8% 0.165 25.0);
Tailwind
colors: {
  custom: {
    50: '#f8978e',
    500: '#ec6862',
    950: '#000000',
  },
}
SCSS
$custom: #ec6862;
$custom-light: #f8978e;
$custom-dark: #000000;
JSON
{
  "hex": "#ec6862",
  "rgb": {
    "r": 236,
    "g": 104,
    "b": 98
  },
  "hsl": {
    "h": 2.609,
    "s": 78.409,
    "l": 65.49
  },
  "oklch": {
    "l": 0.67837,
    "c": 0.16482,
    "h": 25
  },
  "luminance": 0.28615
}

Semantic roles & 50–950 ramp

primary
#EC6862
secondary
#BEEAEC
accent
#D2DB0B
background
#FFF9F8
surface
#FFF2F0
border
#D7CCCB
text
#180E0C
muted
#867E7D

Preview Lab

Preview with #EC6862

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

Preview Lab → · Contrast checker → · Palette generator →

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