#EC6662#EC6662

#EC6662 is a light, vivid red. Relative luminance 0.282; OKLCH L 67.6% C 0.167 H 24.3°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#EC6662
RGBrgb(236, 102, 98)
HSLhsl(2, 78%, 65%)
HSVhsv(2, 58%, 93%)
CMYKcmyk(0%, 56.8%, 58.5%, 7.5%)
CIE-LABlab(60.09, 51.51, 28.33)
CIE-LCHlch(60.09, 58.78, 28.81°)
OKLaboklab(67.57% 0.1522 0.0687)
OKLCHoklch(67.57% 0.167 24.3)
XYZxyz(41.5517, 28.2226, 14.8123)
Luminance0.2822 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC6662 #62E8EC
analogous
#EC62A3 #EC6662 #ECAB62
triadic
#EC6662 #62EC66 #6662EC
tetradic
#EC6662 #A3EC62 #62E8EC #AB62EC
square
#EC6662 #A3EC62 #62E8EC #AB62EC
split-complementary
#EC6662 #62ECAB #62A3EC
monochromatic
#BD1C17 #E5312B #EC6662 #F39B99 #F9D0CF

Accessibility & contrast

On white

3.16
#EC6662 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#EC6662 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC6662
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC6662#FFFFFF#000000##000000
##EC66621.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#877F61
Deuteranopia (green-blind)
#A99B5F
Tritanopia (blue-blind)
#FF4E66
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ec6662;
/* rgb */ color: rgb(236, 102, 98);
/* oklch */ color: oklch(67.6% 0.167 24.3);
Tailwind
colors: {
  custom: {
    50: '#f8968e',
    500: '#ec6662',
    950: '#000000',
  },
}
SCSS
$custom: #ec6662;
$custom-light: #f8968e;
$custom-dark: #000000;
JSON
{
  "hex": "#ec6662",
  "rgb": {
    "r": 236,
    "g": 102,
    "b": 98
  },
  "hsl": {
    "h": 1.739,
    "s": 78.409,
    "l": 65.49
  },
  "oklch": {
    "l": 0.67569,
    "c": 0.16703,
    "h": 24.3
  },
  "luminance": 0.28217
}

Semantic roles & 50–950 ramp

primary
#EC6662
secondary
#BEEBEC
accent
#D5DB0B
background
#FFF9F8
surface
#FFF2F0
border
#D7CCCB
text
#180E0C
muted
#867E7D

Preview Lab

Preview with #EC6662

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

Preview Lab → · Contrast checker → · Palette generator →

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