#EC6987#EC6987

#EC6987 is a light, vivid red. Relative luminance 0.297; OKLCH L 68.8% C 0.164 H 8.1°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#EC6987
RGBrgb(236, 105, 135)
HSLhsl(346, 78%, 67%)
HSVhsv(346, 56%, 93%)
CMYKcmyk(0%, 55.5%, 42.8%, 7.5%)
CIE-LABlab(61.39, 53.29, 8.82)
CIE-LCHlch(61.39, 54.01, 9.40°)
OKLaboklab(68.8% 0.1619 0.0232)
OKLCHoklch(68.8% 0.164 8.1)
XYZxyz(44.0197, 29.6901, 26.3295)
Luminance0.2969 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC6987 #69ECCE
analogous
#EC69C8 #EC6987 #EC8D69
triadic
#EC6987 #87EC69 #6987EC
tetradic
#EC6987 #C8EC69 #69ECCE #8D69EC
square
#EC6987 #C8EC69 #69ECCE #8D69EC
split-complementary
#EC6987 #69EC8D #69C8EC
monochromatic
#C2193F #E5335C #EC6987 #F39FB2 #FAD6DE

Accessibility & contrast

On white

3.03
#EC6987 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#EC6987 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC6987
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC6987#FFFFFF#000000##000000
##EC69871.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#838488
Deuteranopia (green-blind)
#A59E84
Tritanopia (blue-blind)
#FF5A74
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ec6987;
/* rgb */ color: rgb(236, 105, 135);
/* oklch */ color: oklch(68.8% 0.164 8.1);
Tailwind
colors: {
  custom: {
    50: '#f698a9',
    500: '#ec6987',
    950: '#000000',
  },
}
SCSS
$custom: #ec6987;
$custom-light: #f698a9;
$custom-dark: #000000;
JSON
{
  "hex": "#ec6987",
  "rgb": {
    "r": 236,
    "g": 105,
    "b": 135
  },
  "hsl": {
    "h": 346.26,
    "s": 77.515,
    "l": 66.863
  },
  "oklch": {
    "l": 0.68795,
    "c": 0.16355,
    "h": 8.1
  },
  "luminance": 0.29685
}

Semantic roles & 50–950 ramp

primary
#EC6987
secondary
#C3EDE4
accent
#DAAB0C
background
#FFF9FA
surface
#FFF2F4
border
#D7CCCE
text
#180E0F
muted
#867E7F

Preview Lab

Preview with #EC6987

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

Preview Lab → · Contrast checker → · Palette generator →

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