#EC6786#EC6786

#EC6786 is a light, vivid red. Relative luminance 0.293; OKLCH L 68.5% C 0.166 H 8.1°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#EC6786
RGBrgb(236, 103, 134)
HSLhsl(346, 78%, 66%)
HSVhsv(346, 56%, 93%)
CMYKcmyk(0%, 56.4%, 43.2%, 7.5%)
CIE-LABlab(61.01, 54.11, 8.87)
CIE-LCHlch(61.01, 54.83, 9.30°)
OKLaboklab(68.5% 0.1644 0.0233)
OKLCHoklch(68.5% 0.166 8.1)
XYZxyz(43.7483, 29.2595, 25.8934)
Luminance0.2925 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC6786 #67ECCD
analogous
#EC67C9 #EC6786 #EC8B67
triadic
#EC6786 #86EC67 #6786EC
tetradic
#EC6786 #C9EC67 #67ECCD #8B67EC
square
#EC6786 #C9EC67 #67ECCD #8B67EC
split-complementary
#EC6786 #67EC8B #67C9EC
monochromatic
#C1183F #E5315B #EC6786 #F39DB1 #FAD4DD

Accessibility & contrast

On white

3.07
#EC6786 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.85
#EC6786 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC6786
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC6786#FFFFFF#000000##000000
##EC67861.003.076.856.85
#FFFFFF3.071.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#828387
Deuteranopia (green-blind)
#A49D83
Tritanopia (blue-blind)
#FF5773
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ec6786;
/* rgb */ color: rgb(236, 103, 134);
/* oklch */ color: oklch(68.5% 0.166 8.1);
Tailwind
colors: {
  custom: {
    50: '#f797a9',
    500: '#ec6786',
    950: '#000000',
  },
}
SCSS
$custom: #ec6786;
$custom-light: #f797a9;
$custom-dark: #000000;
JSON
{
  "hex": "#ec6786",
  "rgb": {
    "r": 236,
    "g": 103,
    "b": 134
  },
  "hsl": {
    "h": 346.015,
    "s": 77.778,
    "l": 66.471
  },
  "oklch": {
    "l": 0.68504,
    "c": 0.16608,
    "h": 8.1
  },
  "luminance": 0.29255
}

Semantic roles & 50–950 ramp

primary
#EC6786
secondary
#C2EDE3
accent
#DAAA0B
background
#FFF9FA
surface
#FFF2F4
border
#D7CCCE
text
#180E0F
muted
#867E7F

Preview Lab

Preview with #EC6786

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

Preview Lab → · Contrast checker → · Palette generator →

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